Skip to content
Permalink
Browse files

use dummy access_contraints to clarify license

The access_contraints option allows to document the license of the data
that MapProxy serves. MapProxy itself does not provide any data and it's
up to the user to add free or closed data sources.

Some example and test configurations mentioned the Creative Commons
license to show how a typical access_contraints configuration can look like.

This commit removes all references to Creative Commons to make it clear that
MapProxy and all the example and test files are _not_ licensed as
Creative Commons.
  • Loading branch information...
olt committed Aug 4, 2016
1 parent 1effe93 commit ec6358565121647fb89d69b5befeb340225bc990
@@ -2,26 +2,23 @@ services:
demo:
wms:
md:
title: MapProxy WMS Proxy
abstract: This is the fantastic MapProxy.
online_resource: http://mapproxy.org/
contact:
person: Your Name Here
position: Technical Director
organization:
address: Fakestreet 123
city: Somewhere
postcode: 12345
country: Germany
phone: +49(0)000-000000-0
fax: +49(0)000-000000-0
email: info@omniscale.de
access_constraints:
This service is intended for private and
evaluation use only. The data is licensed
as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
fees: 'None'
title: MapProxy WMS Proxy
abstract: This is the fantastic MapProxy.
online_resource: http://mapproxy.org/
contact:
person: Your Name Here
position: Technical Director
organization:
address: Fakestreet 123
city: Somewhere
postcode: 12345
country: Germany
phone: +49(0)000-000000-0
fax: +49(0)000-000000-0
email: info@omniscale.de
access_constraints:
Insert license and copyright information for this service.
fees: 'None'

sources:
test_wms:
@@ -8,7 +8,7 @@ services:
contact:
person: Your Name Here
position: Technical Director
organization:
organization:
address: Fakestreet 123
city: Somewhere
postcode: 12345
@@ -17,10 +17,7 @@ services:
fax: +49(0)000-000000-0
email: info@omniscale.de
access_constraints:
This service is intended for private and
evaluation use only. The data is licensed
as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Insert license and copyright information for this service.
fees: 'None'

sources:
@@ -8,7 +8,7 @@ services:
contact:
person: Your Name Here
position: Technical Director
organization:
organization:
address: Fakestreet 123
city: Somewhere
postcode: 12345
@@ -17,10 +17,7 @@ services:
fax: +49(0)000-000000-0
email: info@omniscale.de
access_constraints:
This service is intended for private and
evaluation use only. The data is licensed
as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Insert license and copyright information for this service.
fees: 'None'

sources:
@@ -8,7 +8,7 @@ services:
contact:
person: Your Name Here
position: Technical Director
organization:
organization:
address: Fakestreet 123
city: Somewhere
postcode: 12345
@@ -17,10 +17,7 @@ services:
fax: +49(0)000-000000-0
email: info@omniscale.de
access_constraints:
This service is intended for private and
evaluation use only. The data is licensed
as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Insert license and copyright information for this service.
fees: 'None'

sources:
@@ -8,7 +8,7 @@ services:
contact:
person: Your Name Here
position: Technical Director
organization:
organization:
address: Fakestreet 123
city: Somewhere
postcode: 12345
@@ -17,10 +17,7 @@ services:
fax: +49(0)000-000000-0
email: info@omniscale.de
access_constraints:
This service is intended for private and
evaluation use only. The data is licensed
as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Insert license and copyright information for this service.
fees: 'None'

sources:
@@ -50,9 +50,7 @@ services:
email: info@omniscale.de
# multiline strings are possible with the right indention
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Insert license and copyright information for this service.
fees: 'None'

wms:
@@ -106,9 +104,7 @@ services:
email: info@omniscale.de
# multiline strings are possible with the right indention
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Insert license and copyright information for this service.
fees: 'None'

layers:
@@ -14,7 +14,7 @@ services:
contact:
person: Your Name Here
position: Technical Director
organization:
organization:
address: Fakestreet 123
city: Somewhere
postcode: 12345
@@ -23,9 +23,7 @@ services:
fax: +49(0)000-000000-0
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Insert license and copyright information for this service.
fees: 'None'

layers:
@@ -35,12 +33,12 @@ layers:
# - name: osm_full_example
# title: Omniscale OSM WMS - osm.omniscale.net
# sources: [osm_cache_full_example]

caches:
osm_cache:
grids: [GLOBAL_MERCATOR, global_geodetic_sqrt2]
sources: [osm_wms]

# osm_cache_full_example:
# meta_buffer: 20
# meta_size: [5, 5]
@@ -77,7 +75,7 @@ sources:
# # # always request in this format
# # format: image/png
# map: /home/map/mapserver.map


grids:
global_geodetic_sqrt2:
@@ -26,9 +26,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.

layers:
- name: wms_cache
@@ -25,9 +25,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.

layers:
- name: jpeg_cache_tiff_source
@@ -41,9 +41,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.
inspire_md:
type: linked
languages:
@@ -41,9 +41,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.
keyword_list:
- vocabulary: GEMET
keywords: [Orthoimagery]
@@ -41,9 +41,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.

layers:
- name: direct
@@ -26,9 +26,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.

layers:
- name: wms_legend
@@ -26,13 +26,11 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.

layers:
- name: mixed_mode
title: cache with PNG and JPEG
title: cache with PNG and JPEG
sources: [mixed_cache]

caches:
@@ -26,9 +26,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.

layers:
- name: res
@@ -26,9 +26,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.

layers:
- name: wms_cache
@@ -28,7 +28,7 @@
<ContactElectronicMailAddress>osm@omniscale.de</ContactElectronicMailAddress>
</ContactInformation>
<Fees>none</Fees>
<AccessConstraints>This service is intended for private and evaluation use only. The data is licensed as Creative Commons Attribution-Share Alike 2.0 (http://creativecommons.org/licenses/by-sa/2.0/)</AccessConstraints>
<AccessConstraints>Here be dragons.</AccessConstraints>
</Service>
<Capability>
<Request>
@@ -28,7 +28,7 @@
<ContactElectronicMailAddress>info@omniscale.de</ContactElectronicMailAddress>
</ContactInformation>
<Fees>None</Fees>
<AccessConstraints>This service is intended for private and evaluation use only. The data is licensed as Creative Commons Attribution-Share Alike 2.0 (http://creativecommons.org/licenses/by-sa/2.0/)</AccessConstraints>
<AccessConstraints>Here be dragons.</AccessConstraints>
</Service>
<Capability>
<Request>
@@ -24,7 +24,7 @@
<ContactElectronicMailAddress>info@omniscale.de</ContactElectronicMailAddress>
</ContactInformation>
<Fees>None</Fees>
<AccessConstraints>This service is intended for private and evaluation use only. The data is licensed as Creative Commons Attribution-Share Alike 2.0 (http://creativecommons.org/licenses/by-sa/2.0/)</AccessConstraints>
<AccessConstraints>Here be dragons.</AccessConstraints>
</Service>
<Capability>
<Request>
@@ -23,9 +23,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.

layers:
- name: direct
@@ -28,9 +28,7 @@ services:
fax: +49(0)441-9392774-9
email: info@omniscale.de
access_constraints:
This service is intended for private and evaluation use only.
The data is licensed as Creative Commons Attribution-Share Alike 2.0
(http://creativecommons.org/licenses/by-sa/2.0/)
Here be dragons.

layers:
- name: wms_cache
@@ -14,7 +14,7 @@ def test_parse_metadata(self):
md = cap.metadata()
eq_(md['name'], 'OGC:WMS')
eq_(md['title'], 'Omniscale OpenStreetMap WMS')
eq_(md['access_constraints'], 'This service is intended for private and evaluation use only. The data is licensed as Creative Commons Attribution-Share Alike 2.0 (http://creativecommons.org/licenses/by-sa/2.0/)')
eq_(md['access_constraints'], 'Here be dragons.')
eq_(md['fees'], 'none')
eq_(md['online_resource'], 'http://omniscale.de/')
eq_(md['abstract'], 'Omniscale OpenStreetMap WMS (powered by MapProxy)')
@@ -28,7 +28,7 @@
<ContactElectronicMailAddress>osm@omniscale.de</ContactElectronicMailAddress>
</ContactInformation>
<Fees>none</Fees>
<AccessConstraints>This service is intended for private and evaluation use only. The data is licensed as Creative Commons Attribution-Share Alike 2.0 (http://creativecommons.org/licenses/by-sa/2.0/)</AccessConstraints>
<AccessConstraints>Here be dragons.</AccessConstraints>
</Service>
<Capability>
<Request>

0 comments on commit ec63585

Please sign in to comment.
You can’t perform that action at this time.