Skip to content

Commit 5140c19

Browse files
committed
yagajs#20 upgrade to MapProxy 1.13.2 plus fixes in examples
1 parent 4c7a94e commit 5140c19

File tree

7 files changed

+46
-12
lines changed

7 files changed

+46
-12
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
username: ${{ secrets.DOCKER_USERNAME }}
2626
password: ${{ secrets.DOCKER_PASSWORD }}
2727
repository: justb4/mapproxy
28-
tags: latest,1.12.0-5
28+
tags: latest,1.13.2-1
2929
tag_with_ref: false
3030
tag_with_sha: false

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ARG LOCALE="en_US.UTF-8"
2525
# Only adds 1MB and handy tools
2626
ARG ADD_DEB_PACKAGES="curl xsltproc libxml2-utils patch"
2727
ARG ADD_PIP_PACKAGES=""
28-
ARG MAPPROXY_VERSION="1.12.0"
28+
ARG MAPPROXY_VERSION="1.13.2"
2929

3030
# ENV settings
3131
ENV MAPPROXY_PROCESSES="4" \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Find image on [Docker Hub](https://hub.docker.com/repository/docker/justb4/mappr
1010

1111
## Supported tags
1212

13-
* `1.12.0`, `1.12`, `1`, `latest`
13+
* `1.13.2`, `latest`
1414

1515
## What is MapProxy
1616

examples/default/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ services:
1717
ports:
1818
- "8085:8080"
1919

20-
volumes:
21-
- ./mapproxy:/mapproxy:rw
20+
# volumes:
21+
# - ./mapproxy:/mapproxy:rw

examples/standard/config/mapproxy.yaml

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
services:
88
demo:
99
tms:
10-
use_grid_names: true
10+
use_grid_names: false
1111
# origin for /tiles service
1212
origin: 'nw'
1313
kml:
14-
use_grid_names: true
14+
use_grid_names: true
1515
wmts:
1616
wms:
1717
md:
@@ -24,7 +24,7 @@ layers:
2424
sources: [osm_cache]
2525

2626
- name: dutch_aerial
27-
title: Dutch public aerial Map - by Dutch Kadaster-PDOK - RGB 25cm resolution - 2019
27+
title: Dutch public aerial Map - by Dutch Kadaster-PDOK - RGB 7.5cm resolution - latest
2828
sources: [dutch_aerial_cache]
2929

3030
caches:
@@ -34,7 +34,7 @@ caches:
3434

3535
dutch_aerial_cache:
3636
# Store res 0-12 (RD) and 0-17 (merc, 18 levels)
37-
grids: [dutch_tile_grid, webmercator]
37+
grids: [dutch_tile_grid, webmercator, mercator]
3838
sources: [dutch_aerial_wms]
3939
format: image/jpeg
4040
meta_buffer: 0
@@ -55,8 +55,8 @@ sources:
5555
dutch_aerial_wms:
5656
type: wms
5757
req:
58-
url: https://geodata.nationaalgeoregister.nl/luchtfoto/rgb/wms?
59-
layers: 2019_ortho25
58+
url: https://service.pdok.nl/hwh/luchtfotorgb/wms/v1_0?
59+
layers: Actueel_orthoHR
6060
format: image/jpeg
6161
transparent: false
6262
coverage:
@@ -77,6 +77,37 @@ grids:
7777
# 17 levels 0-16
7878
res: [3440.64, 1720.32, 860.16, 430.08, 215.04, 107.52, 53.76, 26.88, 13.44, 6.72, 3.36, 1.68, 0.84, 0.42, 0.21, 0.105, 0.0525]
7979

80+
mercator:
81+
base: GLOBAL_MERCATOR
82+
tile_size: [256, 256]
83+
srs: 'EPSG:900913'
84+
# zoom 0-23
85+
# See https://gist.github.com/gagan-bansal/db6fb206f61b38f2f1c3
86+
res: [156543.03392804097,
87+
78271.51696402048,
88+
39135.75848201024,
89+
19567.87924100512,
90+
9783.93962050256,
91+
4891.96981025128,
92+
2445.98490512564,
93+
1222.99245256282,
94+
611.49622628141,
95+
305.748113140705,
96+
152.8740565703525,
97+
76.43702828517625,
98+
38.21851414258813,
99+
19.109257071294063,
100+
9.554628535647032,
101+
4.777314267823516,
102+
2.388657133911758,
103+
1.194328566955879,
104+
0.5971642834779395,
105+
0.29858214173896974,
106+
0.14929107086948487,
107+
0.07464553543474244,
108+
0.03732276771737122,
109+
0.01866138385868561]
110+
80111
globals:
81112
cache:
82113
# where to store the cached images

patches/01-srs-iter/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ In some cases the demo page renders with 'internal error'
33
See issue: https://github.com/mapproxy/mapproxy/issues/430
44
Error in uwsgi output
55

6+
Update: fixed by https://github.com/mapproxy/mapproxy/pull/420
7+
And in 1.13.2 version. Skipping in [apply.sh](apply.sh), but keeping the fix if ever needed.
8+
69
# commands
710

811
```

patches/01-srs-iter/apply.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
set -x
3-
patch /usr/local/lib/python3.7/dist-packages/mapproxy/srs.py srs-iter.patch
3+
echo "SKIP: patch /usr/local/lib/python3.7/dist-packages/mapproxy/srs.py srs-iter.patch"

0 commit comments

Comments
 (0)