require 'ostruct'
require 'yaml'
osm_config = YAML.load_file(Rails.root.join('config', 'osm.yml'))
OpenStreetMapConfig = OpenStruct.new osm_config[Rails.env]


require 'ostruct'
require 'yaml'
osm_config = YAML.load_file(Rails.root.join('config', 'osm.yml'))
OpenStreetMapConfig = OpenStruct.new osm_config[Rails.env]
Rosemary::Api.base_uri OpenStreetMapConfig.oauth_site


Make sure to use proper osm api base uri.
Make sure to use proper osm api base uri.