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.

Please note there are several flags to influence avoidance of rules, obstructions, ignoring all kinds of situations.

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

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 api subdomain here).

parameterdescriptionvaluesdefault value
versionAPI version1 
extoutput formatJSON: for B2B applications, apps and web sites

GPX: for output used for plotters and in-dash applications

KML: for Google Earth

PNG: for publications

SVG: for inclusion into other artwork

HTML: for printing purposes
 –
challengingindicates whether the route allows very tight passes, narrow creeks or shallow ditches and other challenging situations0=safe route
1=accept 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
up to via100
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
ignorespeedlimitignores speed limits and uses given or assumed nominal vessel speed0=respect
1=ignore
0
ignoredepthignores depth (use only in rare cases when depth is assumed wrong)0=respect
1=ignore
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