[mapserver-users] selecting a wms layer

pippi p.laranci at terrasystem.it
Mon Apr 4 01:56:10 PDT 2016


hello, 

I can correctly visualize a wms layer with mapserver and pmapper as:
CONNECTION
'http://web.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmscatasto'.

If I add the &layer parameter, it still works, but no selection of the
choosen layers is done (while in Qgis it is possible):
CONNECTION
'http://web.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmscatasto&layer=rt_cat.idcatpart.rt,rt_cat.idcatacque.rt,rt_cat.idcatstrade.rt,rt_cat.idcatfabbr.rt,rt_cat.idcatbdfog.rt'

Can someone give me any clue please? how can I choose just the layers that I
need?


this is the complete code of the layer:

LAYER
    NAME 'Catasto-Toscana'
    GROUP "Catasto"
    TYPE RASTER
    DUMP true
    TEMPLATE "map.html" 
    CONNECTIONTYPE WMS
    CONNECTION
'http://web.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmscatasto&layer=rt_cat.idcatpart.rt,rt_cat.idcatacque.rt,rt_cat.idcatstrade.rt,rt_cat.idcatfabbr.rt,rt_cat.idcatbdfog.rt'	
	
    MAXSCALEDENOM 10000
    METADATA
       "DESCRIPTION" "Catastale terreni (test)"	 
      'ows_name' 'rt_cat'  	
      'wms_server_version' '1.1.1'   # con 1.3.0 come da metadati si blocca
      'ows_srs' 'EPSG:32632'
      'wms_format' 'image/png'
      'wms_style' 'default'	
    END    
    STATUS OFF
    TRANSPARENCY 100
    PROJECTION
		"init=epsg:32632"
    END
  END


Peter



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/selecting-a-wms-layer-tp5259459.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list