[Qgis-user] Qgis-Webclient and startExtent with EPSG900913-Bounds
Andreas Neumann
a.neumann at carto.net
Tue Dec 11 09:24:07 PST 2012
Thanks - I just applied your modifications into master.
There may be other problems in QGIS web client if one works with
degrees. Please let me know if you run into problems (e.g. with printing).
Andreas
Am 11.12.2012 18:15, schrieb Salvatore Larosa:
> I'm glad it works ! ;-)
>
> Cheers!
>
> 2012/12/11 Thomas Baumann <expedio at gmail.com>
>
>> Hi Salvatore,
>>
>> thanks for the pull request.
>>
>> I adapted my local GetUrlParams.js and now it works perfect.
>>
>> thanks again+best wishes,
>>
>> Thomas
>>
>>
>> 2012/12/11 Salvatore Larosa <lrssvtml at gmail.com>
>>
>>> Hi Thomas,
>>>
>>> 2012/12/11 Thomas Baumann <expedio at gmail.com>
>>>
>>>> Hello,
>>>>
>>>> I try to set the startExtent for my QGIS-Webclient-Map (a site with
>>>> 900913-Global-settings) but encounter Problems with the
>>>> EPSG900913-coordinates:
>>>>
>>>> If I try to set the startExtend with
>>>>
>>>>
>>>> &startExtent=-25913538.399811,-12795102.116832,31935055.700111,12564869.375981
>>>>
>>>> i get following message:
>>>> Start-parameter "startExtent" needs to be in OpenLayers.Bounds format:
>>>> 'left,bottom,right,top'
>>>>
>>>> Here the structure of my Request:
>>>>
>>>>
>>>> https://myserver/qgiswebclient/site/qgiswebclient.html?&map=/path_to_my_maps/mapname.qgs&format=image/png&visibleLayers=layer1,layer2&startExtent=-25913538.399811,-12795102.116832,31935055.700111,12564869.375981
>>>>
>>>> AFAIK the problem that existed in earlier versions with negativ values
>>>> for the start/maxExtent has been solved but
>>>> could it be that the dots of this float-values are still a problem?
>>>>
>>>>
>>> Yes, the dots are the problem !
>>>
>>>
>>>> Is there a workaround known for this?
>>>>
>>>
>>> I just sent a pull request [1] to get rid the problem !
>>> Anyway, you can change your local code in order to get it working !
>>> Could you give a try and let me know if it works for you ?
>>>
>>> Regards,
>>>
>>> -SL
>>>
>>> [1] - https://github.com/qgis/qgis-web-client/pull/21
>>>
>>>
>>>
>>>>
>>>> best wishes,
>>>>
>>>>
>>>>
>>> Thomas
>>>>
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>
>>>>
>>>
>>>
>>> --
>>> Salvatore Larosa
>>> linkedIn: http://linkedin.com/in/larosasalvatore
>>> twitter: @lrssvt
>>> skype: s.larosa
>>> IRC: lrssvt on freenode
>>>
>>>
>>
>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
More information about the Qgis-user
mailing list