openstreetmap-website
https://github.com/openstreetmap/openstreetmap-website
Ruby
The Rails application that powers OpenStreetMap
ShortLink.decode
Given a string encoding a location, returns the [lon, lat, z] tuple of that location.
Edit
git clone [email protected]:openstreetmap/openstreetmap-website.git
cd openstreetmap-website
open lib/short_link.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ShortLink-decode-for-pr
# Commit to gitgit add lib/short_link.rbgit commit -m "better docs for ShortLink.decode"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ShortLink-decode-for-pr
hub pull-request
# Celebrate!