[mapserver-users] MapServer as a reprojecting WMS proxy, is it possible?

Niccolo Rigacci niccolo at rigacci.org
Wed Oct 13 12:48:31 PDT 2010


Hi,

There is a WMS server providing EPSG:4326, but I need a WMS 
server providing EPSG:3003.

So I tried to configure MapServer to act as a proxy (both client 
and server), doing the reprojection. But I failed.

I tried something like this:

MAP
  ...
  PROJECTION
    'init=epsg:3003'
  END
  WEB
    METADATA
      'ows_srs' 'EPSG:3003'
    END
  END
  LAYER
    ...
    PROJECTION
      'init=epsg:4326'
    END
    METADATA
      'wms_srs' 'EPSG:4326 EPSG:3003'
    END
  END
END

As a server, it announces both EPSG:4326 and EPSG:3003, but if I 
ask for EPSG:3003, it uses the same SRS when acting as a client.

If I put just EPSG:4326 into LAYER.METADATA.wms_srs, the server 
does not announce EPSG:3003.

What can I do?

Thanks!

-- 
Niccolo Rigacci
Firenze - Italy



More information about the MapServer-users mailing list