AISHub - AIS data sharing and ship tracking, AIS tracking services

  • Increase font size
  • Default font size
  • Decrease font size

xmlAISHub members are allowed to download all vessels data in XML format. XML interface is better choice if the data will be stored in SQL database, published on web site etc.

NOTE : Don't access the webservice more frequently than once per minute! The web service will return nothing if it is executed more frequently!

To download XML file use the following URL format:

http://data.aishub.net/xml.php?username=XXXXXXXX&arch=Y&human=Z

Parameters:
1) XXXXXXXX is your VT Explorer username. (all members receive VT Explorer user name after creation of their AISHub account)
2) Y - compression type (optional)
0 - no compression (default), 1 - ZIP compression, 2 - BZIP compression
3) Z - data format
0 - AIS format (default), 1 - human readable format

Examples:
1) Z=0 (AIS format)
vessel MMSI="235085131"  TIME="1302264927"  LONGITUDE="-818067"  LATITUDE="30453520"  COG="2351"  SOG="59"  HEADING="511"  NAVSTAT="0"  PAC="0"  ROT="0"  IMO="0"  NAME="ZAC V"  CALLSIGN="ZIYX3"  TYPE="36"  DEVICE="0"  A="8"  B="4"  C="2"  D="2"  DRAUGHT="0"  DEST=""  ETA=""  AISVER="0"

2) Z=1 (human readable format)
vessel MMSI="413811000"  TIME="2011-04-12 10:40:27 GMT"  LONGITUDE="118.44586666667"  LATITUDE="38.874833333333"  COG="356"  SOG="0.1"  HEADING="116"  NAVSTAT="1"  IMO="9118824"  NAME="JIN HAI XIANG"  CALLSIGN="BVKU"  TYPE="70"  A="197"  B="27"  C="20"  D="12"  DRAUGHT="7.5"  DEST="CAOFEIDIAN"  ETA="04-10 07:00"

Explanation of data values:

MMSI Maritime Mobile Service Identity

TIME - data timestamp
AIS format - unix timestamp
Human readable format - UTC


LONGITUDE
- geographical longitude
AIS format - in 1/10000 minute i.e. degrees multiplied by 600000
Human readable format - degrees

LATITUDE - geographical latitude
AIS format - in 1/10000 minute i.e. degrees multiplied by 600000
Human readable format - degrees

COG - Course Over Ground
AIS format - in 1/10 degrees i.e. degrees multiplied by 10. COG=3600 means "not available"
Human readable format - degrees. COG=360.0 means "not available"

SOG - Speed Over Ground
AIS format - in 1/10 knots i.e. knots multiplied by 10. SOG=1024 means "not available"
Human readable format - knots. SOG=102.4 means "not available"

HEADING - current heading of the AIS vessel at the time of the last message
value in degrees, HEADING=511 means "not available"

PAC (AIS format only) - Position Accuracy
0 - low accuracy
1 - high accuracy

ROT (AIS format only) - Rate of Turn

NAVSTAT - Navigational Status

IMOIMO ship identification number

NAME - vessel's name (max.20 chars)

CALLSIGN - vessel's callsign

TYPE - vessel's type (more details here)

DEVICE - positioning device type (more details here)

ADimension to Bow (meters)

BDimension to Stern (meters)

C
Dimension to Port (meters)

D
Dimension to Starboard (meters)

DRAUGHT
AIS format - in 1/10 meters i.e. draught multiplied by 10.
Human readable format - meters

DEST - vessel's destination 

ETA - estimated time of arrival
AIS format (see here).
Human readable format - UTC date/time


Google+