Select to view content in your preferred language

Connect to aisstream.io

1729
3
04-27-2023 04:11 AM
SimonGIS
Regular Contributor

https://aisstream.io/  provide free AIS data.  

I know there is a Geoevent stream service that allows access to a specific AOI, but I was hoping to setup a Velocity feed that would ingest this feed.

The documentation states:

creating a websocket connection to wss://stream.aisstream.io/v0/stream and sending a json subscription message. This message includes your api key and the geographic bounding boxes you wish to receive AIS data.

I don't see any options for authentication when ingesting a websocket.  Would this type of feed be possible to ingest?

SimonGIS_0-1682593746691.png

 

Tags (1)
0 Kudos
3 Replies
PeterNasuti
Esri Contributor

@SimonGIS Thanks for your post and for raising this need! Currently the ArcGIS Velocity WebSocket feed type does not support authentication. 

I have entered an item on our side for the Velocity team to research expanding this functionality to offer a user-configurable JSON subscription message as well as exploring other authentication options to expose for this feed type.

SeanOBriain
New Contributor

Hi Simon, I'd a similar issue, did you find a workaround?

and Peter, was there any progress on his feature?

0 Kudos
PeterNasuti
Esri Contributor

We added custom headers support for WebSocket feed type a few releases back. Mostly, I have seen APIs that use API key passed in a custom header as the authentication mechanism for WebSocket. Does this meet your use case?

Something with multi-step custom authentication responses is less commonly witnessed and unlikely to be implemented in ArcGIS Velocity in the near-term.

0 Kudos