Originally Posted by Gringoqueto
We are beginning preparations for a multi year cruise
through the South Pacific
and will be creating a blog for our stuck-at-home friends. I'd like to be able to use our AIS transponder to track our position in the blog (even better to show our track). Anyone know how to do this? I found a snippet from marinetraffic.com which works except that when the vessel being tracked moves out of the area shown, the chart doesn't update to the new position. Any help or advice on installing a tracking feature in our blog would be much appreciated!
I've got the following code to display the marinetraffic.com chart on my website:
width=600; //the width of the embedded map in pixels or percentage
height=400; //the width of the embedded map in pixels or percentage
border=1; //the width of border around the map. Zero means no border
notation=false; //true or false to display or not the vessel icons and options at the left
latitude=40.0000; //the latitude of the center of the map in decimal degrees
longitude=-124.0000; //the longitude of the center of the map in decimal degrees
zoom=4; //the zoom level of the map. Use values between 2 and 17
trackvessel=366881180; //the MMSI of the vessel to track, if within the range of the system
Note the "trackvessel=366881180" option. This is VALIS' MMSI, and the displayed chart centers on VALIS if our signal is being received by the marinetraffic.com network. I just tested this by plugging in the MMSI for a ship in Norway
, and my chart initially opened up showing San Francisco
(the latitude and longitude parameters), but as soon as the specified MMSI was received the chart re-centered over Norway
Unfortunately, there just aren't many networked AIS receivers in the South Pacific islands. South America
has a few receivers, and New Zealand
have a bunch, but most of the ocean is not covered.
If you report in via yotreps, or the Pacific Seafarer's Net (ham), you will show up on several position-reporting websites. You can report your position via ham radio
voice, winlink ham email
, marine SSB email
), satphone email, etc. You can embed a chart from yotreps.com (YOTREPS Offshore Reports
) on your website. Also look at ShipTrak v3.0
too. There may be a way to embed this on your webpage as well.
There are commercial
position-reporting services as well, mostly using satphone email (Global Marine Networks ~ Satellite Communications & Data Solutions
). This is more expensive than I would prefer though.
 Here is a link that jumps to the yotreps tracker, primed with a callsign: http://www.pangolin.co.nz/yotreps/tr...4646%20&show=1
Test it here: http://www.pangolin.co.nz/yotreps/tr...4646%20&show=1