You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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?
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.
The text was updated successfully, but these errors were encountered: