MarinePlan Boat Routing API

The MarinePlan boat routing API will compute a number of routes based on the given input. The routing engine is aware of one-way entries, blocked entries, blocked entries for motorized traffic, blocked entries for recreation ships, bridge and ship lock dimensions and opening hours, canal and lake depth, river current speed, maximum speeds, ship dimensions and many other properties. It will compute routing instructions as well as distance, estimated time of arrival (ETA) and the expected fuel or battery consumption.

In addition, it will report which license is required such as Klein Vaarbewijs (KVB) and which local legislation applies such as RPR and BPR. The engine is able to avoid these areas when the captain does not meet these requirements.

The output can be in different formats:

  • JSON (standard for computer-to-computer traffic)
  • GPX (ideal exchange format for GPS and chart plotters)
  • KML (good match for overlaying on a Google Map)
  • PNG (best for sharing in social media, on websites)
  • SVG (best vector format for using in presentations and artwork)

API

The API will use http(s)://api.marineplan.com as the base path. For emergencies, there is a fallback to http(s)://marineplan.net (please note: no subdomain).

parameterdescriptionvaluesdefault value
versionAPI version1 
extoutput formatJSON
GPX
KML
PNG
SVG
 –
challengingindicates whether the route allows very tight passes and other challenging situations0=safe route
1=challenging
1
fromdeparture coordinate as WGS84 latitude,longitudelatitude:-90..90
longitude: -180..180
todestination coordinate as WGS84 latitude,longitudelatitude:-90..90
longitude: -180..180
via1
via2
etc.
via point coordinate as WGS84 latitude,longitudelatitude:-90..90 longitude: -180..180empty
vesselvessel type6=canoe
5=open boat/sloop
4=cabin cruiser (small yacht)
3=bigger yacht
2=cargo ship
 
attractive
deprecated
forces routing through attractive areas0=regular
1=attractive
0
avoidbridgesindicates to what extend closed bridges are avoided0=not
1..4=moderate
5=harshly avoided
0
departuretimestamp or departuredate / departuretimedeparture date and timedeparture timestamp as seconds since 01-01-1970 UTC

departuredate as local date EST yyyy-MM-dd

departuretime as local time EST HH:mm
now
useoperatingtimesrespect operating times of bridges and locks in the Netherlands0=ignore
1=respect
0
avoidopenwaterindicates to what extend big lakes and sea is avoided0=not
1..4=moderate
5=harshly avoided
0
avoidlocksindicates to what extend ship locks are avoided0=not
1..4=moderate
5=harshly avoided
0
avoidbigcanalsindicates to what extend big canals are avoided0=not
1..4=moderate
5=harshly avoided
0
avoidrulesindicates which areas with a certain legislation are avoidedcomma-separated list of:

rpr (Rijnvaart Politiereglement, NL)

tz (Scheepvaartreglement Ter Zee)

tss (Traffic Separation Scheme)

kvb2 (Klein Vaarbewijs II, NL)

kgt (Kanaal Gent-Terneuzen, NL)

ed (Eems-Dollard, NL)

ws (Westerschelde, NL)

bvsp (Rijnpatent)

gm (Grensmaas, NL)

sea (effectively avoids all sea waters)
alternativesnumber of alternative routes1..50
widthship beam (width) in meters1..30depends on vessel type
weightship weight in kilograms1..100,000depends on vessel type
depthship draft (depth) in meters0.1..20depends on vessel type
lengthship length in meters1..300depends on vessel type
minheightminimum height of ship (mast down) in meters (air draught)0.2..60depends on vessel type
maxheightminimum height of ship (mast up) in meters (air draught)0.2..60depends on vessel type
maxspeedmaximum speed in km/h1..90depends on vessel type
nominalspeedcruising speed in km/h1..90depends on vessel type
consumptionperhourconsumption per hour at nominal speedliter/hour (fueltype=LIQUID) or Watt (fueltype=ELECTRIC)0
fueltypeengine fuel type for consumption calculationNONE
ELECTRIC
LIQUID
NONE
ignoreblocksindicates whether legally closed waterways should be ignored0=respect
1=ignore
0
avoidobstructionsindicates whether  officially announced obstructions should be avoided0=ignore
1=respect
0
ignoreengineindicates whether “no access with engine on”  should be ignored0=respect
1=ignore
0
ignoreonewayindicates whether one-way limitations should be ignored0=respect
1=ignore
0
ignorenosportsindicates whether limitations for recreation should be ignored0=respect
1=ignore
0
ignoreonlysportsindicates whether limitations for professional transport should be ignored0=respect
1=ignore
0
languageoutput languageEN
DE
FR
DA
IT
PT
ES
FY
SV
NL
EN
allowMastDownindicates whether you are willing to lower the mast
(only effective when minheight != maxheight)
0=mast stays up
1=mast goes down if needed
0
includesindicates items that should be in the responsecomma-separated list of: parameters (repetition of the input parameters)summary (route summary with e.g. length, ETA)nodes (geo-points as a polyline)arcs (vectors with meta information)guidance (detailed instructions)stops (passes that possibly force to vessel to stop, such as bridges and locks)parameters, summary, nodes, arcs, stops
keyAPI secret key, to be requested from MarinePlan UUID– 

Translate page