Skip to content

browniefed/Trimet_GeoJSON_Routes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trimet GeoJSON

These are all the Trimet Routes as GeoJSON

Each file is separated into the folder and follows the convention route_direction.geojson

####Method

  • Took the KML file provided by trimet, using geojson.io converted to GeoJSON
  • Wrote up encodegeo.js to grab, loop and spit out GeoJSON into separate files

I have added googlemap polyline file. This encodes all coordinates down to about 270kb. If you want to decode these polylines down to coordinates visit http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/ and there exists a polyline decoding function. That way you don't need google maps API.

Alternatively I've included the decode polyline function from the link above, all credit for the function goes to them.

Max Lines

100 = blue 190 = yellow 200 = green 90 = red

livemet has been updated with outlines of these routes and example usage

About

All Trimet Bus/Train Routes as GeoJSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published