REFMAR and data.shom.fr staff are available to help you make the switch and answer all your questions.
Any application for registration or account changes are no longer taken into account.
XML file format for REFMAR tide gauge data available on http://data.shom.fr
XML is one of the 3 REFMAR tidal data dissemination formats available on data.shom.fr. This format is based on GML. Geography Markup Language (GML) is an XML-derived language for encoding, manipulating and exchanging geographic data. It is a standard developed by the Open Geospatial Consortium to ensure data interoperability in the field of geographic information and geomatics. The XML file is made up of two series of blocks: <gml:boundedBy> and <om:member>.
<gml:boundedBy>:
This block provides the coordinates of the tidal observatory for which the sea level measurements are being downloaded.
<gml:boundedBy> <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>50.72738 1.57766</gml:lowerCorner> <gml:upperCorner>50.72738 1.57766</gml:upperCorner> </gml:Envelope> </gml:boundedBy> |
<om:member>:
The rest of the file consists of <om:member> blocks. These blocks provide the water level data with a date/time – height pair per block.
The main information is:
- <gml:timePosition>2015-01-15T13:34:17.000Z</gml:timePosition> : providing the date and time of measurement
The format étant [year]-[month]-[day]T[hour]:[minutes]:[seconds][time system]
The time system is shown here with a letter corresponding to the time zone (Z: Zulu = UTC)
The tide gauge used is Toulon (identifier 68)
- <om:result uom="m">5.69</om:result> that provides the water height in meters
<om:member> <om:Measurement gml:id="o_1422525328219"> <om:samplingTime> <gml:TimeInstant gml:id="phenomenonTime_187"> <gml:timePosition>2015-01-15T13:34:17.000Z</gml:timePosition> </gml:TimeInstant> </om:samplingTime> <om:resultTime xlink:href="#phenomenonTime_187"/> <om:procedure xlink:href="http://shom.fr/maregraphie/procedure/68"/> <om:observedProperty xlink:href="http://shom.fr/maregraphie/observedProperty/WaterHeight/1"/> <om:featureOfInterest> <sa:SamplingPoint gml:id="sf_4A577B6E15ED117A19DA671B743D7D43561B1D43"> <gml:name codeSpace="http://www.opengis.net/def/nil/OGC/0/unknown">http://shom.fr/maregraphie/featureOfInterest/111</gml:name> <gml:name codeSpace="http://www.opengis.net/def/nil/OGC/0/unknown">http://shom.fr/maregraphie/featureOfInterest/111</gml:name> <sa:sampledFeature xlink:href="urn:ogc:def:nil:OGC:unknown"/> <sa:position> <gml:Point gml:id="point_sf_4A577B6E15ED117A19DA671B743D7D43561B1D43"> <gml:pos srsName="EPSG:4326">50.72738 1.57766</gml:pos> </gml:Point> </sa:position> </sa:SamplingPoint> </om:featureOfInterest> <om:result uom="m">4.86</om:result> </om:Measurement> |
ISO Metadata and cataloging
The platform data.shom.fr has implemented this standard to "easily" meet the INSPIRE requirements for tidal observation data. Likewise, the architecture of data.shom.fr complies with the Directive regarding cataloguing and displaying ISO metadata.
Dissemination of tidal data in XML or JSON formats
To familiarize you with future tide gauge data formats, we are providing an example of a download using the SOS format: Downloads.zip
REFMAR and data.shom.fr personnel are available to help you make the switch and answer all your questions.
References
- Directive Inspire et annexes
- Open Geospatial Consortium (OGC)
- SOS standard
- SOS implementation
- ISO metadata - national guidelines and recommendations
To find to more
- REFMAR tide gauge data available on http://data.shom.fr
- Information about REFMAR data producer partners
- SML file format accompanying each data file
last updated: 2015 06 01