[Qgis-user] Qgis server returns map from another project, that is defined in URL

Paolo Cavallini cavallini at faunalia.it
Thu Jul 24 13:27:36 PDT 2014


Exactly.
Known bug, or limitation.

On 24 luglio 2014 22:25:20 CEST, "Jan Michálek" <godzilalalala at gmail.com> wrote:
>Maybe is the problem in fact that i was creating this projects by
>cloning
>one with using sed etc for changing database schemes etc tj. layer id
>are
>the same in more projects.
>
>
>2014-07-24 21:24 GMT+02:00 Jan Michálek <godzilalalala at gmail.com>:
>
>> One more interesting thing, I'm able to select layers from wms, if
>they
>> have the same names. Maybe is solution for me select unique name for
>all
>> layers in my projects.
>>
>>
>> 2014-07-24 20:34 GMT+02:00 Jan Michálek <godzilalalala at gmail.com>:
>>
>> Thanks
>>> No, this problem is not in browser, becouse we had try it on more
>>> computers in the same time. And I opened it in qgis (wms)...
>>>
>>> Je;
>>>
>>>
>>> 2014-07-24 20:27 GMT+02:00 Alex Mandel <tech_dev at wildintellect.com>:
>>>
>>> On 07/24/2014 09:56 AM, Jan Michálek wrote:
>>>> > Have a nice day
>>>> > I have problem with qgis server (2.2). I have a few projects in
>my
>>>> folders
>>>> > and qgis doesn't use project specify in my url.
>>>> >
>>>> > For example i had folder called
>>>> > projects
>>>> > with two files. red.qgs a green.qgs with the same layer (from
>>>> postgis), but
>>>> > with differenet symbology (fill color).
>>>> >
>>>> > i use for first time url like this
>>>> >
>>>>
>http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/red.qgs&REQUEST=GetMap&BBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641&CRS=EPSG:5514&WIDTH=400&HEIGHT=300&LAYERS=test&STYLES=,,&FORMAT=image/png&DPI=96
>>>> >
>>>> > And I obtain red filled polygons (as is specified in red.qgs
>project).
>>>> >
>>>> > If i use this.
>>>> >
>>>> >
>>>>
>http://nejakejservr.cz/cgi-bin/qgis_mapserv.fcgi?MAP=/mnt/data/projects/green.qgs&REQUEST=GetMap&BBOX=-615170.147011,-1003827.798116,-614613.882202,-1003027.916641&CRS=EPSG:5514&WIDTH=400&HEIGHT=300&LAYERS=test&STYLES=,,&FORMAT=image/png&DPI=96
>>>> >
>>>> > I should obtain layer from green.qgs project, but i obtain red
>filled
>>>> > polygons from project i had use before.
>>>> >
>>>> > I had use qgis (2.4) on my desktop for this wms, but with the
>same
>>>> problem.
>>>> > I get lazers from first used project.
>>>> >
>>>> > Why?
>>>> >
>>>> > How I can change this?
>>>> >
>>>> > Thanks Je;
>>>>
>>>> Could it be your browser is caching the page since the url is the
>same
>>>> and only the parameters are changing? Try clearing your cache and
>>>> starting with the green url.
>>>>
>>>> Thanks,
>>>> Alex
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Qgis-user mailing list
>Qgis-user at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
http://faunalia.eu/
Sent from mobile, sorry for being short
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140724/86e0e6a9/attachment.html>


More information about the Qgis-user mailing list