[QGIS-Developer] "classify symmetric" feature

2018-03-10 Thread Pierre_Loicq
Hi all,

Just to advertise my feature to make symmetric classification. Who want to
take a look ? 
Here it is : https://github.com/qgis/QGIS/pull/6120

Thank you
Pierre



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
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] Speed up building time after git checkout

2017-10-28 Thread Pierre_Loicq
Hello,

Does anyone know how to speed up my building time after a checkout ? It
takes me 30 sec when I change just a file, with "ninja qgis"
(https://nathanw.net/2016/05/26/speeding-up-qgis-build-times-with-ninja/)
but when I checkout it takes like more than 1 hour, with my 2 cores  at
100%. 

Thank you
Pierre



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
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] Classification of values around zero

2017-09-09 Thread Pierre_Loicq
Hello,

I added a new method of classification in the graduated methods (symbology).
It is aimed at plotting data that are centered on zero, with a class around
zero (like [-1,1] instead of [-1,0],[0,1] ), and with a colorbar that stay
symmetric around zero (for this I remove the extra classes). It uses the
prettyBreaks method. If data are all positive or negative, an alert box
appear.

https://github.com/qgis/QGIS/pull/5161

Hoping that you can include it in 3.0
Thank you
Pierre (Tours, France)



Pierre_Loicq wrote
> Hi,
> 
> At the office, I often need to create map of modeled biases (float
> values), where it make sense to have a first class centered on zero
> (symbology/graduated). I learned C++ some months ago and would like to add
> this functionality as a first application, on the  master branch. 
> 
> Pierre





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
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] Classification of values around zero

2017-07-09 Thread Pierre_Loicq
Hi,

At the office, I often need to create map of modeled biases (float values),
where it make sense to have a first class centered on zero
(symbology/graduated). I learned C++ some months ago and would like to add
this functionality as a first application, on the  master branch. The
current classification methods are: Equal interval, quantile/equal count,
jenks, Standard deviation, Pretty breaks. Although an option (ticking box)
"around zero"  may be applied for each of them (maybe not for Jenks), I
think it's better to add a classification method in the list of methods. And
it would probably run on equal intervals.

Thank you
Pierre



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Classification-of-values-around-zero-tp5327167.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
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] [resolved] Qt4 asked when compiling current master

2017-03-21 Thread Pierre_Loicq
Pierre_Loicq wrote
> Hello,
> 
> I am trying to compile current master on ubuntu 16.04. I have this error:
> 
> [ 99%] Generating ../output/i18n/qgis_bg.qm
> lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No
> such file or directory
> lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No
> such file or directory
> i18n/CMakeFiles/translations.dir/build.make:97 : la recette pour la cible
> « output/i18n/qgis_ar.qm » a échouée
> make[2]: *** [output/i18n/qgis_ar.qm] Erreur 1
> make[2]: *** Attente des tâches non terminées
> i18n/CMakeFiles/translations.dir/build.make:101 : la recette pour la cible
> « output/i18n/qgis_bg.qm » a échouée
> make[2]: *** [output/i18n/qgis_bg.qm] Erreur 1
> CMakeFiles/Makefile2:3686 : la recette pour la cible
> « i18n/CMakeFiles/translations.dir/all » a échouée
> make[1]: *** [i18n/CMakeFiles/translations.dir/all] Erreur 2
> make[1]: *** Attente des tâches non terminées
> [ 99%] Built target zzz-db_manager-5-depend
> Makefile:160 : la recette pour la cible « all » a échouée
> make: *** [all] Erreur 2
> 
> I don't know why Qt4 is asked here. ccmake configuration only talks about
> Qt5
> 
> Thank you
> Pierre

Resolved ! I used apt-file to know which package I had to install:
qt4-linguist-tools





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Qt4-asked-when-compiling-current-master-tp5310808p5313502.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
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] Qt4 asked when compiling current master

2017-03-18 Thread Pierre_Loicq
Hello,

I would like to relaunch my question below.
More info: I installed packages like mentionned in the install doc :

apt-get install bison ca-certificates cmake dh-python doxygen flex gdal-bin
libgdal-dev python3-gdal etc

But then it told me I needed gdal 2.0, so I remove all above mentionned gdal
packages and installed again after adding
https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable to my
repositories.

Thank you
Pierre



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Qt4-asked-when-compiling-current-master-tp5310808p5313013.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
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] Qt4 asked when compiling current master

2017-03-05 Thread Pierre_Loicq
Hello,

I am trying to compile current master on ubuntu 16.04. I have this error:

[ 99%] Generating ../output/i18n/qgis_bg.qm
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such
file or directory
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such
file or directory
i18n/CMakeFiles/translations.dir/build.make:97 : la recette pour la cible
« output/i18n/qgis_ar.qm » a échouée
make[2]: *** [output/i18n/qgis_ar.qm] Erreur 1
make[2]: *** Attente des tâches non terminées
i18n/CMakeFiles/translations.dir/build.make:101 : la recette pour la cible
« output/i18n/qgis_bg.qm » a échouée
make[2]: *** [output/i18n/qgis_bg.qm] Erreur 1
CMakeFiles/Makefile2:3686 : la recette pour la cible
« i18n/CMakeFiles/translations.dir/all » a échouée
make[1]: *** [i18n/CMakeFiles/translations.dir/all] Erreur 2
make[1]: *** Attente des tâches non terminées
[ 99%] Built target zzz-db_manager-5-depend
Makefile:160 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2

I don't know why Qt4 is asked here. ccmake configuration only talks about
Qt5

Thank you
Pierre



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Qt4-asked-when-compiling-current-master-tp5310808.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
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