]> git.openstreetmap.org Git - rails.git/blobdiff - config/application.yml
Using an around_handler for catching and rendering errors in most of the API controll...
[rails.git] / config / application.yml
index 85ebe9f2152884b044c2f73c136ffaee0cd642fa..67d51e375210eff850afc228a9bdae275e4a4588 100644 (file)
@@ -3,8 +3,14 @@ standard_settings: &standard_settings
   max_request_area: 0.25
   # Number of GPS trace/trackpoints returned per-page
   tracepoints_per_page: 5000
-  # Maximum number of nodes
+  # Maximum number of nodes that will be returned by the api in a map request
   max_number_of_nodes: 50000
+  # Maximum number of nodes that can be in a way (checked on save)
+  max_number_of_way_nodes: 2000
+  # Zoom level to use for postcode results from the geocoder
+  postcode_zoom: 15
+  # Zoom level to use for geonames results from the geocoder
+  geonames_zoom: 12
  
 development:
   <<: *standard_settings