Skip to content

strange lat/longs #21

Description

@jwzabrenski

I've viewed a couple maps based on the train API endpoint, and most have made since visually, however there have been a couple that have looked off. Example for train 3520:
train_3520_path
When I investigated it, the JSON returned has the 9th Street station with these lat/longs:
{ "nextstop": "9th St", "Minutes Late": "0", "lat": "39.74213", "lon": "-75.53286" },
If you view that lat/long in Google or Bing maps, it corresponds to the most Southwest marker from the screenshot, which is the location nearby an Amtrak station. There also seems to be a station placed near Malvern as well, giving the odd path line. So it seems a few of these trains may have an incorrect lat/long for one or more stations, while the station name and order is correct.

A similar result happened when I mapped out the 5317 train, although in this instance the Lansdale station had a lat/long for the furthest Southwest marker.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions