forked from asciipip/TopOSM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathogcserver.conf
108 lines (72 loc) · 3.2 KB
/
ogcserver.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# server: This section contains software related configuration parameters.
[server]
# module: The module containing the MapFactory class. See the readme for
# details.
# This would be the name of the map_factory file (without extension .py)
module=CHANGEME
# service: This section contains service level metadata.
[service]
# title: The title of the server.
title=Mapnik OGC Server
# abstract: An abstract describing the server.
abstract=Serves TopOSM maps customize for my area of interest
# maxwidth, maxheight: The maximum size that a map will be supplied at.
# Exceeding it will raise an error in the client.
maxheight=1024
maxwidth=1024
# allowedepsgcodes: The comma separated list of epsg codes we want the server
# to support and advertise as supported in GetCapabilities.
allowedepsgcodes=32100
# onlineresource: A service level URL most likely pointing to the web site
# supporting the service for example. This is NOT the online
# resource pointing to the CGI.
onlineresource=http://www.mapnik.org/
# baseurl: the base url for the Capability section, used to allow reverse proxy
# mode or alised servers. If not specified will be determined from the
# server name and script path
#baseurl=http://www.mapnik.org:8000/wms/
# fees: An explanation of the fee structure for the usage of your service,
# if any. Use the reserved keyword "none" if not applicable.
fees=
# keywords: A comma separated list of key words.
keywordlist=
# accessconstraints: Plain language description of any constraints that might
# apply to the usage of your service, such as hours of
# operation.
accessconstraints=
# maxage: The content of the HTTP Cache-Control header -
# the maximum age of the content in a cache, measured
# in seconds. One week is 604800 seconds, the default is
# 1 day.
maxage=86400
# contact: Contact information. Provides information to service users on who
# to contact for help on or details about the service.
[contact]
contactperson=
contactorganization=
contactposition=
addresstype=
address=
city=
stateorprovince=
postcode=
country=
contactvoicetelephone=
contactelectronicmailaddress=
[map]
# wms_srs: Default SRS for all layers, it replaces the srs defined in the XML
# It can also be overriden in each layer
# wms_name: The name for the top layer, will default to __all__ if empty
wms_name = __all__
# wms_title: The title for the top layer, defaults to 'OGCServer WMS Server'
wms_name = OGCServer WMS Server
# wms_abstract: The abstract for the top layer, defaults to 'OGCServer WMS Server'
wms_abstract = OGCServer WMS Server
# wms_extent: The bounding box served out by the map server (always geographic coords)
# all of Montana, good for features...
wms_extent = -116.049,46,-113.303,49
# [layer_<layer_name>] Create a section to modify Layer properties
# <layer_name> is the name attribute in the XML
# wms_srs = EPSG:4326 Set Layer SRS overriding Layers XML srs and wms_srs defined in the [map] section
# title = Layer Title
# abstract = Layer description