Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS server rule based rendering based on joined layers results in "End of script output before headers: qgis_mapserv.fcgi" #20485

Closed
qgib opened this issue Mar 3, 2015 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Server Related to QGIS server
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Mar 3, 2015

Author Name: Tudor Bărăscu (@tudorbarascu)
Original Redmine Issue: 12307
Affected QGIS version: 2.8.1
Redmine category:qgis_server
Assignee: Marco Hugentobler


I have chased this issue for several days.
Having a project with joined layers and I want to use rule based styling; If I encompass any of the joined layers in the filter, the following error appears in QGIS Server.

In QGIS Desktop everything is working fine.
@
mod_fcgid: error reading data, FastCGI server closed connection, referer: http://..
qgis_mapserv.fcgi, referer: http://...
@

@qgib
Copy link
Contributor Author

qgib commented Mar 3, 2015

Author Name: Tudor Bărăscu (@tudorbarascu)


Tested also on Ubuntu Trusty and the same error appears in QGIS Server.

Also, I just noticed that the problems appears only when there are at least 2 joined layers.

For just one joined layer, everything works ok: styling with filtering based on a joined layer column works, data defined properties based on joined layer column also work etc.

As soon as I add a second joined layer:

a) if using rule based styling based on any column of any joined layer the features don't show up at all

b) if using data defined properties based on any column of any joined layer in any symbology type (single symbol, categorized, graduated etc.), the features do get drawn but they ignore any logic from data defined properies.

All this, without adding another filter from the second joined layer. Just adding the second join layer the server doesn't work properly.

Basically, the outcome of the issue is that features are not rendered at all in QGIS server, or they are rendered improperly.

All the best

@qgib
Copy link
Contributor Author

qgib commented Mar 4, 2015

Author Name: Giovanni Manghi (@gioman)


For just one joined layer, everything works ok: styling with filtering based on a joined layer column works, data defined properties based on joined layer column also work etc.

As soon as I add a second joined layer, the filtering doesn't work anymore, data defined properties based on any column of any joined layer doesn't work. All this, without adding any filter from the second joined layer. Just a simple join layer.

Also, I noticed the issue appears in data-defined-properties for every styling mode (single symbol, categorized, graduated etc.).

all this is on qgis desktop or server? on the desktop I joined a layer with two csv tables and filtering (in rule based renderer) and data defined symbology seems to work ok here.

Why you tagged this as blocker? in a previous qgis release in the same conditions it was working as expected?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Mar 4, 2015

Author Name: René-Luc ReLuc (@rldhont)


It's a regression affected QGIS Server.


  • assigned_to_id was configured as Marco Hugentobler

@qgib
Copy link
Contributor Author

qgib commented Mar 4, 2015

Author Name: Tudor Bărăscu (@tudorbarascu)


In Desktop everything works as it should.
Only in the server the problem arises.
From your questions I am now understanding that blocker should only be when it was working before.
I tested with QGIS 2.4 on Ubuntu 12.04 and issue is present.
I am using postgis layers.
All the best

@qgib
Copy link
Contributor Author

qgib commented Mar 4, 2015

Author Name: Denis Rouzaud (@3nids)


  • status_id was changed from Feedback to Open
  • priority_id was changed from Severe/Regression to High

@qgib
Copy link
Contributor Author

qgib commented Mar 5, 2015

Author Name: Marco Hugentobler (@mhugent)


Should be fixed


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Mar 5, 2015

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Server Related to QGIS server labels May 25, 2019
@qgib qgib added this to the Version 2.8.2 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Server Related to QGIS server
Projects
None yet
Development

No branches or pull requests

1 participant