The Rails application that powers OpenStreetMap
object, return 200 OK with an empty document if not matches are found rather than 400 Bad Request (for ways) or 404 Not Found (for relations). |
||
---|---|---|
app | ||
config | ||
db | ||
doc | ||
lib | ||
public | ||
script | ||
test | ||
Rakefile | ||
README |
INSTALL ======= * get rails working (http://www.rubyonrails.org/) * make your db (see db/README) * install ruby libxml bindings: # sudo aptitude install libxml-ruby1.8 libxml-parser-ruby1.8 * make sure you have a MTA listening on localhost:25 if you want mail * script/server * thats it API CHANGES FOR EDITOR AUTHORS ============================== See http://wiki.openstreetmap.org/index.php/REST#Changes_in_the_upcoming_0.4_API HACKING ======= log in to your site (proably localhost:3000) create a user and confirm it you want to play with the API (probably at localhost:3000/api/0.4/node/create etc) Lots of tests are needed to test the API. Lots of little things to make the site work like the old one. Also see the 'rails_port' component for bugs: http://trac.openstreetmap.org/query?status=new&status=assigned&status=reopened&component=rails_port&order=priority