EMODnet Bathymetry OWS services

Available data layers

Mean depths full coverage

Average depths rendered in atlas style

Layer name: mean_atlas_land

Available as

Mean depths rainbow colour

Average depths rendered in rainbow colour

Layer name: mean_rainbowcolour

Available as

Mean depths multi colour

Average depths rendered in multi colour

Layer name: mean_multicolour

Available as

Source references

Origin of source data

Layer name: source_references

Available as

Contours

Depth contours

Layer name: contours

Available as

Product tiles

Layer name: products

Available as

OGC Services

EMODnet Bathymetry data can be used by accessing her OGC compliant web services. Currently, the following services are available:

To use EMODnet Bathymetry data in an external application connect to the one of the available service urls. Connection should work in browser clients as OpenLayer or leaflet.

Example Openlayers WMS layer [run example]

var layer = new ol.layer.Image({
		extent: [-36, 25, 43, 85],
		source : new ol.source.ImageWMS({
		url : 'http://ows.emodnet-bathymetry.eu/wms',
		// refer to the section layer name to find the name of the layer 
		params : {'LAYERS': 'mean_atlas_land'}			
	})
}); 

var map = new ol.Map({
	layers: [ layer ],
	target: 'map',
	controls: ol.control.defaults(),
	view: new ol.View({	
		projection: 'EPSG:4326',
		center: [5, 47],
		zoom: 5
	})	
});	
Example Openlayers WMTS layer [run example]

var inspireWgs84Grid = function(levels, prefix) {
	var projection = ol.proj.get('EPSG:4326');

	var projectionExtent = projection.getExtent();
	var resolution = ol.extent.getWidth(projectionExtent) / 512;
	
	var resolutions = new Array(levels);
	var matrixIds = new Array(levels);
	
	for (var z = 0; z < levels; z++) {
		resolutions[z] = resolution / Math.pow(2, z);
		matrixIds[z] = z;
	}
	
	return new ol.tilegrid.WMTS({
		origin: ol.extent.getTopLeft(projectionExtent),
		resolutions: resolutions,
		matrixIds: matrixIds
	});				
}

var layer = new ol.layer.Tile({
	extent: [-36, 25, 43, 85],
	source : new ol.source.WMTS({
		url : 'http://ows.emodnet-bathymetry.eu/tiles/v8/{Layer}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png',
		layer : 'mean_rainbowcolour',
		requestEncoding : 'REST',
		matrixSet : 'inspire_quad',
		format : 'image/png',
		projection : "EPGS:4326",
		tileGrid : inspireWgs84Grid(12, '')
	})
});

var map = new ol.Map({
	layers: [ layer ],
	target: 'map',
	controls: ol.control.defaults(),
	view: new ol.View({	
		projection: 'EPSG:4326',
		center: [5, 47],
		zoom: 5
	})	
});
Example Openlayers WFS layer [run example]

var layer = new ol.layer.Image({
		extent: [-36, 25, 43, 85],
		source : new ol.source.ImageWMS({
		url : 'http://ows.emodnet-bathymetry.eu/wms',
		// refer to the section layer name to
		// find the name of the layer 
		params : {'LAYERS': 'mean_atlas_land'}			
	})
}); 

var source = new ol.source.Vector({
	format: new ol.format.GeoJSON(),
    url: function(extent) {
    	return 'http://ows.emodnet-bathymetry.eu/wfs?service=WFS&' +
              'version=1.1.0&request=GetFeature' +
              // layer name comes here
              // refer to available layers to pick a layer
              '&typename=products&' + 
              'outputFormat=application/json&srsname=EPSG:4326&' +
              'bbox=' + extent.join(',') + ',EPSG:4326';
        },
        strategy: ol.loadingstrategy.bbox
      });


var layer = new ol.layer.Vector({
	source: source,
    style: new ol.style.Style({
    	stroke: new ol.style.Stroke({
        color: 'rgba(0, 0, 255, 1.0)',
        	width: 2
        })
    })
});


var map = new ol.Map({
	layers: [ layer ],
	target: 'map',
	controls: ol.control.defaults(),
	view: new ol.View({	
		projection: 'EPSG:4326',
		center: [5, 47],
		zoom: 5
	})	
});	

REST service

For retrieving depth samples, a rest service is available

This rest service has two operations:

  • point
  • profile
Sample REST point request

GET /depth/point?geom=POINT(-9.7998046875 36.14501953125) HTTP/1.1
Host: rest.emodnet-bathymetry.eu
Content-Type: application/json; charset=utf-8

Sample REST point response

{
  "min" :4147.0,
  "max": 4152.0,
  "avg": 4149.6,
  "stdev": 1.72,
  "elementarySurfaces": 10.0,
  "smoothed": 4148.91,
  "smoothedOffset": 0.6899414
}
 


Sample REST profile request

GET /depth/profile?geom=LINESTRING(-7.7783203125 49.02099609375,-9.9755859375 46.42822265625) HTTP/1.1
Host: rest.emodnet-bathymetry.eu
Content-Type: application/json; charset=utf-8

Sample REST profile response

[
   141.0,   143.0,   152.0,   153.4,   157.0,
   162.0,   163.0,   164.4,   171.0,   174.0,
   176.4,   176.0,   178.4,   176.0,   171.0,
   179.0,   179.0,   337.4,   631.0,   647.0,   
   1565.0,   1618.0,   2011.0,   2665.0,   2549.4,
   3348.0,   3966.4,   3507.4,   3046.0,   2724.0,
   3383.4,   4288.0,   4359.0,   4502.0,   4492.0,
   4497.0,   4490.4,   4495.4,   4480.0,   4393.0,
   4339.4,   4273.4,   4167.4,   4657.0,   4668.0,
   4662.4,   4684.4,   4690.4,   4701.0,   4727.0,
   4743.4
]