Bug report #5081

QGIS server raster problem

Added by bradypus - about 12 years ago. Updated almost 12 years ago.

Status:Closed
Priority:Normal
Assignee:Marco Hugentobler
Category:Web Services clients/WMS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:14847

Description

Hello all,
I was successful to setup a qgis server project, using qgis desktop cgi script, and I can display & query data on qgis web client. Everything works fine with shapefile and database connection, but as soon as I add a raster (geotiff) the WMS server returns NetworkError: 500 Internal Server Error.

If I remove the raster layer everything keeps working fine.

Am I missing anything? Any suggestion or help?

History

#1 Updated by Thomas Arnold about 12 years ago

Hi,
try to change the FcgidIOTimeout parameter (is a fastcgi modul parameter; see http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidiotimeout). If you use a lot of raster data the default value is to short for the cgi script to calculate the map. In windows I have insert in httpd.d/httpd_qgis.conf this code (I use fastcgi):
<IfModule fcgid_module>
FcgidIOTimeout 200
</IfModule>
But complex raster data needs a lot of time (and memory) to load.

I hope that can help you

Thomas

#2 Updated by Giovanni Manghi about 12 years ago

  • Assignee set to Marco Hugentobler

#3 Updated by bradypus - about 12 years ago

Updating QGIS to 1.7.4-4 (MacOS) solved my problem.
I'm correctly visualizing rasters now. No need to change FcgidIOTimeout this time.
Thank you

#4 Updated by Marco Hugentobler almost 12 years ago

  • Status changed from Open to Closed

Seems this ticket can be closed now

Also available in: Atom PDF