HIPS and SIPS : HIPS and SIPS Basics : Working with Projects : HIPS File references
 

HIPS File references

A*.hips file is now referenced as a Uniform Resource Identifier (URI), a string of characters used to identify a resource.

URIs are constructed automatically in the HIPS and SIPS GUI and indicate the location of certain files, for example, in the URI field in the Properties for a surface, and in the Source and Path fields in the Lineage of a surface.

They are also used in the CARIS Batch Utility, where the URI is

modelled as a database query

Query begins with ‘?”

Parameters separated with “;”

Statements separated with “&”

Supports wild card “*”

Below are some examples on how to use a HIPS file URI.

file:///C:/hips/myproject.hips

Retrieves all lines from this project

file:///C:/hips/myproject.hips?Vessel=Vessel_2017

Retrieves all lines from vessel named “Vessel_2017

file:///C:/hips/myproject.hips?Vessel=Vessel_2017;Day=*

Equivalent to the previous example

file:///C:/hips/myproject.hips?Vessel=*;Day=2016-001

Retrieves all lines from day 2016-001 from any vessel

file:///C:/hips/myproject.hips?Vessel=V1;Day=2016-001;Line=001_1&Vessel=V2;Day=2016-002;Line=01A_1

Retrieves line “001_1” from vessel “V1” and “01A_1” from vessel “V2”.

Also applies for retrieving two (or more) specific lines from one vessel.