Re: [Qgis-user] (poor) performance loading postgis layers in qgis-server 2.8 ltr + postgis 2.1 + lizmap web-client

2016-06-23 Thread Bernhard Ströbl
I am just wondering: Why is the "big" table only twenty rows? Is this a 
multi(polygon?) table? If yes and the parts of each multipolygon are all 
over the place then this is your problem. QGIS has to load all parts 
although only a couple of them are visible at the moment. And if it 
happens that parts of all 20 features are visible QGIS has to load 
_everything_.


To make it a non-multi table:

CREATE newtable as(
gid SERIAL NOT NULL
other_fields,
pk_constraint);
SELECT addgeometrycolumn(newtable,); --Polygon
-- explode-code
INSERT INTO newtable(gid,the_geom,other_fields)
SELECT nextval('newtable_gid_seq') AS gid, the_geom, other_fields
FROM (SELECT ST_GeometryN(the_geom, generate_series(1, 
ST_NumGeometries(the_geom))) AS the_geom, other_fields

FROM your_multi_table
WHERE GeometryType(the_geom) = 'MULTIPOLYGON'
) AS foo;

(I do not remember where I once read this code, so I cannot give credits 
to the author here, I am afraid)


You could of course explode the multi features in QGIS and load the 
result into the db, too.

Create a spatial index on newtable and vacuum it afterwards.

Bernhard

Am 24.06.2016 um 05:40 schrieb Daniel Vicente Lühr Sierra:

Hi,

Indeed, 2.14.3 shows a better performance with respect to serving
database data, even without yet tuning the database server.

But, I still experience some performance issues. One, I detected when
using the print composer, which is very unresponsive if there is a map
object with a big database layer and redrawing is needed (without
drawing the map, the UI responds fine).

Second, the webclient layers load in decent time, even the "big-one".
But, trying to use lizmap's "tooltip" feature on the big layer, or
trying to access its attribute table is still not possible. I haven't
checked the code, but maybe the way the data is being requested in these
situations is suboptimal?

Regards

El 21/06/16 a las 11:08, Daniel Vicente Lühr Sierra escribió:


Hi Régis,


El 21/06/16 a las 10:37, Régis Haubourg escribió:

Hi,
please see that thread [0]

Thanks.

I suggest you first upgrade qgis server to last 2.14.3.

Ok, some weeks ago I decided to stay with 2.8 ltr, until 2.14 was more
tested, it looks like it is time for upgrading.

Then we still have issues with big relational views, not tables - for
first getcapabilities generation (ie first load for a session).
You can also check your postgres logs to look at what queries are
sent to PG and then tune your pg server based on those queries.

Ok. Although, I still need to learn how to do it ...

Please keep us informed of how it works, we have the very same concerns.

Sure, thanks again.

[0] 
http://osgeo-org.1560.x6.nabble.com/Server-performance-questions-td5252233i20.html#a5268188

2016-06-21 16:29 GMT+02:00 Daniel Vicente Lühr Sierra :

 Hi,

 It is my first time at setting up a postgres/PostGIS db for
 storing "serious" data (previously, I had only tested if it
 worked, with a couple of small data tables).

 When testing the web-client (lizmap) installation I noticed that
 the sample data loaded pretty fast, but when I tried a project
 containing 2 vector layers stored in the database, one very
 small, the second one was originally a ~30Mb shape file, the
 loading process for the 2 layers is noticeable, and reading the
 attribute table of the big vector layer (only 20 rows and 10
 fields) takes ages (actually, I wasn't able to wait for it to load).

 I did some "google" research and found out that there might be
 some performance issues on qgis-server when accessing postgresql
 layer, or it could be that the performance of the db is low (I
 haven't run the tuning utility, yet).

 Any ideas on how to hunt down this performance issue? May it be
 an issue with the web-client, also?

 Btw, everything is running locally on a VM for now, although the
 final deployment will be on "real" hardware.

 Thanks

 --
 Daniel Vicente Lühr Sierra
 IEEE Member
 IEEE Student Branch Counselor - Universidad Austral de Chile





__ Information from ESET Mail Security, version of virus signature 
database 13698 (20160624) __

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


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

Re: [Qgis-user] (poor) performance loading postgis layers in qgis-server 2.8 ltr + postgis 2.1 + lizmap web-client

2016-06-23 Thread Alessandro Pasotti
2016-06-24 5:40 GMT+02:00 Daniel Vicente Lühr Sierra :

> Hi,
>
> Indeed, 2.14.3 shows a better performance with respect to serving database
> data, even without yet tuning the database server.
>
>
Hello,

just a general consideration about testing QGIS server performances, you
should try to test with a tool like "ab" and only test direct WMS/WFS calls
to the server, bypassing any other software layer like PHP, Python or
whatever your web application uses.

If you introduce other software layers in the play, you'll never know where
exactly the bottleneck is.


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] (poor) performance loading postgis layers in qgis-server 2.8 ltr + postgis 2.1 + lizmap web-client

2016-06-23 Thread Daniel Vicente Lühr Sierra
Hi,

Indeed, 2.14.3 shows a better performance with respect to serving
database data, even without yet tuning the database server.

But, I still experience some performance issues. One, I detected when
using the print composer, which is very unresponsive if there is a map
object with a big database layer and redrawing is needed (without
drawing the map, the UI responds fine).

Second, the webclient layers load in decent time, even the "big-one".
But, trying to use lizmap's "tooltip" feature on the big layer, or
trying to access its attribute table is still not possible. I haven't
checked the code, but maybe the way the data is being requested in these
situations is suboptimal?

Regards

El 21/06/16 a las 11:08, Daniel Vicente Lühr Sierra escribió:
>
> Hi Régis,
>
>
> El 21/06/16 a las 10:37, Régis Haubourg escribió:
>> Hi, 
>> please see that thread [0]
> Thanks.
>> I suggest you first upgrade qgis server to last 2.14.3.
> Ok, some weeks ago I decided to stay with 2.8 ltr, until 2.14 was more
> tested, it looks like it is time for upgrading.
>> Then we still have issues with big relational views, not tables - for
>> first getcapabilities generation (ie first load for a session). 
>> You can also check your postgres logs to look at what queries are
>> sent to PG and then tune your pg server based on those queries.
> Ok. Although, I still need to learn how to do it ...
>> Please keep us informed of how it works, we have the very same concerns.
> Sure, thanks again.
>> [0] 
>> http://osgeo-org.1560.x6.nabble.com/Server-performance-questions-td5252233i20.html#a5268188
>>
>> 2016-06-21 16:29 GMT+02:00 Daniel Vicente Lühr Sierra :
>>
>> Hi,
>>
>> It is my first time at setting up a postgres/PostGIS db for
>> storing "serious" data (previously, I had only tested if it
>> worked, with a couple of small data tables).
>>
>> When testing the web-client (lizmap) installation I noticed that
>> the sample data loaded pretty fast, but when I tried a project
>> containing 2 vector layers stored in the database, one very
>> small, the second one was originally a ~30Mb shape file, the
>> loading process for the 2 layers is noticeable, and reading the
>> attribute table of the big vector layer (only 20 rows and 10
>> fields) takes ages (actually, I wasn't able to wait for it to load).
>>
>> I did some "google" research and found out that there might be
>> some performance issues on qgis-server when accessing postgresql
>> layer, or it could be that the performance of the db is low (I
>> haven't run the tuning utility, yet).
>>
>> Any ideas on how to hunt down this performance issue? May it be
>> an issue with the web-client, also?
>>
>> Btw, everything is running locally on a VM for now, although the
>> final deployment will be on "real" hardware.
>>
>> Thanks
>>
>> -- 
>> Daniel Vicente Lühr Sierra
>> IEEE Member
>> IEEE Student Branch Counselor - Universidad Austral de Chile
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org 
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>>
>>
>> -- 
>> Régis Haubourg
>>
>> Attention, changement d'adresse mail!
>> Mon adresse principale devient désormais regis.haubourg at gmail.com
>> 
>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> -- 
> Daniel Vicente Lühr Sierra
> IEEE Member
> IEEE Student Branch Counselor - Universidad Austral de Chile
>

-- 
Daniel Vicente Lühr Sierra
IEEE Member
IEEE Student Branch Counselor - Universidad Austral de Chile

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

Re: [Qgis-user] [Ubuntu] QGIS 2.14.3 with ubuntugis dependencies on Ubuntu xenial?

2016-06-23 Thread Angelos Tzotsos

On 06/24/2016 01:33 AM, Alex M wrote:

On 06/23/2016 03:10 PM, Claas Leiner wrote:

Does somebody know,
When QGIS 2.14.3 with ubuntugis dependencies (gdal 2.1!) is available
for Ubuntu  xenial?

Best wishes,
Claas

I'm forwarding this to the Ubuntugis list. Should only take a few days,
mostly someone in the know with the keys having a chance to upload it.

2.14.1 is there already.

Looks like 2.14.3 is in the osgeolive nightly builds so I'll check with
Angelos if we can just copy it.
https://launchpad.net/~osgeolive/+archive/ubuntu/nightly

Thanks,
Alex

___
UbuntuGIS mailing list
ubu...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki


I am currently keeping UbuntuGIS Testing in sync with OSGeoLive nightly 
ppa, so QGIS 2.14.3 is already copied there too.
I would prefer to have it a bit tested before we copy to Unstable, so 
testers are welcome :)


Cheers,
Angelos

--
Angelos Tzotsos, PhD
OSGeo Charter Member
http://users.ntua.gr/tzotsos

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

Re: [Qgis-user] QGIS 2.14.3 with ubuntugis dependencies on Ubuntu xenial?

2016-06-23 Thread Angelos Tzotsos

On 06/24/2016 01:10 AM, Claas Leiner wrote:

Does somebody know,
When QGIS 2.14.3 with ubuntugis dependencies (gdal 2.1!) is available 
for Ubuntu  xenial?


Best wishes,
Claas
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user


Hi,

It is already available in UbuntuGIS Testing ppa.
It will move to Unstable once OSGeoLive 10.0 is released.

Best,
Angelos

--
Angelos Tzotsos, PhD
OSGeo Charter Member
http://users.ntua.gr/tzotsos

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

Re: [Qgis-user] QGIS 2.14.3 with ubuntugis dependencies on Ubuntu xenial?

2016-06-23 Thread Alex M
On 06/23/2016 03:10 PM, Claas Leiner wrote:
> Does somebody know,
> When QGIS 2.14.3 with ubuntugis dependencies (gdal 2.1!) is available
> for Ubuntu  xenial?
> 
> Best wishes,
> Claas

I'm forwarding this to the Ubuntugis list. Should only take a few days,
mostly someone in the know with the keys having a chance to upload it.

2.14.1 is there already.

Looks like 2.14.3 is in the osgeolive nightly builds so I'll check with
Angelos if we can just copy it.
https://launchpad.net/~osgeolive/+archive/ubuntu/nightly

Thanks,
Alex

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

[Qgis-user] QGIS 2.14.3 with ubuntugis dependencies on Ubuntu xenial?

2016-06-23 Thread Claas Leiner

Does somebody know,
When QGIS 2.14.3 with ubuntugis dependencies (gdal 2.1!) is available 
for Ubuntu  xenial?


Best wishes,
Claas
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Variables in print composer

2016-06-23 Thread Nyall Dawson
On 23 Jun 2016 21:57, "Neumann, Andreas"  wrote:
>
> Hi Uwe,
>
> All "map_xx" variables are only available on the map frame item itself
(when it is selected) - nowhere else. Items in print composer are on the
same hierarchy - so can't see each other's scope or variables in each
scope. But all items in a composition can see the "composition" variables
because they are one hierarchy above in the scope.
>
> That's a limitation you can't currently overcome. It would be nice to
cross-reference variables from other elements in the same hierarchy - but
it is not possible currently - at least I don't know how.

Andreas has summed it up perfectly. I originally had a function which
allowed items to access variables from another composer item, but had to
pull it out as it opened the risk of circular references (ie data defined
position for an item which uses item position variable from another item,
which in turn uses a variable from the first item). It's not trivial (or
fun) to solve, but if sponsorship is available I could fix this.

Nyall

>
> Andreas
>
> On 2016-06-23 13:36, Uwe Fischer wrote:
>>
>> Martin,
>>
>>
>>
>> thank you very much for your tip, but in the variables list no variables
of type „map" show up (please see attachment). But in print composter they
are present and visible.
>>
>>
>>
>> Mit freundlichen Grüßen,
>>
>>
>>
>> Uwe Fischer
>>
>>
>>
>> Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von
Martin Stubbs
>> Gesendet: Donnerstag, 23. Juni 2016 12:46
>> An: qgis-user@lists.osgeo.org
>> Betreff: Re: [Qgis-user] Variables in print composer
>>
>>
>>
>> On 23/06/16 08:30, Uwe Fischer wrote:
>>>
>>> Hello List,
>>>
>>>
>>>
>>> what is the use of variables in print composer? A map frame has
variables assigned like map_extent_height and _width. But how to make use
of those variables? If I try to place a rectangle around the map frame
using the determined extent variables (plus something), I cannot use the
variables. There is a ‚data defined override' section in the Position and
size dialog for rectangles, but when I select ‚variable' it tells me that
there are no variables, which seems to be nonsense.
>>>
>>>
>>>
>>>
>>>
>>> Best regards, Uwe
>>>
>>>
>>
>> Uwe,
>>
>> When you select a Data_defined_override in Position and size, pick edit
from the list instead of variable. In the Expression string builder you
will find map_extent_height in the Variables list.
>>
>> Regards
>> Martin
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Variables in print composer

2016-06-23 Thread Junior
Qd

Envoyé depuis mon HTC

- Reply message -
De : "Uwe Fischer" 
Pour : "'Martin Stubbs'" , 
Objet : [Qgis-user] Variables in print composer
Date : jeu., juin 23, 2016 13:36

Martin, thank you very much for your tip, but in the variables list no 
variables of type „map“ show up (please see attachment). But in print composter 
they are present and visible. Mit freundlichen Grüßen, Uwe Fischer
Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Martin 
Stubbs
Gesendet: Donnerstag, 23. Juni 2016 12:46
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] Variables in print composer
On 23/06/16 08:30, Uwe Fischer wrote:
Hello List, what is the use of variables in print composer? A map frame has 
variables assigned like map_extent_height and _width. But how to make use of 
those variables? If I try to place a rectangle around the map frame using the 
determined extent variables (plus something), I cannot use the variables. There 
is a ‚data defined override‘ section in the Position and size dialog for 
rectangles, but when I select ‚variable‘ it tells me that there are no 
variables, which seems to be nonsense.  Best regards, Uwe Uwe,

When you select a Data_defined_override in Position and size, pick edit from 
the list instead of variable. In the Expression string builder you will find 
map_extent_height in the Variables list.

Regards
Martin___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Variables in print composer

2016-06-23 Thread Junior
Qd

Envoyé depuis mon HTC

- Reply message -
De : "Uwe Fischer" 
Pour : "'Martin Stubbs'" , 
Objet : [Qgis-user] Variables in print composer
Date : jeu., juin 23, 2016 13:36

Martin, thank you very much for your tip, but in the variables list no 
variables of type „map“ show up (please see attachment). But in print composter 
they are present and visible. Mit freundlichen Grüßen, Uwe Fischer
Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Martin 
Stubbs
Gesendet: Donnerstag, 23. Juni 2016 12:46
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] Variables in print composer
On 23/06/16 08:30, Uwe Fischer wrote:
Hello List, what is the use of variables in print composer? A map frame has 
variables assigned like map_extent_height and _width. But how to make use of 
those variables? If I try to place a rectangle around the map frame using the 
determined extent variables (plus something), I cannot use the variables. There 
is a ‚data defined override‘ section in the Position and size dialog for 
rectangles, but when I select ‚variable‘ it tells me that there are no 
variables, which seems to be nonsense.  Best regards, Uwe Uwe,

When you select a Data_defined_override in Position and size, pick edit from 
the list instead of variable. In the Expression string builder you will find 
map_extent_height in the Variables list.

Regards
Martin___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] summing linelengths

2016-06-23 Thread Reginald Carlier
Hi Richard,

Unfortunately in QGIS 2.14 there is no help dialog with the tool so I did not 
get the explanation you posted. 
I tested the tool and it does work indeed. It makes the sum of the line 
features for each input record of the polygon layer.
I agree with you that the name should be changed, and  I am glad there will be 
explanation available in future QGIS versions.

Regards,


Reginald Carlier
Deskundige GIS

Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster 
T +32 51 33 74 39 www.ingelmunster.be
-Oorspronkelijk bericht-
Van: Richard Duivenvoorde [mailto:rdmaili...@duif.net] 
Verzonden: donderdag 23 juni 2016 11:10
Aan: Reginald Carlier; 'qgis-user@lists.osgeo.org'
Onderwerp: Re: [Qgis-user] summing linelengths

On 23-06-16 10:16, Reginald Carlier wrote:
> Hi,
> 
>  
> 
> I’m using QGIS 2.14 and found that the ‘Vector tool’ > 
> Analyse-gereedschap > Basisstatistieken was what I needed.
> 
> I still don’t know what the tool ‘Lijnlengtes sommeren’ does. This 
> tool should be removed as it does not generate any output.

Hi Reginald,

Running QGIS in english, you get the following descriptions in the dialog (at 
least with me here on QGIS master, in 2.14 there is no 'help'
text I see...):

Sum line lengths

This algorithm takes a polygon layer and a lines layer and measure the total 
length of lines and the total numer of them that cross each polygon.
The resulting layer has the same features as the input polygon layer, but with 
two additional attributes containing the length and lines count of layers 
across each polygon. The names of these two fields can be configured in the 
algorithm parameters.

Did you check that too?
I'm not sure what exactly the purpose or use-case is for this. But instead of 
removing maybe someone can provide a better name?

Regards,

Richard Duivenvoorde

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

Re: [Qgis-user] Offline Editing: Call for testing (QGIS 2.16)

2016-06-23 Thread Alessandro Pasotti
2016-06-23 9:52 GMT+02:00 Matthias Kuhn :

> Hi Luigi
>
> On 06/23/2016 09:43 AM, Luigi Pirelli wrote:
> > Hi Mathias,
> >
> > seems that offline editing is used (I don't know heavily or not) but
> > enough to do bug fixing on demand, so I'm wondering this problems
> > weren't reported.
>
> The one problem which was reported is solved now.
>
> > In Boundless we have a couple of manual tests about offlineplugin
> > against a geoserver WFS to prevent regression on what was fixed, btw
> > as said by Alessandro, would be great to develop some automatic tests.
>
> I'll be happy to get the results from your tests!
>


Unfortunately the QA tests in Boundless only tested the issues reported on
hub that I've fixed two month ago and only the insert new feature
operation, that's why they didn't catch the attribute edit error.

In general, I think that the offline editing was not usable due to crashes,
now it seems in a much better shape (thank you for the fixes!).

BTW, I'm testing WFS-T offline editing and it's broken: I cannot even
convert the project to offline, I only get a small number of the available
features.

-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Variables in print composer

2016-06-23 Thread Neumann, Andreas
Hi Uwe, 

All "map_xx" variables are only available on the map frame item itself
(when it is selected) - nowhere else. Items in print composer are on the
same hierarchy - so can't see each other's scope or variables in each
scope. But all items in a composition can see the "composition"
variables because they are one hierarchy above in the scope. 

That's a limitation you can't currently overcome. It would be nice to
cross-reference variables from other elements in the same hierarchy -
but it is not possible currently - at least I don't know how. 

Andreas 

On 2016-06-23 13:36, Uwe Fischer wrote:

> Martin, 
> 
> thank you very much for your tip, but in the variables list no variables of 
> type „map" show up (please see attachment). But in print composter they are 
> present and visible. 
> 
> Mit freundlichen Grüßen, 
> 
> Uwe Fischer 
> 
> VON: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] IM AUFTRAG VON 
> Martin Stubbs
> GESENDET: Donnerstag, 23. Juni 2016 12:46
> AN: qgis-user@lists.osgeo.org
> BETREFF: Re: [Qgis-user] Variables in print composer 
> 
> On 23/06/16 08:30, Uwe Fischer wrote: 
> 
>> Hello List, 
>> 
>> what is the use of variables in print composer? A map frame has variables 
>> assigned like map_extent_height and _width. But how to make use of those 
>> variables? If I try to place a rectangle around the map frame using the 
>> determined extent variables (plus something), I cannot use the variables. 
>> There is a ‚data defined override' section in the Position and size dialog 
>> for rectangles, but when I select ‚variable' it tells me that there are no 
>> variables, which seems to be nonsense. 
>> 
>> Best regards, Uwe
> 
> Uwe,
> 
> When you select a Data_defined_override in Position and size, pick edit from 
> the list instead of variable. In the Expression string builder you will find 
> map_extent_height in the Variables list.
> 
> Regards
> Martin
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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

Re: [Qgis-user] Offline Editing: Call for testing (QGIS 2.16)

2016-06-23 Thread Alessandro Pasotti
2016-06-22 17:20 GMT+02:00 Matthias Kuhn :

> Hi Alessandro,
>
> On 06/22/2016 01:35 PM, Alessandro Pasotti wrote:
>
> > 2016-06-22 11:13 GMT+02:00 Matthias Kuhn  > >:
> > If you use offline editing, please be so kind and test tomorrows
> nightly
> > build and report any issues you find. I'll be happy to ship the next
> > version of QGIS with a much improved offline editing support.
> >
> >
> > What it exactly the test procedure? What exactly was broken?
>
> The mapping of source feature id > offline feature id. Whenever you
> changed an attribute value and sync'ed back, it would change the
> attribute value of a different feature (Unless you are extremely happy
> to get exactly the one feature where the mapping matches).
>
> Testing is very easy
>
>  * make a project offline
>  * change a few attributes on some features
>  * synchronize the changes
>  * check if the correct features have been updated
>
> Thanks a lot!
> Matthias
>



Tested master @ b04041:

with postgis layers:
- edit geometries: ok
- edit attributes: ok
- create new elements: ok


Still need to test WFS-T, I'll let you know.


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Variables in print composer

2016-06-23 Thread Uwe Fischer
Martin,

 

thank you very much for your tip, but in the variables list no variables of 
type „map“ show up (please see attachment). But in print composter they are 
present and visible.

 

Mit freundlichen Grüßen,

 

Uwe Fischer

 

Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Martin 
Stubbs
Gesendet: Donnerstag, 23. Juni 2016 12:46
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] Variables in print composer

 

On 23/06/16 08:30, Uwe Fischer wrote:

Hello List,

 

what is the use of variables in print composer? A map frame has variables 
assigned like map_extent_height and _width. But how to make use of those 
variables? If I try to place a rectangle around the map frame using the 
determined extent variables (plus something), I cannot use the variables. There 
is a ‚data defined override‘ section in the Position and size dialog for 
rectangles, but when I select ‚variable‘ it tells me that there are no 
variables, which seems to be nonsense.

 

 

Best regards, Uwe

 

Uwe,

When you select a Data_defined_override in Position and size, pick edit from 
the list instead of variable. In the Expression string builder you will find 
map_extent_height in the Variables list.

Regards
Martin

  

 

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

Re: [Qgis-user] Installing map server + Lizmap on Ubuntu 16.04

2016-06-23 Thread virtusmankind
UPDATE:

Finally Lizmap seems to work! Using  Linux.rst

  
guide wih 2 major corrections:
1) In *php5 configuration* paragraph 
"/cat > /etc/apache2/conf.d/php.conf/" was replaced with "/cat >
/etc/apache2/conf-available/php5-cgi.conf/"
2) In *Retrieve and install Lizmap Web Client* paragraph I used version
2.12.6 instead of 2.12.4 purposed.

Launching localhost/lm/ I can see Lizmap project page.

NEW PROBLEMS FOUND:

1) Lizmap stuck on Loading Data Map as shown in following screenshot:
 

2) Can't retrieve QGis Server with  URL

  
 
I use both Lizmap documentation and   QGis Support

  
to install QGis Server 

Any help is appreciated.

Thanks




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Installing-map-server-Lizmap-on-Ubuntu-16-04-tp5271440p5272987.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Variables in print composer

2016-06-23 Thread Martin Stubbs

On 23/06/16 08:30, Uwe Fischer wrote:


Hello List,

what is the use of variables in print composer? A map frame has 
variables assigned like map_extent_height and _width. But how to make 
use of those variables? If I try to place a rectangle around the map 
frame using the determined extent variables (plus something), I cannot 
use the variables. There is a ‚data defined override‘ section in the 
Position and size dialog for rectangles, but when I select ‚variable‘ 
it tells me that there are no variables, which seems to be nonsense.


Best regards, Uwe



Uwe,

When you select a Data_defined_override in Position and size, pick edit 
from the list instead of variable. In the Expression string builder you 
will find map_extent_height in the Variables list.


Regards
Martin
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] FW: Cannot split feature in a multipolygon PostGIS feature type in QGIS

2016-06-23 Thread Bernhard Ströbl

Hi Chris,

I assume you use the interactive scissor tool? If I use this to split a 
part of a two-part multipolygon feature (one part has a hole in it) I 
end up with three data sets:

1) northern half of part 1,
2) southern half of part 1
3) part 2
This is QGIS 2.14.3, PostGIS 2.2

Be sure that the edit layer is in the same projection as the project, 
though.


Bernhard

Am 23.06.2016 um 12:01 schrieb Chris Buckmaster:

Sorry I should point out that my feature I am trying to edit has multiple donut 
type areas within it, as I just tried it on a 'normal' feature from the same 
layer and it worked - so perhaps my question is are there known issues when 
trying to split features that have donuts existing in them?!

From: Chris Buckmaster
Sent: 23 June 2016 10:58
To: qgis-user@lists.osgeo.org
Subject: Cannot split feature in a multipolygon PostGIS feature type in QGIS

Hi

I am trying to use the split features tool to split a feature but am having 
problems.

The layer is a PostGIS layer which has a multipolygon type, when I try to split 
it I do not receive any warnings / errors, but nothing is split. Can I ask are 
there any known issues when trying to use the split feature tool on PostGIS 
multipolygon feature types?

Thanks



__ Information from ESET Mail Security, version of virus signature 
database 13693 (20160623) __

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




___



__ Information from ESET Mail Security, version of virus signature 
database 13693 (20160623) __

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


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

Re: [Qgis-user] Cannot split feature in a multipolygon PostGIS feature type in QGIS

2016-06-23 Thread Chris Buckmaster
Sorry I solved this in that you have to draw a 'v' line to intersect the 
feature twice, which of course makes sense!

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Chris 
Buckmaster
Sent: 23 June 2016 10:58
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Cannot split feature in a multipolygon PostGIS feature 
type in QGIS

Hi

I am trying to use the split features tool to split a feature but am having 
problems.

The layer is a PostGIS layer which has a multipolygon type, when I try to split 
it I do not receive any warnings / errors, but nothing is split. Can I ask are 
there any known issues when trying to use the split feature tool on PostGIS 
multipolygon feature types?

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

[Qgis-user] Cannot split feature in a multipolygon PostGIS feature type in QGIS

2016-06-23 Thread Chris Buckmaster
Hi

I am trying to use the split features tool to split a feature but am having 
problems.

The layer is a PostGIS layer which has a multipolygon type, when I try to split 
it I do not receive any warnings / errors, but nothing is split. Can I ask are 
there any known issues when trying to use the split feature tool on PostGIS 
multipolygon feature types?

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

[Qgis-user] FW: Cannot split feature in a multipolygon PostGIS feature type in QGIS

2016-06-23 Thread Chris Buckmaster
Sorry I should point out that my feature I am trying to edit has multiple donut 
type areas within it, as I just tried it on a 'normal' feature from the same 
layer and it worked - so perhaps my question is are there known issues when 
trying to split features that have donuts existing in them?!

From: Chris Buckmaster
Sent: 23 June 2016 10:58
To: qgis-user@lists.osgeo.org
Subject: Cannot split feature in a multipolygon PostGIS feature type in QGIS

Hi

I am trying to use the split features tool to split a feature but am having 
problems.

The layer is a PostGIS layer which has a multipolygon type, when I try to split 
it I do not receive any warnings / errors, but nothing is split. Can I ask are 
there any known issues when trying to use the split feature tool on PostGIS 
multipolygon feature types?

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

Re: [Qgis-user] summing linelengths

2016-06-23 Thread Anita Graser
On Thu, Jun 23, 2016 at 11:10 AM, Richard Duivenvoorde 
wrote:

> On 23-06-16 10:16, Reginald Carlier wrote:
> > I still don’t know what the tool ‘Lijnlengtes sommeren’ does. This tool
> > should be removed as it does not generate any output.
>
> I'm not sure what exactly the purpose or use-case is for this. But
> instead of removing maybe someone can provide a better name?


​I've used that tool in the past, for example to compute street network
length per district. It works fine and should not be removed​
​
​. Like all tools, CRS of both input layers have to match. A better (but
longer) name would be "Sum line lengths per area".

Best wishes,
Anita

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

Re: [Qgis-user] summing linelengths

2016-06-23 Thread Richard Duivenvoorde
On 23-06-16 10:16, Reginald Carlier wrote:
> Hi,
> 
>  
> 
> I’m using QGIS 2.14 and found that the ‘Vector tool’ >
> Analyse-gereedschap > Basisstatistieken was what I needed.
> 
> I still don’t know what the tool ‘Lijnlengtes sommeren’ does. This tool
> should be removed as it does not generate any output.

Hi Reginald,

Running QGIS in english, you get the following descriptions in the
dialog (at least with me here on QGIS master, in 2.14 there is no 'help'
text I see...):

Sum line lengths

This algorithm takes a polygon layer and a lines layer and measure the
total length of lines and the total numer of them that cross each polygon.
The resulting layer has the same features as the input polygon layer,
but with two additional attributes containing the length and lines count
of layers across each polygon. The names of these two fields can be
configured in the algorithm parameters.

Did you check that too?
I'm not sure what exactly the purpose or use-case is for this. But
instead of removing maybe someone can provide a better name?

Regards,

Richard Duivenvoorde

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

[Qgis-user] summing linelengths

2016-06-23 Thread Reginald Carlier
Hi,

I'm using QGIS 2.14 and found that the 'Vector tool' > Analyse-gereedschap > 
Basisstatistieken was what I needed.
I still don't know what the tool 'Lijnlengtes sommeren' does. This tool should 
be removed as it does not generate any output.

Greetings,


Reginald Carlier
Deskundige GIS

[http://www.ingelmunster.be/ingelmunster.gif]

Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster
T +32 51 33 74 39 www.ingelmunster.be

[http://www.ingelmunster.be/fb.jpg] 
[http://www.ingelmunster.be/go.jpg]   
[http://www.ingelmunster.be/in.jpg]   
[http://www.ingelmunster.be/pi.jpg]   
[http://www.ingelmunster.be/tw.jpg] 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Offline Editing: Call for testing (QGIS 2.16)

2016-06-23 Thread Matthias Kuhn
Hi Luigi

On 06/23/2016 09:43 AM, Luigi Pirelli wrote:
> Hi Mathias,
> 
> seems that offline editing is used (I don't know heavily or not) but
> enough to do bug fixing on demand, so I'm wondering this problems
> weren't reported.

The one problem which was reported is solved now.

> In Boundless we have a couple of manual tests about offlineplugin
> against a geoserver WFS to prevent regression on what was fixed, btw
> as said by Alessandro, would be great to develop some automatic tests.

I'll be happy to get the results from your tests!
And some unit tests certainly would be great! I'll have a look.

Matthias

> 
> cheers
> Luigi Pirelli
> 
> **
> * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS:
> https://www.packtpub.com/application-development/mastering-qgis
> **
> 
> 
> On 22 June 2016 at 11:13, Matthias Kuhn  wrote:
>> Dear offline editing users,
>>
>> I am happy to be sponsored by the QGIS project to fix bugs for the
>> upcoming 2.16 release.
>>
>> In this process I just fixed a bug in offline editing [1] where
>> attribute changes were performed on the wrong feature after
>> synchronization with the online layer.
>>
>> I think that the code was completely broken before and that it has been
>> impossible to correctly edit attributes in an offline project. In this
>> case however I wonder why there have not been more issue reports. Either
>> nobody used it. Or nobody reported. Or (my fear) this was a local issue
>> and offline editing is now broken under previously working conditions.
>>
>> If you use offline editing, please be so kind and test tomorrows nightly
>> build and report any issues you find. I'll be happy to ship the next
>> version of QGIS with a much improved offline editing support.
>>
>> Thank you for your help
>> Matthias
>>
>> [1] https://hub.qgis.org/issues/14727
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Offline Editing: Call for testing (QGIS 2.16)

2016-06-23 Thread Luigi Pirelli
Hi Mathias,

seems that offline editing is used (I don't know heavily or not) but
enough to do bug fixing on demand, so I'm wondering this problems
weren't reported.
In Boundless we have a couple of manual tests about offlineplugin
against a geoserver WFS to prevent regression on what was fixed, btw
as said by Alessandro, would be great to develop some automatic tests.

cheers
Luigi Pirelli

**
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS:
https://www.packtpub.com/application-development/mastering-qgis
**


On 22 June 2016 at 11:13, Matthias Kuhn  wrote:
> Dear offline editing users,
>
> I am happy to be sponsored by the QGIS project to fix bugs for the
> upcoming 2.16 release.
>
> In this process I just fixed a bug in offline editing [1] where
> attribute changes were performed on the wrong feature after
> synchronization with the online layer.
>
> I think that the code was completely broken before and that it has been
> impossible to correctly edit attributes in an offline project. In this
> case however I wonder why there have not been more issue reports. Either
> nobody used it. Or nobody reported. Or (my fear) this was a local issue
> and offline editing is now broken under previously working conditions.
>
> If you use offline editing, please be so kind and test tomorrows nightly
> build and report any issues you find. I'll be happy to ship the next
> version of QGIS with a much improved offline editing support.
>
> Thank you for your help
> Matthias
>
> [1] https://hub.qgis.org/issues/14727
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Variables in print composer

2016-06-23 Thread Uwe Fischer
Hello List,

 

what is the use of variables in print composer? A map frame has variables
assigned like map_extent_height and _width. But how to make use of those
variables? If I try to place a rectangle around the map frame using the
determined extent variables (plus something), I cannot use the variables.
There is a ,data defined override' section in the Position and size dialog
for rectangles, but when I select ,variable' it tells me that there are no
variables, which seems to be nonsense.

 

 

Best regards, Uwe

 

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