openstreetmap-website

https://github.com/openstreetmap/openstreetmap-website

Ruby

The Rails application that powers OpenStreetMap

Changeset#add_changes!

the number of elements is also passed in so that we can ensure that
a single changeset doesn't contain too many elements. this, of course,
destroys the optimisation described in the bbox method above.

Source | Google | Stack overflow

Edit

git clone [email protected]:openstreetmap/openstreetmap-website.git

cd openstreetmap-website

open app/models/changeset.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Changeset-add_changes--for-pr


# Commit to git

git add app/models/changeset.rbgit commit -m "better docs for Changeset#add_changes!"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Changeset-add_changes--for-pr

hub pull-request


# Celebrate!