[Qgis-user] Qgis web client php search

Bernhard Ströbl bernhard.stroebl at jena.de
Fri Sep 12 03:16:16 PDT 2014


Hi Pam,

please note that I am not an expert for teh QWC php scripts :-)
Check what search_geom.php returns. I would _expect_ the coordinates 
returned are in WGS84 (because that is the CRS the data are in) whereas 
QWC interprest them as being WGS84/PseudoMeractor.

Easiest would be to have _all_ data and the project and QWC in the same CRS.

Bernhard

Am 12.09.2014 12:06, schrieb Pam Dowell:
> Hi,
>
> Latest QWC installed. No change.
>
> I have looked at the ticket below and made the suggested changes but to no avail.
>
> The CRS for the data is WGS 84. The project CRS and QWC are WGS 84 / Pseudo Mercator.
>
> I don’t have a publicly available server unfortunately.
>
> Pam
>
>
> On 12 Sep 2014, at 09:56, Bernhard Ströbl <bernhard.stroebl at jena.de> wrote:
>
>> Hi,
>>
>> please be sure to have the latest QWC installed.
>> Please check this [1] ticket which seems to address a similar problem.
>> Please provide more information on the CRS used by a) the data b) the project/QGIS server c) QWC
>>
>> If your server is publicly available please post its URL.
>>
>> Bernhard
>>
>> [1] http://hub.qgis.org/issues/8351
>>
>> Am 12.09.2014 10:25, schrieb Pam Gmail:
>>> Hi
>>> I have the web client set up on Mac OS Mavericks with QGIS server 2.4 and PostgreSQL 9.3. I have upgraded PHP to 5.5.16 and Apache is 2.4.10
>>> I have a Postgis layer and a OSM Baselayer. The Simple WMS search works fine but the PHP search doesn't zoom to the correct location after clicking on one of the search results. It appears to centre on the OSM map west of Africa. I have checked the process and search_geom.php is finding the correct coordinate returning it as POINT (long lat), but these don't appear to be passed to the next stage for some reason. I have tried both SELECT options in the search.php file with the same result.
>>>
>>> Any help would be much appreciated.
>>>
>>> Pam
>>>
>>>


__________ Information from ESET Mail Security, version of virus signature database 10406 (20140912) __________

The message was checked by ESET Mail Security.
http://www.eset.com





More information about the Qgis-user mailing list