[MapProxy] Map shift between TMS and WMS

Frank Broniewski brfr at metrico.lu
Thu Aug 9 04:52:12 PDT 2012


Hi Jean-Claude,

thanks for answering. I don't think that there's a problem with the 3857 
epsg definition (since I didn't mess with it), but here's the required 
output anyways:

PROJCS["WGS 84 / Pseudo-Mercator",
     GEOGCS["WGS 84",
         DATUM["WGS_1984",
             SPHEROID["WGS 84",6378137,298.257223563,
                 AUTHORITY["EPSG","7030"]],
             AUTHORITY["EPSG","6326"]],
         PRIMEM["Greenwich",0,
             AUTHORITY["EPSG","8901"]],
         UNIT["degree",0.0174532925199433,
             AUTHORITY["EPSG","9122"]],
         AUTHORITY["EPSG","4326"]],
     PROJECTION["Mercator_1SP"],
     PARAMETER["central_meridian",0],
     PARAMETER["scale_factor",1],
     PARAMETER["false_easting",0],
     PARAMETER["false_northing",0],
     UNIT["metre",1,
         AUTHORITY["EPSG","9001"]],
     AXIS["X",EAST],
     AXIS["Y",NORTH],
     EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 
+lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext 
+no_defs"],
     AUTHORITY["EPSG","3857"]]

Proj is version 4.8.0


Many thanks,

Frank



Am 09.08.2012 13:33, schrieb Jean-Claude Repetto:
> Le 09/08/2012 10:23, Frank Broniewski a écrit :
>> Hi,
>>
>> I have a shift of my map in comparison to TMS between WMS layer.
>> I have a mapnik OpenStreetMap source and a wms relief source. If I use
>> the OpenStreetMap source as a tms and overlay the relief source as wms,
>> there's a vertical shift of the data so that it is not overlaying
>> correctly. If I use the OpenStreetMap source as wms and the relief as
>> wms, both are overlaying correctly. Now I wonder what may be the cause
>> of this behavior? Is this maybe due to the bounding box with which the
>> grid is configured?
>
> Hi,
>
> Are you sure the EPSG:3857 projection is correctly defined on your
> system ? What is the result of the command :
> epsg_tr.py 3857 ?
>
>
> Jean-Claude
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy


-- 
Frank BRONIEWSKI

METRICO s.à r.l.
géomètres
technologies d'information géographique
rue des Romains 36
L-5433 NIEDERDONVEN

tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
http://www.metrico.lu


More information about the MapProxy mailing list