[Qgis-developer] QGS Mapserver refactor and style issues

Tim Sutton lists at linfiniti.com
Fri Jun 10 10:41:25 EDT 2011


Hi (probably mainly to Marco)

1) I made some changes to the logging infrastructure in QGS Mapserver.
My pull request is here.

https://github.com/qgis/Quantum-GIS/pull/28

Could you take a look and tell me if you are ok for me to apply it?

2) I have this (big) problem with QGS Mapserver not rendering my
layers. I spent the day debugging and it seems that

in src/mapserver/qgswmsserver.cpp

1197     QList<QgsMapLayer*> layerList =
mConfigParser->mapLayerFromStyle( *llstIt, styleName, allowCaching );

always returns an empty list. My test map is very simple, three
postgis line layers all with default styling, epsg 32533 (UTM 33 N).
In all other respects, it seems to work fine (getCapabilities etc),
just the above line which cause no layers to be passed to maprenderer.
Do you have any ideas why this may be?

Thanks!


-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list