[Qgis-developer] Problem with QGIS server and layer display

Gary Sherman gsherman at geoapt.com
Tue Jan 31 17:30:27 EST 2012


I have compiled QGIS server and configured everything (Ubuntu 11.10)

I put together a project and when accessing it I see the project name and the layers list, but the map is rendered light red or pink and no data is displayed.

The Apache error log shows this:
[Tue Jan 31 13:00:45 2012] [warn] FastCGI: (dynamic) server "/var/vhosts/qgis-web-client/cgi-bin/qgis_mapserv.fcgi" started (pid 29838)
libpng warning: Application was compiled with png.h from libpng-1.5.4
libpng warning: Application  is  running with png.c from libpng-1.2.44

I don't have more than one version of libpng that I know of:
dpkg -l|grep png
ii  libpng12-0                             1.2.46-3ubuntu1                         PNG library - runtime
ii  libpng12-dev                           1.2.46-3ubuntu1                         PNG library - development

There are some png.h files from other packages (eg. gdal), but none of them are in the standard include directory paths, only in the source path where the package was built from. The one png.h that was version 1.5 was found in the Qt build directory---I moved it out of the way and did a rebuild to no avail.

Although I can't see anything on the map, the identify tool will display attribute data if I'm lucky enough to click in the right spot, which tells me that my layers are being accessed and the map extent is being set correctly.

Is there a directory where generated images are stored as in UMN MapServer? I haven't found a configuration options for it.

Of course this may have nothing to do with why my map is blank...

Any ideas?

-gary

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gary Sherman
GeoApt LLC
  http://geoapt.com
Chair, QGIS PSC
Book:
  http://geospatialdesktop.com
"We work virtually everywhere"
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=










More information about the Qgis-developer mailing list