Skip to content

Instantly share code, notes, and snippets.

@stevendlander
stevendlander / tileMatrixHeightValueVerifier.sql
Last active August 29, 2015 14:19
Select statement for swagd verifier
SELECT
zoom_level as zl,
matrix_height as height
FROM
gpkg_tile_matrix
WHERE
table_name = '%s'
AND
(
zoom_level in
@stevendlander
stevendlander / Stack trace
Created June 14, 2013 14:56
Stack trace of possible MapProxy issue (MapError)
Process TileSeedWorker-1:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/steven/Virtualenv/workingMapproxy/lib/python2.7/site-packages/mapproxy/seed/seeder.py", line 92, in run
self.work_loop()
File "/home/steven/Virtualenv/workingMapproxy/lib/python2.7/site-packages/mapproxy/seed/seeder.py", line 104, in work_loop
exceptions=(SourceError, IOError), ignore_exceptions=(LockTimeout, ))
File "/home/steven/Virtualenv/workingMapproxy/lib/python2.7/site-packages/mapproxy/seed/util.py", line 216, in exp_backoff
result = func(*args, **kw)
@stevendlander
stevendlander / Seed conf
Created June 14, 2013 14:53
MapProxy seed conf for potential issue (MapError)
seeds:
florida_mbtiles:
caches: [mixed_florida]
grids: [GLOBAL_GEODETIC]
coverages: [florida_area]
levels:
from: 9
to: 11
coverages:
@stevendlander
stevendlander / Conf file
Created June 14, 2013 14:50
MapProxy conf file illustrating a potential issue (MapError)
services:
demo:
tms:
wmts:
wms:
srs: ['EPSG:4326', 'EPSG:900913', 'EPSG:3857']
layers:
- name: florida
title: florida_layer