Sha256: d65aa8d7a42498f21aa9a182fa6194d706d0b738af4470ba26d03ab58dd9c9c1

Contents?: true

Size: 1.16 KB

Versions: 17

Compression:

Stored size: 1.16 KB

Contents

SITE_DEFAULT = '<%= options["default-site-name"] %>'

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 = /<%= options["default-site-name"] %>/

#Hosts in WMS URLs, which should be called via MAPSERV_URL for printing
LOCAL_WMS = [
  %r(^<%= options["default-site-name"] %>$),
  %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

# 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

17 entries across 17 versions & 1 rubygems

Version Path
gb_mapfish_appserver-1.0.0 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.9.7 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.9.6 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.9.5 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.9.4 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.9.3 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.9.2 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.9.1 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.9.0 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.8.7 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.8.6 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.8.5 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.8.4 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.8.3 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.8.2 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.8.1 lib/generators/mapfish/install/templates/initializer.rb
gb_mapfish_appserver-0.8.0 lib/generators/mapfish/install/templates/initializer.rb