openstreetmap-website
https://github.com/openstreetmap/openstreetmap-website
Ruby
The Rails application that powers OpenStreetMap
AmfController#getrelation
Get a relation with all tags and members. Returns: 0. success code? 1. object type? 2. relation id, 3. hash of tags, 4. list of members, 5. version.
Edit
git clone [email protected]:openstreetmap/openstreetmap-website.git
cd openstreetmap-website
open app/controllers/amf_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-AmfController-getrelation-for-pr
# Commit to gitgit add app/controllers/amf_controller.rbgit commit -m "better docs for AmfController#getrelation"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-AmfController-getrelation-for-pr
hub pull-request
# Celebrate!