]> git.openstreetmap.org Git - rails.git/blobdiff - config/application.yml
add OS7 to autocomplete
[rails.git] / config / application.yml
index 85ebe9f2152884b044c2f73c136ffaee0cd642fa..6a67a51236af20f3c1a9fe234513a54553e360fb 100644 (file)
@@ -3,8 +3,18 @@ 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
+  # Timeout for API calls in seconds
+  api_timeout: 300
+  # Periods (in hours) which are allowed for user blocks
+  user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96]
  
 development:
   <<: *standard_settings