Skip to content

Scrape nautical route data from YB Tracking Marine GPS Units

License

Notifications You must be signed in to change notification settings

mtralka/YB-Tracking-GPS-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YB Tracking GPS Route Scraper

YB Tracking GPS units are industry standard for marine systems. Each unit comes with their own visual webmap interface. However, the data driving these maps are not easily publicably accessable. Alternative websites that track AIS data and provide bulk downloading are hidden behind massive paywalls. This script aims circumnavigate these problems.

What's needed

  • Ship name

  • Route identifier

Both of these are publicaly visible in the URL of a ship's webmap interface.

URL Example

Program Outputs

  • point_identifiers.json

    master list of route point-identifiers. Does not contain Lat / Lng or other data points

  • full_route.geojson

    All route points with the following variables: availability may vary by GPS unit

      latFormatted, altitude, datetime, temp, at, lng, tz, lngFormatted, course, , lat, speed
    

Required Python Libraries

  • requests, json, datetime, time, pytz
  • pandas, geopandas, shapely