Re: [Qgis-user] Drawing order in mobile client

2015-05-13 Thread Burghardt.Scholle
Hi Andreas,

yes, you're right and yes, I'm interested in the ruby script. Thank you for 
your offer.

Burghardt

***

Stadt Wolfsburg
Geschäftsbereich IT - 15-3 GIS
Rathaus E, Zi. E403, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Drawing order in mobile client

2015-05-13 Thread Andreas Neumann

Hi Burghardt,

So the problem is actually the layer order inside a group when you 
access the group directly, and not individual layers, right? Maybe 
Jürgen can do something about that.


BTW: if you want that ruby script I have for generating the json files, 
let me know. It queries the server using the GetProjectSettings command 
for creating the layer files. It also uses the QWC GISProjectListing.js 
file to read the topics. As such, it fully automates the transfer of the 
project settings from QWC to QMC.


Andreas

On 13.05.2015 07:35, burghardt.scho...@stadt.wolfsburg.de wrote:

Hi Andreas,

yes, of course I looked immediately at the json files. The grouped layer in my QGIS 
project I respond in QMC as one layer. Up to version 2.8.1 those grouped layers were 
presented in QMC in the correct drawing order. Now I have to completely "turn 
around" the QGIS project. This looks not very nice in QGIS desktop :-). Of course I 
could also disperse the grouped layers in the json file. However, this makes a lot of 
work and creates unnecessary maintenance - imho. BTW - I create the json files manually.

No, the network request I havn't checked not yet. I'll fetch it later.

Greetings
Burghardt

***

Stadt Wolfsburg
Geschäftsbereich IT - 15-3 GIS
Rathaus E, Zi. E403, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Drawing order in mobile client

2015-05-12 Thread Burghardt.Scholle
Hi Andreas,

yes, of course I looked immediately at the json files. The grouped layer in my 
QGIS project I respond in QMC as one layer. Up to version 2.8.1 those grouped 
layers were presented in QMC in the correct drawing order. Now I have to 
completely "turn around" the QGIS project. This looks not very nice in QGIS 
desktop :-). Of course I could also disperse the grouped layers in the json 
file. However, this makes a lot of work and creates unnecessary maintenance - 
imho. BTW - I create the json files manually.

No, the network request I havn't checked not yet. I'll fetch it later.

Greetings
Burghardt

***

Stadt Wolfsburg
Geschäftsbereich IT - 15-3 GIS
Rathaus E, Zi. E403, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Drawing order in mobile client

2015-05-12 Thread Andreas Neumann

Hi Burghardt,

The mobile client is not using the GetProjectSettings command directly, 
but the layer order is read from layer json files. It is therefore the 
client who decides the layer order, based on these layer json files. Did 
you have a look at these json files if the layer order is correct in 
these? Also, did you check the network request that QMC sends to the 
server if it matches the order in the layer json files?


Do you use a script to generate the layer json files? I have a Ruby 
script from Sourcepole to generate these layer json files. This ruby 
script reverses the layer order, as it seems that QMC expects a 
different layer order than QWC.


I have the impression that these layer json files may have the wrong 
rendering order.


Andreas

On 12.05.2015 12:43, burghardt.scho...@stadt.wolfsburg.de wrote:

Hi Jürgen,

yes - perhaps, your guess may be true, but under qgis server 2.8.1 I had no 
problems. Only since the version 2.8.2 I have these problems with the QMC - 
mainly with grouped layers. The QWC makes no problems.

Burghardt

***

Stadt Wolfsburg
Geschäftsbereich IT - 15-3 GIS
Rathaus E, Zi. E403, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Drawing order in mobile client

2015-05-12 Thread Burghardt.Scholle
Hi Jürgen,

yes - perhaps, your guess may be true, but under qgis server 2.8.1 I had no 
problems. Only since the version 2.8.2 I have these problems with the QMC - 
mainly with grouped layers. The QWC makes no problems.

Burghardt

***

Stadt Wolfsburg
Geschäftsbereich IT - 15-3 GIS
Rathaus E, Zi. E403, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Drawing order in mobile client

2015-05-12 Thread Jürgen E . Fischer
Hi Burghardt,

On Tue, 12. May 2015 at 08:00:28 +, burghardt.scho...@stadt.wolfsburg.de 
wrote:
> since updating to QGIS 2.8.2 I have problems with the drawing order in mobile
> client. With old and even with completely newly created projects I have to
> turn the drawing order, so that the map is drawn properly in mobile client.
> QGIS desktop and the web client will not be affected. The map is drawn in the
> correct order as in the previous versions. Can anyone give me a hint what
> could be wrong?

Sounds related to the fix for #12484 [0].   After which I got a similar report
about QWC showing the layers in the wrong order and reversed the layer to
restore the previous order [1].


Jürgen


[0] http://hub.qgis.org/issues/12484
[1] https://github.com/qgis/QGIS/commit/04324fd
 
-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Drawing order in mobile client

2015-05-12 Thread Burghardt.Scholle
Dear list,

since updating to QGIS 2.8.2 I have problems with the drawing order in mobile 
client. With old and even with completely newly created projects I have to turn 
the drawing order, so that the map is drawn properly in mobile client. QGIS 
desktop and the web client will not be affected. The map is drawn in the 
correct order as in the previous versions. Can anyone give me a hint what could 
be wrong?

Kind regards
Burghardt

***

Stadt Wolfsburg
Geschäftsbereich IT - 15-3 GIS
Rathaus E, Zi. E403, Porschestraße 47A, D-38440 Wolfsburg
Tel +49 5361 28-2531
Fax +49 5361 28-1765
mailto:burghardt.scho...@stadt.wolfsburg.de


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user