[MapProxy] WMS EPSG:102067 reprojection problem

Martin Kokeš shr3k at typo3-hosting.com
Wed Dec 28 19:28:32 EST 2011

Hello list,

I would like to setup mapproxy as temporary tile proxy for a WMS server. 
This WMS service 
have a source data in EPSG:102067. Built-in WMS reprojection to EPSG:3857 / 
EPSG:900913 however fails with shifted coordinates by approx. 120 m NE.

So I want to get WMS tiles with EPSG:102067, reproject and cache it on my 
server in EPSG:900913 and then serve as tiles. However can't get correctly 
reprojected files.

Instead a request like this:

I get in source-requests.log request like this:

As you see, bbox is somehow wrong.

I have /usr/share/proj/epsg with correct EPSG:102067 definition:
# S-JTSK Krovak East North
<102067> +proj=krovak +lat_0=49.5 +lon_0=24.83333333333333 
+alpha=30.28813972222222 +k=0.9999 +x_0=0 +y_0=0 +ellps=bessel +pm=greenwich 
+units=m +no_defs <>

One reference point transformation is correct:
echo "-868208.53 -1095793.57 512.30" | cs2cs +init=esri:102067 \
+towgs84=570.8,85.7,462.8,4.998,1.587,5.261,3.56 +to +init=epsg:4326

12d48'25.16"E 49d27'8.146"N 559.261

My mapproxy.yaml is here: http://pastebin.com/zBn2U3iS

Anyone can look at this and give me some advice, what I should check?



PS: Sorry for double post, there was some problem with Spamassasin. 

More information about the MapProxy mailing list