Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

Guide: OBSP-MOBILE (MOBILE)

Source docs/guides/mobile.md

On this page
  1. Who it is for
  2. Functions and objects
  3. Try the draft (step by step)
  4. What the live tree supports, and what only a draft proposes
  5. Self-test and what the result means
  6. Common errors
  7. Open questions the proposal records

Proposed in OIP-0013 (DRAFT). This profile is not part of specification 0.1. Nothing below is in the live tree: the schemas, fixtures, cases, example set and requirement ids exist only in the patches of OIP-0013, which the editors have not accepted. They can change before acceptance. It requires OIP-0006 (a draft: deploymentRef, platformRef and the subject class rule for PERSONS); the patches here do not depend on OIP-0006’s files, because the new objects reach other objects by UNI. In the draft its section is 7.4, or 7.3 if it is accepted before OIP-0012.

Who it is for

Operators of things that move while they observe: profiling floats and drifters, research and merchant vessels, aircraft with automated reports, survey drones, vehicles, high-altitude platforms, spacecraft, and people carrying instruments. A fixed station’s position is in its manifest; a moving platform’s position is part of the value, so every record made on one needs a trajectory that covers it, with plausible speeds, well-formed public identifiers and a privacy class that fits.

Functions and objects

Function Specification What the participant does Objects
describe 5.3 states the platform’s kind and public identifiers; names the trajectory’s platform, CRS, vertical datum and positioning source platform (new), trajectory (new)
time 5.4 points in strictly increasing time inside the trajectory’s period trajectory
observe 5.5 every record on a non-fixed platform lies within a trajectory segment; person-carried positions are PERSONS observation-record (live; deploymentRef from OIP-0006)
qualify 5.6 no leg and no reported speed exceeds the platform’s maximum trajectory

Requirements MOB-1 to MOB-6 and cases CT-MOBILE-001 to CT-MOBILE-006: platform kind and identifiers (001), trajectory names its platform, CRS and datum (002), time order (003), record inside a segment (004), speed plausibility (005), subject class for person-carried positions and identified vehicles (006). Platform kinds and their maximum speeds are a table in the draft’s section 7.4: FIXED 0.1 m/s, MOBILE_GROUND 100, AIRBORNE 350, VESSEL 30, FLOAT 3, SPACECRAFT 12000, HAPS 60, PERSON_CARRIED 12. These are plausibility bounds chosen so a correct track never fails, not performance figures.

Try the draft (step by step)

The live tree is never edited by a proposal. Apply the draft’s patches to a throwaway copy of the tree, in the order of the table in the draft’s README.md, from the repository root of your checkout (set up as in start here):

OIPS=$PWD/oips/drafts/OIP-0013/patches
git worktree add --detach ../obsp-oip-0013 HEAD && cd ../obsp-oip-0013
for p in spec registers schemas-fixtures cases-invariants crosswalks; do git apply "$OIPS/$p.patch"; done
export PYTHONPATH=sdk/python/src
python3 -m obsp validate fixtures/negative/platform.imo-not-seven-digits.json            # exit status 1
python3 -m obsp validate fixtures/negative/trajectory.one-point.json                     # exit status 1
python3 -m obsp conformance run --profile OBSP-MOBILE --evidence conformance/examples/OBSP-MOBILE --out /dev/null

The last command lists CT-MOBILE-001 to CT-MOBILE-006 and ends OBSP-MOBILE: PASS (4/4 requirements) on the draft’s example set, which has four platforms with their trajectories: an Argo float, a research vessel tracked by AIS, a survey drone and an aircraft. Then:

  1. Describe the platform. A platform states platformKind and, where it has them, public identifiers by scheme, each well formed and each allowed for the kind: MMSI, ICAO24, IMO (with its check digit), WMO_FLOAT, COSPAR, NORAD. One identifier per scheme. A declared maximum speed above the kind’s needs a justification reference. Negative fixtures: platform.mmsi-not-nine-digits.json, ...icao24-not-hex.json, ...imo-not-seven-digits.json, ...unknown-scheme.json, ...zero-max-speed.json.
  2. Record the trajectory. A trajectory names its platform by UNI and the digest of the platform document (obsp digest), a geographic CRS by OGC definition URI with longitude and latitude named per point, the vertical datum of any height, and the positioning source. It carries at least two points, or one coverage reference to a long track by URI and digest (trajectory.one-point.json, ...no-points-no-coverage.json, ...coverage-without-digest.json).
  3. Keep time monotone. Points are in strictly increasing time with an offset (trajectory.point-time-without-offset.json) and inside a period that ends after it starts.
  4. Cover every record. An observation whose deployment names a non-fixed platform lies within a trajectory whose period, and first and last points, cover its phenomenon time.
  5. Check speed. The speed implied by consecutive points, less their position uncertainties, and every reported speed stay under the kind’s maximum. Distances are great-circle on the mean Earth sphere, scaled to the points’ mean height.
  6. Protect people. Positions of a PERSON_CARRIED platform are subject class PERSONS with a policy URI; positions under MMSI, ICAO24 or IMO are OBJECTS or higher (platform.person-carried-not-persons.json, ...persons-without-policy.json).
  7. Run the suite on your evidence (next section). The patched copy also carries two crosswalks, crosswalks/cf-trajectory.yaml and crosswalks/moving-features.yaml, which map trajectory fields to CF discrete-sampling-geometry and OGC Moving Features terms; their rows say whether each source was opened, and the guide does not repeat them.

When you are done, leave the throwaway copy: cd - && git worktree remove --force ../obsp-oip-0013.

What the live tree supports, and what only a draft proposes

Topic Live in 0.1 Only in a draft
Static position and deployment in node manifests and sensor passports yes (mounting, height, location)
deploymentRef and platformRef, subject class PERSONS rule no OIP-0006
platform, trajectory, MOB-1 to MOB-6, the profile, six cases, six invariants (platform-external-ids, trajectory-links-platform, trajectory-time-ordered, trajectory-speed-plausible, mobile-observation-located, trajectory-subject-class) no OIP-0013
Relations to CF conventions, OGC Moving Features and public platform identifiers no OIP-0013 (EXT-CF, EXT-OGCMF, EXT-PLATFORMIDS)
Spacecraft orbits as records no OIP-0010, see the CONSTELLATION guide

Self-test and what the result means

python3 -m obsp conformance run --profile OBSP-MOBILE --evidence ./evidence --out report.json
python3 -m unittest tests.test_validate -k draft_patches      # in the live tree: the draft's patches still apply
make check                                                    # in the patched copy

Four requirements are covered. The suite checks that your documents are well formed, linked and plausible; it does not check that the track is the real path of the platform.

What a SELF_TESTED result means. For a live profile it means the open suite ran on evidence you publish and anyone can reproduce the report (CNF-3); it is never a certification, accreditation or endorsement. For this draft profile it means less: the profile id is not in the conformance-claim enumerations of 0.1, so no claim can name it, and no report, listing or product text may say you conform to it. A run against the patched copy is a rehearsal of the proposed suite on your evidence. If the editors accept the proposal, the same evidence can then support a DECLARED or SELF_TESTED claim under the rules of the conformance guide, with the level bounded by that evidence. A trajectory states positions, not that they are correct, and a plausibility bound is not a performance statement.

Common errors

What you see Cause Fix
CT-MOBILE-001 fails (platform-external-ids) an identifier scheme not allowed for the kind, two identifiers of one scheme, a bad IMO check digit, or a maximum above the kind’s without maxSpeedRef correct the identifiers; justify a higher maximum
CT-MOBILE-002 fails (trajectory-links-platform) platformRef names no platform in the set, or its digest does not match recompute the platform’s digest with obsp digest
CT-MOBILE-003 fails (trajectory-time-ordered) points not strictly increasing, outside the period, or a period that ends before it starts sort and trim; use RFC 3339 with offsets
CT-MOBILE-004 fails (mobile-observation-located) a record on a moving platform with no trajectory covering its time add or extend the trajectory
CT-MOBILE-005 fails (trajectory-speed-plausible) a leg or a reported speed above the kind’s maximum fix a wrong point; or choose the right kind
CT-MOBILE-006 fails (trajectory-subject-class) person-carried positions not PERSONS, or no policy URI set the class and the policy
lat-out-of-range, lon-out-of-range, heading-out-of-range, negative-speed fixtures in fixtures/negative/trajectory.*.json of the patched copy the schema bounds each member

Open questions the proposal records

  • Whether the observation record should carry a direct trajectoryRef (additive on top of OIP-0006).
  • The speed maxima are the proposal’s own plausibility bounds, not taken from a standard (12 m/s for a person-carried device, 3 m/s for a float): are they right, or should person-carried devices declare their maximum?
  • The identifier formats (MMSI, ICAO 24-bit address, IMO number, Argo WMO number, COSPAR designator, catalogue numbers) are cited from memory and not checked.
  • The CF and OGC Moving Features crosswalk editions and clause numbers were not opened.
  • Whether a trajectory should accept projected or Earth-centred frames, and whether interpolated positions (a float under water) should be flagged per point.