openstreetmap-website

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

Ruby

The Rails application that powers OpenStreetMap

ChangesetController#expand_bbox

insert a (set of) points into a changeset bounding box. this can only
increase the size of the bounding box. this is a hint that clients can
set either before uploading a large number of changes, or changes that
the client (but not the server) knows will affect areas further away.

Source | Google | Stack overflow

Edit

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

cd openstreetmap-website

open app/controllers/changeset_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ChangesetController-expand_bbox-for-pr


# Commit to git

git add app/controllers/changeset_controller.rbgit commit -m "better docs for ChangesetController#expand_bbox"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-ChangesetController-expand_bbox-for-pr

hub pull-request


# Celebrate!