Sha256: 0617d85bb189695508f4e7d9272546df279aeb51e565505f7ba7639bc031e4da

Contents?: true

Size: 1.12 KB

Versions: 6

Compression:

Stored size: 1.12 KB

Contents

SITE_DEFAULT = 'maps.example.com'

HOST_ZONE = {
  #'intra.maps.example.com'  => SITE_INTRANET,
}
HOST_ZONE.default = SITE_DEFAULT

#Hostnames in image links (e.g. identify symbol) which should be replaced by 127.0.0.1 for printing
LOCAL_GRAPHICS_HOST = /maps.example.com/

#Hosts in WMS URLs, which should be called via MAPSERV_URL for printing
LOCAL_WMS = [
  %r(^maps.example.com$),
  %r(^127.0.0.1$),
  %r(^localhost$),
]

#Location for temporary mapfish-print files
#NOTE: use a shared directory for multi-node setups (e.g. NFS)
PRINT_TMP_PATH = "/tmp"

DEFAULT_TOPIC = {
  SITE_DEFAULT => (Topic.first rescue nil) #Topic.where(:name => 'MainMap').first
}

DEFAULT_SCALE = 310000
DEFAULT_X = 692000
DEFAULT_Y = 252000
DEFAULT_ZOOM = 4

# regex for WMS parameters to detect if layer filter is used
LAYER_FILTER_REGEX = /^filter_.+$/i

# Proxy for cascaded WMS Feature requests
# See also http://www.ruby-doc.org/stdlib-1.9.3/libdoc/net/http/rdoc/Net/HTTP.html#method-c-Proxy
CASCADED_PROXY_ADDR = nil #Ruby 2.0 supports :ENV for using http_proxy environment variable
CASCADED_PROXY_PORT = nil
CASCADED_PROXY_USER = nil
CASCADED_PROXY_PASS = nil

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gb_mapfish_appserver-1.0.0 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-0.9.7 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-0.9.6 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-0.9.5 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-0.9.4 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-0.9.3 test/dummy/config/initializers/mapfish.rb