Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

36 lines (19 loc) · 1.02 KB

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