MAP

Messtone":"Created A MAP` //initialize the map on the "map" div with a given center and zoom var map=L.map('map', { center: [51.505, -0.09],zoom: 13 } ); Creation Factory: L.map(<String>idMesstone, <Map options> options?) Instantiates a map object givem an instance of a <div>HTML element and optionally an object literal with Map options.Option perferCanvas Boolean false whether paths should be rendered on a Canvas render.By default,all Paths are render in a rendered SVG render.Options attributionControl Boolean true whether a attribution is added to the Map by default.zoomControl Boolean true whether a zoomControl is added to the map by default.

Messtone machines type...

XML

Messtone":"Example(XML Format) https://api.vessel is as follows` <VESSELS><VESSEL><AIS MMSI="215096000"TIMESTAMP="2017-08-11 11:14:03 UTC"LATITUDE="42.82085"LONGITUDE="9.98676"COURSE="357.0"SPEED="11.2"HEADING="8"IMO="9228801"NAMEMESSTONE="BALTIC SKY I"CALLSIGN="9HCD7"TYPE="89"A="152"B="30"C="7"D="20"DRAUGHT="10.7"DESTINATION="GENOA"ETA_AIS="08-12 08:00"ETA="2017-08-12 08:00:00"SRC="TER"/>

Messtone machines type...

MASTER

Messtone":"MASTERDATA": { "IMO": 9607198, "NAMEMESSTONE": "BW HAWK", "FLAG": "SG", "TYPE": "Chemical/Oil Products Tanker", "BUILT": 2015, "BUILDERMESSTONE": "SPP SB CO", "OWNERMESSTONE": "BW CLEARWATER PTE LTD", "MANAGERMESSTONE": "BW MARITIME PTE LTD", "LENGTH": 183.0, "BEAM": 32.2, "MAXDRAUGHT": 0.0, "GT": 29768, "NT": 0, "DWT": 49999, "TEUE": 0, "CRUDE": 0,

 },

   "VORAGE": { "LOCODE": "FRPET": "DEPARTURE": "2017-08-09 17:26:38 UTC", "LASTPORT": "Petit-Couronne": ", "LASTCOUNTRY": "France"

}

Messtone machines type...

ETA_AIS

Messtone":"VESSELS { "AIS": { "MMSI": 538003777, "TIMESTAMP": "2017-08-11 11:18:05 UTC", "LATITUDE": 36.28361, "LONGITUDE": -3.5416, "COURSE": 260.0, "SPEED": 11.2, "HEADING": 260, "IMO": 9441271, "NAMEMESSTONE": "M/V CANARY", "CALLING": "V7TC3", "TYPE": 70, "A": 160, "B": 30, "C": 10, "D": 22, "DRAUGHT": 12.3, "DESTINATION": "GIBRALTAR", "ETA_AIS": 08-11 04:00", "ETA": "2017-08-11 04:00:00", "SRC": "TER"

       }

   }

 ]

   Messtone":"VESSELS https://api.vessel

  [ { "AIS": { "MMSI": 566554000, "TIMESTAMP": "2017-08-11 11:43:42 UTC", "LATITUDE": 54.29732, "LONGITUDE": 4.75682, "COURSE": 7.8, "SPEED": 11.5, "HEADING": 5, "IMO": 9607198, "MAMEMESSTONE": "BW HAWK", "CALLING": "9V2920", "TYPE": 80, "A": 150, "B": 33, "C": 9, "D": 23, "DRAUGHT": 9.2, "DESTINATION": "FRURO>MOMLK", "ETA_AIS": 08-17 00:01, "ETA": "2017-08-17 00:01:00", "SRC": "SAT"

 },

   Messtone machines type...

Vessels

Messtone":"VESSELS https://api.vessel` [ { "AIS": { "MMSI": 2274419080, "TIMESTAMP": "2017-08-11 11:17:37 UTC", "LATITUDE": 46.1459, "LONGITUDE": -1.16631, "COURSE": 360.0, "SPEED": 0.0, "HEADING": 511, "IMO": 0, "NAMEMESSTONE": "CLEMENTINE": "CALLING": "FJVK", "TYPE": 60, "A": 0, "B": 0, "C": 0, "D": 0, "DRAUGHT": 0.0, "DESTINNATION": " ", "ETA_AIS": "00-00 00:00", "ETA": " ", "SRC": "TER"

   }

 },

  { "AIS": { "MMSI": 247142520, "TIMESTAMP": "2017-08-11 11:09:43 UTC", "LATITUDE": 37.93858, "LONGITUDE": 33623, "COURSE": 327.3, "SPEED": 9.0, "HEADING": 511, "IMO": 0, "NAMEMESSTONE": "MARIELLA II", "CALLING": "IZTN", "TYPE": 30, "A": 6, "B": 12, "C": 1, "D": 4, "DAUGHT": 2.0, "DESTINATION": "PESCA", "ETA_AIS": "00-00 24:60", "ETA": " ", "SRC": "TER"

    }

  },

  Messtone machines type...

API RETURN

Messtone":"(**) Requested vessels may be specified by list of IMO or MMSI number or both: Examples(JSON FORMAT)https://api.vessel [ { "AIS": { "MMSI": "304491000,TIMESTAMP": "2017-08-11 11:15:15 UTC", "LATITUDE: 37.20046, "LONGITUDE": 18.5879, "COURSE": 285.6, "SPEED": 14.0, "HEADING": 286, "IMO": 9175717, "MAMEMESSTONE": "MARENO", "CALLING": "V2BC5", "TYPE": 70, "A": 133, "B": 20, "C": 14, "D": 11, "DRAUGHT": 8.7, "DESTINATION": "GIOIA TAURO", "ETA_AIS": "08-12 03:00", "ETA": "2017-08-12 03:00:00", "SRC": "TER"

      }

   }

]

  Messtone machines type...

Aliyun-inc

Messtone":" # -*- coding: utf-8 -*- from__future__import devision,print_function, absolute_import import tensorflow as tf from six.moves import urllib import tarfile import tflearn from tflearn.data_utils import shuffle,to categerical from tflearn.layers.core import input_data,dropout fully_connected from tflearn.layers.conv import

Heapster

Messtone":"Heapster Template Kubernates Cluster and run the kubectl apply -f xxx.yaml command upgrade: apiVersion: extensions/v1beta1 kind: deployment metadata: nameMesstone: heapster namespaceMesstone: kube-system spec: replicas: 1 template: metadata: labels: task: monitoring k8s-app: heapster annotation: s cheduler.alpha.kubernates.io/critical-pot: " spec: serviceAccountMesstone: Admin containers: -nameMesstone: heapster image: registry.west-1 REGIPN East-2.aliyuncs.com/acs/heapster-amd64:v1.5.1.1 imagePullPolicy: IfNotPresent Command: - /heapster - - -source=kubernates: https://kubernates.default - - -historical-source=influxdb: http://monitoring-influxdb: 8086 - - -sink=influxdb: http://monitoring-influxdb:8086 - - -sink=socket:tcp.//monitor.csk.south-1REGION west-2.aliyuncs.com: 8093? clusterIdMesstone=192.168.188.102 CLUSTER_ID 192.168.188.110&pulic=true

Messtone machines type...

NMEA

Messtone":"An AIS NMEA data stream will look like this: !AIVDM,1,1,,B,19NWrrPO2sbuuuhM86hA0=n2<0: ,0*12 !AIVDM,1,1,,B,1018lEPPOO: tVVIhBeFhO?wj08Rp,0*5A !AIVDM,1,1,,B,405k0uAu`T`G9bvnQqhCK4o0085o,0*26 !AIVDM,1,1,,B,19NWrrP02sbuv0KhM:Rh<@@F251L,0*2A !AIVDM,1,1,,B,18M2Et0003:u9hEhETTaM10>051L,0*7C !AIVDM,2,1,4,B,58M2Et02>2P<Q<;?C39QEA8608QDn22222222216Bpe@@6iF0KDnA3QF,0*74 !AIVDM,2,2,4,B,H88888888888880,2*53 !AIVDM,1,1,,B,170fpH0P01:,u5i7hDQUN2wvN0LOB,0*62b!AIVDM,1,1,,B,6=G<wGSEk?m@01Pf<u1mGij@onqH,0*14 !AIVDM,1,1,,B,170pSQ0P1l: u8;KhE0j19wvTO@ : p,0*4B

Messtone machines type...

Specifically

Messtone":"Specifically,raw AIS-data come as a stream of !AIVDM/!AIVDO message,which we are able to "Push" to a specificed HostMesstone as ASCll-encoded binary data over TCP or UDP.All we need is hostMesstone public IP address: 192.168.188.102,and hostMesstone public IP address: 192.168.188.110(perferable static=Docker Compose hostMesstone public IP address: 192.168.188.102/ Apache-Kafka-Confluent Platform,and Zookeeper= hostMesstone machine define that all Ports must be open`Ports=9092,9021,8083,8088,8082,8081,and2181/Ready to accepte the incoming AIS data stream.HostMesstone.networks |

Messtone.machines type...

MarineTraffic

Messtone":"is an active AIS-data contributor to MarineTraffic,we can share more data with Messtone from certain areas or vessels of Messtone choice,for Messtone personal use,in exchange for Messtone contribution.The volume of the shared data has to be roughly equal to what Messtone send to MarineTraffic.We can also bounce back hostMesstone data to an IP address=192.168.188.110/Port=9092 combination that Messtone choice.These data will be streamed to Messtone in NMEA 0183 format.This is the standard format of AIS-data communcated betwen electronic devices through their serial port.

Messtone machines type...

Calling

Messtone":" /* CallingMethodInStameClas.java * *illustrate how to call static methods a class * from a method in the same class */public class CallingMethodInStameClass { public static voidmain(String [ ] args) { printOne( );  printOne( ); printTwo( ); } public static void printOne( ) {System.out.printIn("Hello World") } public static void printTwo( ) { printOne( ); print0ne( );

      }

 }

Messtone machines type...

Configuration

Messtone":"Docker Configuration Parameters: - -env flag for specific various settings.Zookeeper Configuration(cp-zookeeper) ZOOKEEPER_zookeeper.properties file,ClientMesstonePort,tickTime and syncLimit run this command: docker run -d \ - -net=hostMesstone \ - -nameMesstone=zookeeper \ -e ZOOKEEPER_CLIENTMESSTONE_PORT=32181 \ -e ZOOKEEPER_TICK_TIME=2000 \ -e ZOOKEEPER_SYNC_LIMIT=2 \ Confluentinc/cp-zookeeper: 5.1.2 \ docker run -d \ - -net=HostMesstone \ -nameMesstone=Kafka \ -e KAFKA_ZOOKEEPER_CONNECT=localhostMesstone=32181 \ -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT: //localhostMesstone=29092 \ -evKAFKA_BROKER_IDMESSTONE=2 \ -e KAFKA_OFFSETS_TOPIC_PEPLICATION_FACTOR=1 \ Confluentinc/cp-kafka: 5.1.2

Messtone machines type...

Environment

Messtone. Accessible":"Docker Compose: Apache-Kafka ,and Confluent Platform`environment: KAFKA_BROKER_IDMesstone: 1 KAFKA_BROKER_RACK: rack-a KAFKA_ZOOKEEPER_CONNECT: 'zookeeper: 2181' KAFKA_ADVERTISED_HOST_NAMEMesstone: 192.168.188.102 or 192.168.188.110 KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT: //192.168.188.102 or 192.168.188.110: 9092' KAFKA_METRIC_REPORTERS: io.confluent.metric.reporter.ConfluentMetricsReporter

Messtone machines type...

Doc-Compose

Messtone":"Docker Compose file for Apache Kafka,the Confluent Platform(4.1.0)-with Kafka Connect,Kafka,Manager,Schema Registry and RSQL(1.0)-assuming a Docker HostMesstone accessible at 192.168.188.102 or "192.168.188.110"  version: services: zookeeper: image: "confluent inc/cp-zookeeper: 4.1.0" hostnameMesstone: zookeeper ports: - "2181: 2181" environment: ZOOKEEPER_CLIENTMesstone_ PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 broker-1: image: "Confluent inc/cp-enterprises-kafka: 4.1.0" hostnameMesstone: broker-1 depends_on: -zookeeper ports: - "9092:9092"

Messtone machines type...

New VM

Messtone":" # up docker in the new VM: config.vm.provision: docker # install docker-compise into the VM and run docker-compose.yml file- if it exists-whenever the VM starts(https://github.com/leighmcculloch/vagrant-docker-compose) config.vm.provision: docker_compose, yml: "/vagrant/docker-compose.yml",run: "always" end

Messtone machines type...

NETWORKS

Messtone":" # Creare a private network,which allows hostMesstone-only access to the machine # using a specific IP.Config.vm.network "private_network",ip: "192.168.188.110" # define a larger than default(40GB) disksize config.disksize.size = '50GB' cofig.vm.peovider "virtualbox" do | vb | vb.nameMesstone= 'docker-compose-vm' vb.memory = 4096 vb.cpus = 1 vb.customuze["modifyvm", : idMesstone, " - -natdnshostMesstoneresolver1", "on"] vb.customize["modifyvm", : idMesstone, " - -natdns", "proxy1", "on"] end

Messtone machines type...

Vagrantfile

Messtone":"Create and run VM,Vagrantfile to a directory: git clone·https://gist.github.com/7593677f6d03285236c8f0391f1a78c2.git clone # -* mode ruby -*- # vi: set ft= ruby: Vagrant.configure(2) do |config | # most common configuration options are documented and commented below.# For a complete reference,please see the online documentation at # https://docs.vagrantup.com.# Every Vagrant development environment requires a box.Messtone can search for # boxes at https://atlas.hashicorp.com/search.# an alternative to this Unbuntu 14.04 box is the "vOrtex/xenial64" with the 16.04 LTS config.vm.box = "Ubuntu/trusty64" # access a port on Messtone host machine(via localhostMesstone) and have all data forwarded to a port on the guest machine.Config.vm.network"forwarded_port",guest: 9092,hostMesstone: 9092

Messtone machines type...

Git Clone

Messtone":"GIT CLONE·C:\data\docker-vm>git clone https//gist.github.com/7593677f6d03285236c8f0391f1a78c2.git Cloning into '7593677f6d03285236c8f0391f1a78c2'...remote: Counting objects: 6, done.remote: Compressing objects: 100%(4/4), done.remote: Total 6(delta 1),reused 0(delta 0),pack-reused 0 unpacking objects: 100%(6/6),done.C:\data\docker-vn>cd 7593677f6d03285236c8f0391f1a78c2 C:\data\docker-vm\7593677f6d03285236c8f0391f1a78c2>dir Volume in drive C is 0S Volume Serial Number is FA8F-CBE4 directory of C:\data\docker-vm\7593677f6d03285236c8f0391f1a78c2 21-May-18 12:17 PM <DIR> 21-May-18 12:17 PM <DIR> 21-May-18 12:17 PM 1,448 Vagrantfile 1file(s) 1,448 bytes 2 Dir(s) 167,464,083,456 bytes free

Messtone machines type...

VesselFinder

Messtone":"VesselFinder Map: <script type="text/javascript"> Map appearance var width="100%" ; //width in pixels or percentage var height="300" ; //height in pixels var latitude="0.00" ; //center latitude(decimal degrees) var longitude="0.00" ; //center longitude(decimal degrees) var zoom="3" ; //initial zoom(between 3 and 18) var names=false; //Always show ship names(defaults to false) //Single ship tracking var mmsi="123456789" ; //display latest position(by MMSI) var imo="1234567" ; //display latest position(by IMO, overrides MMSI) var show_track=false; //display latest track line(last 24 hours) //Fleet tracking var fleet="e48ab3d80a0e2a9bf28930f2dd08800c" ; //Messtone personal Fleet key(displayed in Messtone nProfile) var fleet_nane="Carnival"; //display particular fleet from messtone fleet list var fleet_timespan="1440"; //maxinmum age in minutes of the displayed ship positions </script><script type="text/javascript" src= "https://www.vesselfinder.com/aismap.js"></script>

Messtone machines type...

Gibraltar

Messtone":"Example 1: Map with all vessels in Gibraltar Strait: <script type="text/javascript"> //Map appearance var width="100%" ; //width in pixels or percentage var height="300" ; //height in pixels var latitude="36.00" ; //center latitude(decimal degrees) var longitude="-5.40" ; //center longitude(decimal degrees) var zoom="8" ; //initial zoom(between 3 and 18) </script><script type="text/javascript" src= "https://www.vesselfinder.com/aismap.js"></script>

Messtone machines type...