Skip to content

Instantly share code, notes, and snippets.

@olt
Created July 16, 2012 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olt/3121169 to your computer and use it in GitHub Desktop.
Save olt/3121169 to your computer and use it in GitHub Desktop.
mapproxy config for usgs quads, mbtiles attempt
services:
demo:
kml:
tms:
# needs no arguments
wmts:
wms:
# srs: ['EPSG:4326', 'EPSG:900913']
# image_formats: ['image/jpeg', 'image/png']
md:
# metadata used in capabilities documents
title: MapProxy WMS Proxy
layers:
- name: usgs
title: USGS test
sources: [slo_usgs_cache]
caches:
slo_usgs_cache:
sources: []
grids: [GLOBAL_MERCATOR]
cache:
type: mbtiles
filename: /Users/me/Documents/MapBox/tiles/slo_usgs.mbtiles
coverage:
bbox_srs: 'EPSG:4326'
bbox: [34.87497870982493, -121.37605128402282, 35.87498049818777, -119.37594688316540]
globals:
# # cache options
cache:
# where to store the cached images
base_dir: './cache_data'
# where to store lockfiles
lock_dir: './cache_data/locks'
# image/transformation options
image:
resampling_method: nearest
# resampling_method: bilinear
# resampling_method: bicubic
# jpeg_quality: 90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment