[MapProxy] grid resolution configuration problem

PONELLE, Luc luc.ponelle at veolia.com
Mon Oct 17 06:59:07 PDT 2022


Hello
We upgrade our mapproxy environnemnt with the 1.15.1 version
When we launch mapproxy, we have the following error :
2022-10-17T11:10:38.243+02:00
mounting /mapproxy-app.py on /mapproxy
2022-10-17T11:10:38.313+02:00

[30602.4096385542, 15301.2048192771, 3060.2409638554, 1530.1204819277,
765.0602409639, 306.0240963855, 153.0120481928, 76.5060240964,
30.6024096386, 15.3012048193, 7.6506024096, 3.0602409639,
1.5301204819, 0.765060241, 0.3060240964, 0.1530120482, 0.0765060241,
0.0306024096, 0.0153012048, 0.0076506024] in grids.res not of type
dict
2022-10-17T11:10:38.313+02:00invalid configuration

The mapproxy.yaml resolution grids is configured like this :

grids:
epgs_3857:
srs: EPSG:3857
# Generated with:
# % docker exec -ti dd15ada724d8 mapproxy-util scales --dpi 83
--as-res-config 10000000 5000000 2500000 1000000 500000 250000 100000
50000 25000 10000 5000 2500 1000 500 250 100 50 25
res: [
# res level scale @83.0 DPI
30602.4096385542, # 0 100000000.00000000
15301.2048192771, # 1 50000000.00000000
3060.2409638554, # 2 10000000.00000000
1530.1204819277, # 3 5000000.00000000
765.0602409639, # 4 2500000.00000000
306.0240963855, # 5 1000000.00000000
153.0120481928, # 6 500000.00000000
76.5060240964, # 7 250000.00000000
30.6024096386, # 8 100000.00000000
15.3012048193, # 9 50000.00000000
7.6506024096, # 10 25000.00000000
3.0602409639, # 11 10000.00000000
1.5301204819, # 12 5000.00000000
0.7650602410, # 13 2500.00000000
0.3060240964, # 14 1000.00000000
0.1530120482, # 15 500.00000000
0.0765060241, # 16 250.00000000
0.0306024096, # 17 100.00000000
0.0153012048, # 18 50.00000000
0.0076506024, # 19 25.00000000
]

Anybody has an idea to fix this problem ?
THanks in advance
Luc

-- 


--------------------------------------------------------------------------------------------This 
e-mail transmission (message and any attached files) may contain 
information that is proprietary, privileged and/or confidential to Veolia 
Environnement and/or its affiliates and is intended exclusively for the 
person(s) to whom it is addressed. If you are not the intended recipient, 
please notify the sender by return e-mail and delete all copies of this 
e-mail, including all attachments. Unless expressly authorized, any use, 
disclosure, publication, retransmission or dissemination of this e-mail 
and/or of its attachments is strictly prohibited. 


Ce message 
electronique et ses fichiers attaches sont strictement confidentiels et 
peuvent contenir des elements dont Veolia Environnement et/ou l'une de ses 
entites affiliees sont proprietaires. Ils sont donc destines a l'usage de 
leurs seuls destinataires. Si vous avez recu ce message par erreur, merci 
de le retourner a son emetteur et de le detruire ainsi que toutes les 
pieces attachees. L'utilisation, la divulgation, la publication, la 
distribution, ou la reproduction non expressement autorisees de ce message 
et de ses pieces attachees sont interdites.
--------------------------------------------------------------------------------------------


More information about the MapProxy mailing list