Re: [QGIS-Developer] [Processing][Vector Geometry] Check Validity Algorithm

2019-09-27 Thread João Gaspar
Nice Jorge,
I think for now is relevant to explain the possible errors (I will try to
put some images) and explain to the users what is each one and give
possible hints how to fix them.

Cheers,
João

A sexta, 27/09/2019, 16:36, Jorge Gustavo Rocha  escreveu:

> Hi João,
>
> If you can see a good way to make both validation errors strings more
> similar (when the GEOS and QGIS error are the same), feel to make a
> proposal.
>
> Right now, for the same error, a user will see (for example):
>
> Using GEOS:
> Ring self-intersection
>
> Using QGIS:
> segments 2 and 126 of line 0 intersect at -2632521.58859, 5137728.25013
> segments 3 and 126 of line 0 intersect at -2632521.58859, 5137728.25013
>
> Regards,
>
> Jorge Gustavo
>
> PS For my classes/workshops, I use the alaska shapefile from
> https://qgis.org/downloads/data/
> It contains errors :-)
>
> Às 16:24 de 27/09/19, Jorge Gustavo Rocha escreveu:
> > Hi João,
> >
> > That would be great!
> >
> > For the GEOS validation, you can get the list of errors from:
> > src/core/geometry/qgsgeos.cpp
> >
> > QStringLiteral( "topology validation error" ), QObject::tr( "Topology
> > validation error", "GEOS Error" )
> > QStringLiteral( "repeated point" ), QObject::tr( "Repeated point", "GEOS
> > Error" )
> > QStringLiteral( "hole lies outside shell" ), QObject::tr( "Hole lies
> > outside shell", "GEOS Error" )
> > QStringLiteral( "holes are nested" ), QObject::tr( "Holes are nested",
> > "GEOS Error" )
> > QStringLiteral( "interior is disconnected" ), QObject::tr( "Interior is
> > disconnected", "GEOS Error" )
> > QStringLiteral( "self-intersection" ), QObject::tr( "Self-intersection",
> > "GEOS Error" )
> > QStringLiteral( "ring self-intersection" ), QObject::tr( "Ring
> > self-intersection", "GEOS Error" )
> > QStringLiteral( "nested shells" ), QObject::tr( "Nested shells", "GEOS
> > Error" )
> > QStringLiteral( "duplicate rings" ), QObject::tr( "Duplicate rings",
> > "GEOS Error" )
> > QStringLiteral( "too few points in geometry component" ), QObject::tr(
> > "Too few points in geometry component", "GEOS Error" )
> > QStringLiteral( "invalid coordinate" ), QObject::tr( "Invalid
> > coordinate", "GEOS Error" )
> > QStringLiteral( "ring is not closed" ), QObject::tr( "Ring is not
> > closed", "GEOS Error" )
> >
> > For the QGIS validation, you have to look at:
> > src/core/qgsgeometryvalidator.cpp
> >
> > QString msg = QObject::tr( "segment %1 of ring %2 of polygon
> > %3 intersects segment %4 of ring %5 of polygon %6 at %7" )
> >   QString msg = QObject::tr( "ring %1 with less than four points"
> > ).arg( i );
> >   QString msg = QObject::tr( "ring %1 not closed" ).arg( i );
> > QString msg = QObject::tr( "line %1 with less than two points"
> > ).arg( i );
> >   QString msg = QObject::tr( "line %1 contains %n duplicate node(s)
> > at %2", "number of duplicate nodes", n ).arg( i ).arg( j );
> >   QString msg = QObject::tr( "segments %1 and %2 of line %3
> > intersect at %4" ).arg( j ).arg( k ).arg( i ).arg( s.toString() );
> >   QString msg = QObject::tr( "Ring %1 of polygon %2 not in exterior
> > ring" ).arg( i ).arg( idx );
> >
> > I hope it helps.
> >
> > Best regards,
> >
> > Jorge Gustavo
> >
> > Às 15:20 de 27/09/19, João Gaspar escreveu:
> >> Hi devs,
> >> I need some guidance to help me find all possible error messages that
> >> are saved in the attribute table when we run the Check Validity
> >> Algorithm for both methods.
> >> This can be found in the source code?
> >>
> >> I search here but didn't find:
> >>
> https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/qgis/CheckValidity.py
> >>
> >> I'm asking this because this can be a good addition in the documentation
> >> to explain the errors that can occur to help understand what is what and
> >> why happens.
> >>
> >> Please feel free to give any advice.
> >>
> >> Thank you for your time.
> >>
> >> Cheers,
> >> João
> >>
> >> ___
> >> QGIS-Developer mailing list
> >> QGIS-Developer@lists.osgeo.org
> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >>
> >
> > J. Gustavo
> >
>
> J. Gustavo
> --
> Jorge Gustavo Rocha
> Departamento de Informática
> Universidade do Minho
> 4710-057 Braga
> Gabinete 3.29 (Piso 3)
> Tel: +351 253604480
> Fax: +351 253604471
> Móvel: +351 910333888
> skype: nabocudnosor
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Opening projects from PostgreSQL

2019-09-27 Thread Paolo Cavallini
Both current 3.4 and master.
Thanks.

On 27/09/19 19:11, Alessandro Pasotti wrote:
> 
> It reminds me of something, what QGIS version?
> 
> On Fri, Sep 27, 2019 at 6:37 PM Paolo Cavallini  > wrote:
> 
> Hi all,
> if I attempt to open a project stored in postgresql, I encounter a
> problem:
> * Project > Open from > PostgreSQL
> it shows the schema name, but from the project dropdown no project can
> be selected
> * then I sect the public schema, back to my data schema, the list of
> projects appears.
> A known issue?
> From browser all well.
> Cheers.
> -- 
> Paolo Cavallini - www.faunalia.eu 
> QGIS.ORG  Chair:
> http://planet.qgis.org/planet/user/28/tag/qgis%20board/
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org 
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 
> 
> -- 
> Alessandro Pasotti
> w3:   www.itopen.it 

-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [790] versioning approval notification.

2019-09-27 Thread noreply

Plugin versioning approval by pcav.
The plugin version "[790] versioning 1.0" is now approved
Link: http://plugins.qgis.org/plugins/qgis_versioning/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Opening projects from PostgreSQL

2019-09-27 Thread Alessandro Pasotti
It reminds me of something, what QGIS version?

On Fri, Sep 27, 2019 at 6:37 PM Paolo Cavallini 
wrote:

> Hi all,
> if I attempt to open a project stored in postgresql, I encounter a problem:
> * Project > Open from > PostgreSQL
> it shows the schema name, but from the project dropdown no project can
> be selected
> * then I sect the public schema, back to my data schema, the list of
> projects appears.
> A known issue?
> From browser all well.
> Cheers.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS.ORG Chair:
> http://planet.qgis.org/planet/user/28/tag/qgis%20board/
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alessandro Pasotti
w3:   www.itopen.it
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Loading pg raster crashes QGIS

2019-09-27 Thread Paolo Cavallini
Hi all,
I think the crash when zooming after loading a pg raster is back, both
in 3.4 and in master:
* load a single band raster from either Browser or DB Manager
* zoom in and out
* crash.
I'm struggling to find a way of consistently replicating this, using
tiles vs untiled rasters of different sizes, but it happens very often.
Occasionally it hangs QGIS, with the progress bar moving and no effect.
Any hint on what I can check?
Two different error messages in different occasions, see below.
Cheers.
===
[0]
ERROR 1: PostGISRasterDataset::LoadSources(): errore SSL SYSCALL:
Risorsa temporaneamente non disponibile

la colonna numero 1 non è compreso tra 0 e 0

Warning: Logged warning: RasterIO error:
PostGISRasterDataset::LoadSources(): errore SSL SYSCALL: Risorsa
temporaneamente non disponibile

la colonna numero 2 non è compreso tra 0 e 0

===
[1]
ERROR 1: PostGISRasterRasterBand::IRasterIO(): errore SSL: wrong version
number

Warning: Logged warning: RasterIO error:
PostGISRasterRasterBand::IRasterIO(): errore SSL: wrong version number
QGIS died on signal 11
-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Opening projects from PostgreSQL

2019-09-27 Thread Paolo Cavallini
Hi all,
if I attempt to open a project stored in postgresql, I encounter a problem:
* Project > Open from > PostgreSQL
it shows the schema name, but from the project dropdown no project can
be selected
* then I sect the public schema, back to my data schema, the list of
projects appears.
A known issue?
From browser all well.
Cheers.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] SQL editor in DB Manager

2019-09-27 Thread Paolo Cavallini
Hi Régis,
thanks for the feedback. My results:
* IT keyb > Crtl+ indeed works
* EN keyb > neither Crlt Shift + nor Crtl = work.
Cheers.

On 27/09/19 18:15, Régis Haubourg wrote:
> Hi Paolo,
> works here with 3.4 or master 3bb77b6918
>  using CTRL +
> 
> Cheers Régis
> 
> Le ven. 27 sept. 2019 à 17:51, Paolo Cavallini  > a écrit :
> 
> Hi all,
> as far as I remember, the sql editor embedded in DB Manager had the
> capability of increasing font size with Crtl+
> Now this seems gone. I think that's a pity, as it is very useful for
> teaching purposes.
> Any hint on how to get it back?
> Thanks.
> -- 
> Paolo Cavallini - www.faunalia.eu 
> QGIS.ORG  Chair:
> http://planet.qgis.org/planet/user/28/tag/qgis%20board/
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org 
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] SQL editor in DB Manager

2019-09-27 Thread Régis Haubourg
Hi Paolo,
works here with 3.4 or master 3bb77b6918
 using CTRL +

Cheers Régis

Le ven. 27 sept. 2019 à 17:51, Paolo Cavallini  a
écrit :

> Hi all,
> as far as I remember, the sql editor embedded in DB Manager had the
> capability of increasing font size with Crtl+
> Now this seems gone. I think that's a pity, as it is very useful for
> teaching purposes.
> Any hint on how to get it back?
> Thanks.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS.ORG Chair:
> http://planet.qgis.org/planet/user/28/tag/qgis%20board/
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [995] dzetsaka : Classification tool approval notification.

2019-09-27 Thread noreply

Plugin dzetsaka : Classification tool approval by pcav.
The plugin version "[995] dzetsaka : Classification tool 3.5.1" is now approved
Link: http://plugins.qgis.org/plugins/dzetsaka/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] SQL editor in DB Manager

2019-09-27 Thread Paolo Cavallini
Hi all,
as far as I remember, the sql editor embedded in DB Manager had the
capability of increasing font size with Crtl+
Now this seems gone. I think that's a pity, as it is very useful for
teaching purposes.
Any hint on how to get it back?
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Processing][Vector Geometry] Check Validity Algorithm

2019-09-27 Thread Jorge Gustavo Rocha
Hi João,

If you can see a good way to make both validation errors strings more
similar (when the GEOS and QGIS error are the same), feel to make a
proposal.

Right now, for the same error, a user will see (for example):

Using GEOS:
Ring self-intersection

Using QGIS:
segments 2 and 126 of line 0 intersect at -2632521.58859, 5137728.25013
segments 3 and 126 of line 0 intersect at -2632521.58859, 5137728.25013

Regards,

Jorge Gustavo

PS For my classes/workshops, I use the alaska shapefile from
https://qgis.org/downloads/data/
It contains errors :-)

Às 16:24 de 27/09/19, Jorge Gustavo Rocha escreveu:
> Hi João,
> 
> That would be great!
> 
> For the GEOS validation, you can get the list of errors from:
> src/core/geometry/qgsgeos.cpp
> 
> QStringLiteral( "topology validation error" ), QObject::tr( "Topology
> validation error", "GEOS Error" )
> QStringLiteral( "repeated point" ), QObject::tr( "Repeated point", "GEOS
> Error" )
> QStringLiteral( "hole lies outside shell" ), QObject::tr( "Hole lies
> outside shell", "GEOS Error" )
> QStringLiteral( "holes are nested" ), QObject::tr( "Holes are nested",
> "GEOS Error" )
> QStringLiteral( "interior is disconnected" ), QObject::tr( "Interior is
> disconnected", "GEOS Error" )
> QStringLiteral( "self-intersection" ), QObject::tr( "Self-intersection",
> "GEOS Error" )
> QStringLiteral( "ring self-intersection" ), QObject::tr( "Ring
> self-intersection", "GEOS Error" )
> QStringLiteral( "nested shells" ), QObject::tr( "Nested shells", "GEOS
> Error" )
> QStringLiteral( "duplicate rings" ), QObject::tr( "Duplicate rings",
> "GEOS Error" )
> QStringLiteral( "too few points in geometry component" ), QObject::tr(
> "Too few points in geometry component", "GEOS Error" )
> QStringLiteral( "invalid coordinate" ), QObject::tr( "Invalid
> coordinate", "GEOS Error" )
> QStringLiteral( "ring is not closed" ), QObject::tr( "Ring is not
> closed", "GEOS Error" )
> 
> For the QGIS validation, you have to look at:
> src/core/qgsgeometryvalidator.cpp
> 
> QString msg = QObject::tr( "segment %1 of ring %2 of polygon
> %3 intersects segment %4 of ring %5 of polygon %6 at %7" )
>   QString msg = QObject::tr( "ring %1 with less than four points"
> ).arg( i );
>   QString msg = QObject::tr( "ring %1 not closed" ).arg( i );
> QString msg = QObject::tr( "line %1 with less than two points"
> ).arg( i );
>   QString msg = QObject::tr( "line %1 contains %n duplicate node(s)
> at %2", "number of duplicate nodes", n ).arg( i ).arg( j );
>   QString msg = QObject::tr( "segments %1 and %2 of line %3
> intersect at %4" ).arg( j ).arg( k ).arg( i ).arg( s.toString() );
>   QString msg = QObject::tr( "Ring %1 of polygon %2 not in exterior
> ring" ).arg( i ).arg( idx );
> 
> I hope it helps.
> 
> Best regards,
> 
> Jorge Gustavo
> 
> Às 15:20 de 27/09/19, João Gaspar escreveu:
>> Hi devs,
>> I need some guidance to help me find all possible error messages that
>> are saved in the attribute table when we run the Check Validity
>> Algorithm for both methods.
>> This can be found in the source code?
>>
>> I search here but didn't find:
>> https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/qgis/CheckValidity.py
>>
>> I'm asking this because this can be a good addition in the documentation
>> to explain the errors that can occur to help understand what is what and
>> why happens.
>>
>> Please feel free to give any advice.
>>
>> Thank you for your time.
>>
>> Cheers,
>> João
>>
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> 
> J. Gustavo
> 

J. Gustavo
-- 
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Gabinete 3.29 (Piso 3)
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Processing][Vector Geometry] Check Validity Algorithm

2019-09-27 Thread Jorge Gustavo Rocha
Hi João,

That would be great!

For the GEOS validation, you can get the list of errors from:
src/core/geometry/qgsgeos.cpp

QStringLiteral( "topology validation error" ), QObject::tr( "Topology
validation error", "GEOS Error" )
QStringLiteral( "repeated point" ), QObject::tr( "Repeated point", "GEOS
Error" )
QStringLiteral( "hole lies outside shell" ), QObject::tr( "Hole lies
outside shell", "GEOS Error" )
QStringLiteral( "holes are nested" ), QObject::tr( "Holes are nested",
"GEOS Error" )
QStringLiteral( "interior is disconnected" ), QObject::tr( "Interior is
disconnected", "GEOS Error" )
QStringLiteral( "self-intersection" ), QObject::tr( "Self-intersection",
"GEOS Error" )
QStringLiteral( "ring self-intersection" ), QObject::tr( "Ring
self-intersection", "GEOS Error" )
QStringLiteral( "nested shells" ), QObject::tr( "Nested shells", "GEOS
Error" )
QStringLiteral( "duplicate rings" ), QObject::tr( "Duplicate rings",
"GEOS Error" )
QStringLiteral( "too few points in geometry component" ), QObject::tr(
"Too few points in geometry component", "GEOS Error" )
QStringLiteral( "invalid coordinate" ), QObject::tr( "Invalid
coordinate", "GEOS Error" )
QStringLiteral( "ring is not closed" ), QObject::tr( "Ring is not
closed", "GEOS Error" )

For the QGIS validation, you have to look at:
src/core/qgsgeometryvalidator.cpp

QString msg = QObject::tr( "segment %1 of ring %2 of polygon
%3 intersects segment %4 of ring %5 of polygon %6 at %7" )
  QString msg = QObject::tr( "ring %1 with less than four points"
).arg( i );
  QString msg = QObject::tr( "ring %1 not closed" ).arg( i );
QString msg = QObject::tr( "line %1 with less than two points"
).arg( i );
  QString msg = QObject::tr( "line %1 contains %n duplicate node(s)
at %2", "number of duplicate nodes", n ).arg( i ).arg( j );
  QString msg = QObject::tr( "segments %1 and %2 of line %3
intersect at %4" ).arg( j ).arg( k ).arg( i ).arg( s.toString() );
  QString msg = QObject::tr( "Ring %1 of polygon %2 not in exterior
ring" ).arg( i ).arg( idx );

I hope it helps.

Best regards,

Jorge Gustavo

Às 15:20 de 27/09/19, João Gaspar escreveu:
> Hi devs,
> I need some guidance to help me find all possible error messages that
> are saved in the attribute table when we run the Check Validity
> Algorithm for both methods.
> This can be found in the source code?
> 
> I search here but didn't find:
> https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/qgis/CheckValidity.py
> 
> I'm asking this because this can be a good addition in the documentation
> to explain the errors that can occur to help understand what is what and
> why happens.
> 
> Please feel free to give any advice.
> 
> Thank you for your time.
> 
> Cheers,
> João
> 
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

J. Gustavo
-- 
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Gabinete 3.29 (Piso 3)
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] [Processing][Vector Geometry] Check Validity Algorithm

2019-09-27 Thread João Gaspar
Hi devs,
I need some guidance to help me find all possible error messages that are
saved in the attribute table when we run the Check Validity Algorithm for
both methods.
This can be found in the source code?

I search here but didn't find:
https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/qgis/CheckValidity.py

I'm asking this because this can be a good addition in the documentation to
explain the errors that can occur to help understand what is what and why
happens.

Please feel free to give any advice.

Thank you for your time.

Cheers,
João
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Problem installing plugins from own repository

2019-09-27 Thread Raymond Nijssen

I set up my own plugin repo and meet exactly the problem as described here:

https://gis.stackexchange.com/questions/325790/error-downloading-a-plugin

Additional info: After restarting QGIS, the plugin is available *but 
inactive*. So I need to check it in the plugin manager and then it just 
works.


Seems like after downloading the zip and extracting it, QGIS is not able 
to find it anymore. Clues anyone?



Kind regards,
Raymond
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [995] dzetsaka : Classification tool approval notification.

2019-09-27 Thread noreply

Plugin dzetsaka : Classification tool approval by pcav.
The plugin version "[995] dzetsaka : Classification tool 3.5" is now approved
Link: http://plugins.qgis.org/plugins/dzetsaka/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1811] radolan2map approval notification.

2019-09-27 Thread noreply

Plugin radolan2map approval by pcav.
The plugin version "[1811] radolan2map 0.4" is now approved
Link: http://plugins.qgis.org/plugins/radolan2map/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Performance issues while loading a big QGIS project

2019-09-27 Thread Bauer.Josef
Thank you very much for the idea. This is also a very interesting approach we 
will consider.

Kind regards,
Josef

Von: QGIS-Developer  Im Auftrag von Bo 
Victor Thomsen
Gesendet: Mittwoch, 25. September 2019 08:55
An: qgis-developer@lists.osgeo.org
Betreff: Re: [QGIS-Developer] Performance issues while loading a big QGIS 
project


That's a bloody huge project...

I can't fathom you need all these layers at once.

You could try to split the project in a "base" project with a minimum set of 
layers and split the rest in of the layers/groups  into a number of qlr files.

And use the "QLR Browser" plugin to load/unload the different qlr files as you 
need them.

I personally think this method is better than using other plugins with similar 
functionality and certainly is better than loading 1080 layers at once.

The QLR browser plugin is used in a number of Danish municipalities which 
typically uses a very large number of layers in their daily use of QGIS.

--

Med venlig hilsen / Kind regards



Bo Victor Thomsen
Den 23-09-2019 kl. 16:34 skrev bauer.jo...@swm.de:
Dear QGIS developers,

we are facing some crucial performance issues while loading a big QGIS project.

The project ...
... has 1080 layers
... has 167 layer groups
... is heavily styled (in fact, most of the information in the .qgs file are 
stylings)
... has a size of 53 MB (the .gqs file)
... loads the data from a PostGIS database

The main problem we are facing is, that the loading time of the .qgs file is 
between 10 and 15 Minutes (depending on the network traffic).
We don't need all the layers which are defined in the .qgs file immediately. In 
most cases, we just need a bunch of those layers at once.

Therefore, the question is, if QGIS provides a mechanism to postpone the 
initial loading of all layers from QGIS startup to the point in time when we 
actually need the layers? I.e., the layer structure is loaded but not the layer 
data.

Is there a build-in QGIS mechanism that allows loading only the needed layers 
from the .qgs file and write the appropriate styles to it or is it planned to 
implement such a mechanism in QGIS?

Kind regards,
Josef



___

QGIS-Developer mailing list

QGIS-Developer@lists.osgeo.org

List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QGIS FCGI Server 3.9.0 - JPEG renders but PNG empty

2019-09-27 Thread Tom Vanzieleghem
Dear all,

I've compiled QGis 3.9.0-Master from source on CentOS Linux release 7.7,
mainly to deploy the QGis Mapserver.
At first sight the mapserver works but only renders jpeg format WMS
requests, png format request are empty. No errors in the qgisserver or
apache log.

Probably due to a mismatch in compiled libraries I guess. I've compiled
PROJ, GEOS, GDAL, LibSpatialite, exiv2 before hand.
PROJ 6.2.0
GEOS 3.7.2
GDAL 3.0.1
LibSpatialite 4.3
exiv2 0.27.2

Others are installed from packages.

As there are no error logs I've no idea which library could cause the
issue?
I would appreciate any suggestions which could point me in the right
direction?

My httpd configuration is as follows

  FcgidInitialEnv LC_ALL "en_US.UTF-8"
  FcgidInitialEnv PYTHONIOENCODING UTF-8
  FcgidInitialEnv LANG "en_US.UTF-8"

  # QGIS SERVER log (different from apache logs)
  FcgidInitialEnv QGIS_SERVER_LOG_FILE /data/qgis/server/log/serverlog.log
  FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0

  FcgidInitialEnv QGIS_DEBUG 1

  FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH "/data/qgis/server/db"
  FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE
"/data/qgis/server/db/qgis-auth.db"

  SetEnv PGSERVICEFILE /data/qgis/server/pg_service.conf
  FcgidInitialEnv PGPASSFILE "/data/qgis/server/.pgpass"

  ScriptAlias /cgi-bin/ /opt/qgis/bin/
  
AllowOverride None
Options +ExecCGI -MultiViews -SymLinksIfOwnerMatch
Require all granted
  

  
FcgidMaxRequestLen 26214400
FcgidConnectTimeout 60
  

best regards,

Tom Vanzieleghem

RAAP BV
Netherlands
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer