[MapProxy] WMS EPSG:102067 reprojection problem

martin.koska3 at gmail.com martin.koska3 at gmail.com
Thu Dec 29 07:05:51 EST 2011

Dear all,

we are working with epsg: 102067 without problem.
My colleague  will come from the holidays on January 6.
I will ask him for an answer.

Martin Koska
> On 29.12.2011, at 01:28, Martin Kokeš wrote:
>> I get in source-requests.log request like this:
>> http://geoportal.cuzk.cz/WMS_ORTOFOTO_PUB/service.svc/get?styles=&format=image%2Fpng&height=1184
>> &bbox=-22072429.9911,-40399557.4804,-22058115.041,-40385241.7224&layers=GR_ORTFOTORGB&crs=EPSG%3A102067&service=WMS&request=Ge
>> tMap&width=1184&version=1.3.0
> What request are you sending to MapProxy? MapProxy cannot guess the BBOX of your service, so you need to set it with the coverage option. Otherwise MapProxy uses the complete world as the BBOX and you won't see anything in the demo service or in most GIS (zoom to layer).
>> 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
> You need to add the towgs84 parameters to your proj4 definition if you need them for correct transformation in MapProxy.
> Regards,
> Oliver

More information about the MapProxy mailing list