Created
March 25, 2014 14:13
-
-
Save joshdoe/9762691 to your computer and use it in GitHub Desktop.
MapProxy configuration file for caching Virginia Base Mapping Program (VBMP) orthoimagery to be used in OpenStreetMap editors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MapProxy configuration file for caching Virginia Base Mapping Program (VBMP) orthoimagery to be used in OpenStreetMap editors | |
# Tile service (compatible with OSM/etc.) | |
# first tile: http://localhost:8080/tiles/osm/webmercator/0/0/0.png | |
services: | |
demo: | |
tms: | |
use_grid_names: true | |
# origin for /tiles service | |
origin: 'nw' | |
layers: | |
- name: vbmp2009 | |
title: VBMP 2009 Orthoimagery | |
sources: [vbmp2009_cache] | |
- name: vbmp2011 | |
title: VBMP 2011 Orthoimagery | |
sources: [vbmp2011_cache] | |
- name: vbmp2012 | |
title: VBMP 2012 Orthoimagery | |
sources: [vbmp2012_cache] | |
- name: vbmp2013 | |
title: VBMP 2013 Orthoimagery | |
sources: [vbmp2013_cache] | |
- name: vbmp_recent | |
title: VBMP Most Recent Orthoimagery | |
sources: [vbmp_recent_cache] | |
caches: | |
vbmp2009_cache: | |
sources: [vbmp2009_source] | |
format: image/jpeg | |
vbmp2011_cache: | |
sources: [vbmp2011_source] | |
format: image/jpeg | |
vbmp2012_cache: | |
sources: [vbmp2012_source] | |
format: image/jpeg | |
vbmp2013_cache: | |
sources: [vbmp2013_source] | |
format: image/jpeg | |
vbmp_recent_cache: | |
sources: [vbmp_recent_source] | |
format: image/jpeg | |
sources: | |
vbmp2009_source: | |
type: tile | |
url: http://gismaps.vita.virginia.gov/arcgis/rest/services/VBMP2009/VBMP2009_WGS/MapServer/tile/%(z)s/%(y)s/%(x)s | |
grid: 'vbmp_grid' | |
coverage: | |
bbox: [-9376360.573176358, 4176105.5215104837, -8325592.87091559, 4970725.225086973] | |
srs: 'EPSG:3857' | |
vbmp2011_source: | |
type: tile | |
url: http://gismaps.vita.virginia.gov/arcgis/rest/services/VBMP2011/VBMP2011_WGS/MapServer/tile/%(z)s/%(y)s/%(x)s | |
grid: 'vbmp_grid' | |
coverage: | |
bbox: [-9376360.573176358, 4176105.5215104837, -8325592.87091559, 4970725.225086973] | |
srs: 'EPSG:3857' | |
vbmp2012_source: | |
type: tile | |
url: http://gismaps.vita.virginia.gov/arcgis/rest/services/VBMP2012/VBMP2012_WGS/MapServer/tile/%(z)s/%(y)s/%(x)s | |
grid: 'vbmp_grid' | |
coverage: | |
bbox: [-9376360.573176358, 4176105.5215104837, -8325592.87091559, 4970725.225086973] | |
srs: 'EPSG:3857' | |
vbmp2013_source: | |
type: tile | |
url: http://gismaps.vita.virginia.gov/arcgis/rest/services/VBMP2013/VBMP2013_WGS/MapServer/tile/%(z)s/%(y)s/%(x)s | |
grid: 'vbmp_grid' | |
coverage: | |
bbox: [-9361643.04859, 4309484.932005454, -8328992.055809998, 4854443.863794546] | |
srs: 'EPSG:3857' | |
vbmp_recent_source: | |
type: tile | |
url: http://gismaps.vita.virginia.gov/arcgis/rest/services/MostRecentImagery/MostRecentImagery_WGS/MapServer/export?bbox=%(bbox)s&bboxSR=&layers=&layerDefs=&size=256,256&imageSR=&format=%(format)s&transparent=false&dpi=&time=&layerTimeOptions=&dynamicLayers=&gdbVersion=&mapScale=&f=image | |
grid: 'GLOBAL_WEBMERCATOR' | |
coverage: | |
bbox: [-9361643.04859, 4309484.932005454, -8328992.055809998, 4854443.863794546] | |
srs: 'EPSG:3857' | |
grids: | |
vbmp_grid: | |
base: GLOBAL_WEBMERCATOR | |
tile_size: [256, 256] | |
res: [1222.992452562495, 611.4962262813797, 305.74811314055756, 152.87405657041106, 76.43702828507324, 38.21851414253662, 19.10925707126831, 9.554628535634155, 4.77731426794937, 2.388657133974685, 1.1943285668550503, 0.5971642835598172] | |
osm_grid: | |
base: GLOBAL_MERCATOR | |
srs: 'EPSG:3857' | |
origin: nw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment