Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Both Services and Layers can be searched by temporal and geographical extent. It's also possible to search in service and layer metadata. Have a look at the models section. Please see also API for interface details.

...

All metadata fields can be accessed queried in

...

"field

...

<operator>

...

value

...

syntax" syntax. Supported operators are listed in following table. For details see https://github.com/jirutka/rsql-parser.Supported operators are


OperatorExampleComment
LogicalAND, OR
Semicolon ; can be used as shorthand AND. Comma can be used as shorthand OR.
Equal to==

https://marine-data.de/servcat/rest/layers?search=title==*temperature*

https://marine-data.de/servcat/rest/layers?search=parent_name=="Maximum Shear Stress"

Compares the whole field value. Use *value* to find value anywhere in the field.
Not equal to!=https://marine-data.de/servcat/rest/layers?search=title!=*temperature*
Less than<https://marine-data.de/servcat/rest/layers?search=date_time_start<2020-01-01T00:00:00
Less than or equal to<=

Greater than>https://marine-data.de/servcat/rest/layers?search=date_time_start>2020-01-01T00:00:00
Greater than or equal to>=

In=in=https://marine-data.de/servcat/rest/layers?search=service.provider.acronym=in=(AWI,HZG)&limit=100Compares any value (e.g. AWI and HZG) in brackets with field values.
Not in=out=

Contains=contains=https://marine-data.de/servcat/rest/layers?search=available_crs=contains=(EPSG:3857)Compares a model array field or geometries.

...