Author Topic: XML Webservice Data - AIS Format  (Read 1468 times)

gavink

  • Seaman
  • *
  • Posts: 2
    • View Profile
XML Webservice Data - AIS Format
« on: 02 April, 2016, 11:00:40 pm »
I'm a bit puzzled.

For a project I'm looking at I download XML data using the webservice with the following parameters -

username=[Username]&format=0&output=xml&compress=0&latmin=50.54&latmax=50.93&lonmin=-1.62&lonmax=-0.79

and I get -

<?xml version="1.0" encoding="iso-8859-1"?>
<VESSELS ERROR="false" USERNAME="[Username]" LATITUDE_MIN="50.54" LATITUDE_MAX="50.93" LONGITUDE_MIN="-1.62" LONGITUDE_MAX="-0.79" FORMAT="AIS" RECORDS="108">
<vessel MMSI="235086327"  TIME="1459622629"  LONGITUDE="-659418"  LATITUDE="30506197"  COG="3427"  SOG="0"  HEADING="511"  NAVSTAT="0"  IMO="0"  NAME="PAW BUOY"  CALLSIGN="2EMG4"  TYPE="0"  A="0"  B="0"  C="0"  D="0"  DRAUGHT="0"  DEST=""  ETA="0" />
<vessel MMSI="235064777"  TIME="1459622509"  LONGITUDE="-666052"  LATITUDE="30477288"  COG="1965"  SOG="0"  HEADING="349"  NAVSTAT="5"  IMO="9490416"  NAME="WIGHT SUN"  CALLSIGN="2BBW9"  TYPE="60"  A="31"  B="31"  C="8"  D="8"  DRAUGHT="21"  DEST="PORTSMOUTH"  ETA="530752" />
<vessel MMSI="235078785"  TIME="1459622473"  LONGITUDE="-671236"  LATITUDE="30474420"  COG="143"  SOG="0"  HEADING="511"  NAVSTAT="0"  IMO="0"  NAME="SOLENT 1"  CALLSIGN="MAET9"  TYPE="36"  A="10"  B="0"  C="3"  D="3"  DRAUGHT="0"  DEST=""  ETA="" />
<vessel MMSI="247006000"  TIME="1459622509"  LONGITUDE="-631441"  LATITUDE="30425854"  COG="1889"  SOG="0"  HEADING="108"  NAVSTAT="1"  IMO="9010943"  NAME="SARAH WONSILD"  CALLSIGN="ICWE"  TYPE="80"  A="65"  B="25"  C="2"  D="12"  DRAUGHT="48"  DEST="FAWLEY"  ETA="264640" />
<vessel MMSI="235031617"  TIME="1459622682"  LONGITUDE="-697200"  LATITUDE="30453500"  COG="620"  SOG="107"  HEADING="63"  NAVSTAT="0"  IMO="8518546"  NAME="ST CECILIA"  CALLSIGN="MFJT9"  TYPE="60"  A="0"  B="77"  C="0"  D="17"  DRAUGHT="23"  DEST="PORTSMOUTH"  ETA="266240" />
...

I was expecting ROT and PAC to be present in the AIS format. Is there something incorrect in the parameters that I'm using?