[Qgis-developer] qgis wms

260222552 at qq.com
Fri Jul 24 00:49:14 PDT 2015


I publish wms vis geoserver
and use qgis requeset data via C++
and the uri parameter set as behind


QString mUrl = "http://localhost:8080/geoserver/wms";


		QgsDataSourceURI uri;
		uri.setParam("url",mUrl);
		uri.setParam( "layers", "nurc:Img_Sample");
		//uri.setParam( "InvertAxisOrientation", "1" );
		uri.setParam( "maxWidth", "256" );
		uri.setParam( "maxHeight",  "256");
		uri.setParam( "styles", "" );
		uri.setParam( "format", "image/png");
		uri.setParam( "IgnoreGetMapUrl", "1" );
		uri.setParam( "SRS","EPSG:4326");
		//uri.setParam( "crs","EPSG:4326");



I found that there is no tile and tilesorigin


How can I configure it and can get the tile.
thanks very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150724/f94a3c1f/attachment.html>


More information about the Qgis-developer mailing list