Sofar API
Search…
Map Tiles

For mapping applications, Sofar Ocean provides a map tile server that returns a raster tile with visual representations of select variables. The raster tile PNG images returned by this endpoint can be used to visualize a digital slippy map using third party mapping libraries. For example, libraries such as Leaflet.js or Mapbox.js.
More information on the specific tile format and the slippy map specification can be found on the Open Street Map wiki.

get
https://api.sofarocean.com
/marine-weather/v1/models/:model/tile/:zoom/:x/:y.png
Retrieve a map tile representation of weather data

The Map Tiles endpoint supports raster tile requests for the following variables:
Wave Model
Coral Health Model
  • significantWaveHeight
  • meanPeriod
  • peakPeriod
  • significantWaveHeightWindWaves
  • peakPeriodWindWaves
  • significantWaveHeightFirstSwell
  • peakPeriodFirstSwell
  • significantWaveHeightSecondSwell
  • peakPeriodSecondSwell
  • significantWaveHeightThirdSwell
  • peakPeriodThirdSwell
  • degreeHeathingWeek
  • analysedSeaSurfaceTemperature

Name
Preview Scale
thermal
velocity
jet
turbo
ylGnBu
glOrRd
density

Valid examples and their corresponding responses are available on the Map Tiles examples page.
Copy link
On this page
Overview
Endpoint
get
Retrieve a map tile representation of weather data
Additional Information
Examples