Bug report #13527

Bad (, missing) GeoJSON response from WFS request for feature from multiple layers (multiple layers remains in the same qgis project)

Added by Mohammad Amin almost 10 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
Affected QGIS version:2.8.2 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:21570

Description

Hi,
I have the below qgis server configuration:
1. Operating System and version: Ubuntu 14.04.3 LTS
2. QGIS version: 2.8.2
3. Apache web server 2

I have the below problem (It might be a bug in gqis wfs service):
I have a qgis project with some layers on it. I have enabled WMS and WFS service for this qgis project on qgis server.
When I request a WFS request (for GeoJSON response) for multiple layers it returns a GeoJSON response as requested. But that GeoJSON response has some missing ",". Or it has missing "," between features from multiple layers.

For example, I have requested the below request and it has the above problem:

http://193.17.67.229/cgi-bin/externt/skola/?&service=WFS&request=GetFeature&bbox=194255.947401006%2C6215787.013507023%2C194933.14797865791%2C6216476.954568461&layers=omr_f6skola%2Comr_skola&styles=&typename=omr_f6skola%2Comr_skola&query_layers=omr_f6skola%2Comr_skola&info_format=application%2Fjson&feature_count=20&x=702&y=321&buffer=16&width=1040&height=1015&srs=EPSG%3A3008&exceptions=application%252Fvnd.ogc.se_xml&version=1.3.0&outputFormat=GeoJSON

I think it is a bug in qgis server wfs service.
Any help will be appriciated.
Thanks in advance.
//Amin

History

#1 Updated by Richard Duivenvoorde almost 10 years ago

Hi, can you please retest with a current nightly?

Recently the georss related issue #10515 was fixed.

Not sure if this fixes yours, but plz try

#2 Updated by Jürgen Fischer almost 10 years ago

I doubt that #10515 is related to this.

#3 Updated by Marcel Dancak over 9 years ago

Hi, this bug is still present in master branch. I have created a pull request with one possible way to fix this bug - https://github.com/qgis/QGIS/pull/2685. It would be great if somebody from developers could look at it. Thanks.

#4 Updated by Giovanni Manghi about 8 years ago

  • Regression? set to No
  • Easy fix? set to No

#5 Updated by Jürgen Fischer almost 8 years ago

  • Category set to Unknown

#6 Updated by Giovanni Manghi over 6 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF