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 WFS server should not make geom response mandatory #22271

Closed
qgib opened this issue Feb 11, 2016 · 4 comments
Closed

QGIS WFS server should not make geom response mandatory #22271

qgib opened this issue Feb 11, 2016 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server

Comments

@qgib
Copy link
Contributor

qgib commented Feb 11, 2016

Author Name: Gavin Fleming (@gubuntu)
Original Redmine Issue: 14277
Affected QGIS version: 2.8.3
Redmine category:qgis_server
Assignee: René-Luc ReLuc


If I request a specific non-spatial property in a WFS request and do not want the geometry, QGIS server nevertheless returns the geometry.

In my case I want to return dates so I can establish a range of available dates in order to construct WMS queries with date filters. My layers have huge numbers of records so by returning the geometry unnecessarily, the response kills my server and application.

I believe default behaviour should be that if you don't request any properties you get a full record including geometry but that if you do request specific properties then only those properties be returned.

@qgib
Copy link
Contributor Author

qgib commented Feb 14, 2016

Author Name: Jukka Rahkonen (Jukka Rahkonen)


It depends on the schema. If geometry is "not null" in the schema the WFS server must send it even it was not requested. If geometry can be null and it is not included in the list of properties then it should not be returned. Use DescribeFeatureType and add the details into your ticket.

Have you considered to write first a question into QGIS users mailing list instead of making bug a report straight ahead?

@qgib
Copy link
Contributor Author

qgib commented Feb 16, 2016

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


  • assigned_to_id was configured as René-Luc ReLuc

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


End of life notice: QGIS 2.18 LTR

Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/


  • resolution was changed from to end of life
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Mar 9, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Server Related to QGIS server labels 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! Server Related to QGIS server
Projects
None yet
Development

No branches or pull requests

1 participant