Feature request #6268

Qgis WMS server : error when asking data with qgis-web-client

Added by Eric MOI over 11 years ago. Updated over 11 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Pull Request or Patch supplied:No Resolution:invalid
Easy fix?:No Copied to github as #:15573

Description

Hello,

It seems that, whatever is the SRC in qgis projets, the request made by qgis-web-client is always in EPSG:4326 ref, and with incorrect BBOX values.

I see in my server logs :
http://127.0.0.1//cgi-bin/qgis_mapse...e_inimage&SRS=EPSG%3A4326&BBOX=245953.31073421,5851499.8722899,2 46173.68926579,5851660.1277101&WIDTH=1008&HEIGHT=733

but it should be (in EPSG:3857) :
http://127.0.0.1//cgi-bin/qgis_mapse...e_inimage&SRS=EPSG%3A3857&BBOX=-706101.94927708,5081160.22902979,1146939.95881506, 6671372.72362724&WIDTH=1008&HEIGHT=733

or in EPSG:4326 :
http://127.0.0.1//cgi-bin/qgis_mapse...e_inimage&SRS=EPSG%3A4326&BBOX=-5.13902,40.881876463294,9.55983,51.570623536706&WIDTH=1008&HEIGHT=733

History

#1 Updated by Giovanni Manghi over 11 years ago

  • Category set to QGIS Server
  • Target version set to Version 2.0.0

Not sure if is related, but have you set the "CRS restrictions" in the project properties?

#2 Updated by Eric MOI over 11 years ago

Yes, i've set the "CRS restrictions" in the project properties ;-)

#3 Updated by Eric MOI over 11 years ago

I've moved this issue to :
#6277

Could you close this one ?

Sorry...

#4 Updated by Jürgen Fischer over 11 years ago

  • Resolution set to invalid
  • Category deleted (QGIS Server)
  • Status changed from Open to Closed

Also available in: Atom PDF