[mapserver-users] WMS cascading

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Apr 17 02:03:44 PDT 2008


Hi,
 
When you cascade WMS services the LAYER is defining the remote service. The result of using "wms_srs"  "EPSG:23033" in the nasa layer metadata means that your Mapserver is using EPSG:23033 when sending requests to wms.jpl.nasa.gov.  That is not what you want to do.
Use EPSG:4326 at layer level.  The output projections you want to have are described at MAP level WEB - METADATA section, that is the place to insert EPSG:23033.  At least this is how I understand the how-to documents "WMS clients with Mapserver" and "WMS servers with Mapserver".
 
Regards,
 
-Jukka Rahkonen-



________________________________

	Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Luca Casagrande
	Lähetetty: 17. huhtikuuta 2008 2:14
	Vastaanottaja: mapserver-users at lists.osgeo.org
	Aihe: [mapserver-users] WMS cascading
	
	
	Hello everybody,
	I am trying to serve, with my wms server, a layer coming from NASA WMS. The source projection is 4326 and I need to reproject to 23033; inside the metada I put the  wms_srs  value, but it's not working..I just just a white  image. Any idea?
	
	Thanks 
	Luca
	
	
	
	LAYER
	NAME "nasa"
	TYPE RASTER
	STATUS ON
	CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?"
	CONNECTIONTYPE WMS
	PROJECTION
	    "init=epsg:4326"
	END
	
	METADATA
	    "DESCRIPTION"         "JPL Global Mosaic (WMS)"
	    "wms_name"            "global_mosaic_base"
	    "wms_style"           "visual"
	    "wms_server_version"  "1.1.1"
	    "wms_format"          "image/jpeg"
	    "ows_title"           "jpl_wms_global_mosaic"
	    "wms_srs"             "EPSG:23033"
	END
	END
	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080417/bcaf6275/attachment.htm>


More information about the MapServer-users mailing list