Re: [Qgis-developer] QGIS 2.2 and MultiPolygonZM
2014-03-10 22:29 GMT+01:00 A Huarte ahuart...@yahoo.es: Hi, if you disable on-the-fly simplification in rendering layer properties, the problem persists? Yes: changing simplify does not affect visibility - still not visible. Now I'm testing latest master, the problem is still here. In the logs: rc/core/symbology-ng/qgsrendererv2.cpp: 362: (renderFeatureWithSymbol) feature 359: unsupported wkb type 0x87d6 for rendering -- Alessandro Pasotti w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Backport necessary fixes to release-2_2 branch?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 10/03/2014 23:03, Blumentrath, Stefan ha scritto: Thanks for that one. I did not know about the GPX-bug. Would have been expensive to discover that bug first during field work... So, I second Giovanni`s wish. Otherwise going back to 2.0 would be the only alternative... Hi all. We are discussing about bugfix releases. Please bear with us. As this involves some extra work along the release and package chain, my personal opinion is that users, and especially institutional users, with large installation base, have their best interest in supporting this effort, thus releasing energies for core development. It would also help if you could maintain a list of fixes to be backported. All the best. - -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlMeunoACgkQ/NedwLUzIr41IQCeJkmEtuLdoQ3G66rduCL51fad 9W4An0FXt4AgfbDn7UIuhez2wd/Uqx2m =PWqd -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [Qgis-user] Labelling expressions: how to select the 'last' row in a csv dataset
Hi Gavin, Create the second CSV file with only one row (the latest one). Rémi 2014-03-11 9:34 GMT+01:00 Gavin Macaulay ga...@macaulay.co.nz: Bob, Thanks for the suggestion. How does one get the csv provider to read just the first line? Gavin On 10/03/2014 10:25 p.m., Basques, Bob (CI-StPaul) wrote: Gavin, Set up the CSV file creation to append to the top of the file instead of the bottom, then just read the first line for the special cartography. If you are running on Linux, there are a whole bunch of options with AWK/GREP, etc to get the data outputting in a more favorable fashion for reading. My first thought was to suggest the SQL path though, this gives you lots of options for archiving and looking at the path/trail over time . . . I've just completed doing something similar for a AVL tracking system. Bobb -Original Message- From: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-bounces@ lists.osgeo.org] On Behalf Of Gavin Macaulay Sent: Monday, March 10, 2014 3:18 PM To: qgis-u...@lists.osgeo.org Subject: [Qgis-user] Labelling expressions: how to select the 'last' row in a csv dataset Hi, I have a csv file that looks like this: datetime, latitude, longitude, speed 2014-03-07T06:11:56.794000, 69.6930, 19.0321, 0.0 2014-03-07T06:12:56.791000, 69.6904, 19.0291, 10.0 2014-03-07T06:13:56.787000, 69.6879, 19.0257, 10.0 A new row gets added to the file every second or so. I load this file into QGIS as a csv file with the watch option turned on so that every time the map is refreshed, the map plots any new points that have been added to the file. I would like to have the most recent line in the file plotted with a different symbol to the rest (the data represents realtime data from a moving ship so it's good to highlight the latest position). I can almost do this using the expression based labelling, but not quite (I can get a row number, but not the total number of rows, so can't do something obvious like: $rownum == $numrows, or $id == max($id)). Any suggestions on how I can achieve this? I could move the data into a SQL-based layer and choose the last row using an SQL statement, but the simplicity of generating the csv files is attractive. Thanks Gavin ___ Qgis-user mailing list qgis-u...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list qgis-u...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Fwd: [SoC] Google Summer of Code 2014: student application period opens
Hi all, just an reminder for would-be students and mentors. Student application period opens. More info below -- Forwarded message -- From: Anne Ghisla a.ghi...@gmail.com Date: 2014-03-10 20:04 GMT+02:00 Subject: [SoC] Google Summer of Code 2014: student application period opens To: OSGeo Google Summer of Code list s...@lists.osgeo.org, OSGeo Discuss list disc...@lists.osgeo.org, OSGeo Education List edu_disc...@lists.osgeo.org, ICA OSGeo Labs list ica-osgeo-l...@lists.osgeo.org Hello all, and sorry for cross posting, in little less than one hour (March 10th, 19:00 UTC) Google Summer of Code students application period will open [0]. The application period closes in two weeks, on March 21st. Here [1] is a link to all common questions on GSoC, that cover the basics about the program and also specific questions on how to apply and what are the requirements for students and mentors. OSGeo homepage on Melange shows the application template [2] that students shall use and will contain the direct link for application submission. Our suggestions to students are summarized as follows: - check the eligibility requirements first (see the link to common questions) - get inspiration and info from the OSGeo Ideas wiki page [3] - if you are new, introduce yourself to the developer team you wish to join - register on Melange and submit the application, even as draft, not later than next week. You are able to edit it or withdraw it anytime during the application period. Interested students and mentors are welcome to ask for clarification on the soc list s...@lists.osgeo.org or, if privacy is needed, to the admins directly.. Let us remind that you don't need to already be an expert to take part to GSoC - if you are unsure, just ask what are the required skills for a given idea! [0] GSoC homepage https://www.google-melange.com/gsoc/homepage/google/gsoc2014 [1] GSoC FAQ https://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2014/help_page [2] OSGeo application template for students https://www.google-melange.com/gsoc/org2/google/gsoc2014/osgeo [3] OSGeo Ideas http://wiki.osgeo.org/wiki/Google_Summer_of_Code_2014_Ideas Looking forward for great applications, Anne, Hamish and Dustan OSGeo GSoC Admins ___ SoC mailing list s...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/soc -- Alexander Bruy signature.asc Description: PGP signature ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] A stupid problem with python, that is making me more stupid :)
Hello All, as in object, I had an error from python, with my source code, that I do not understand CamNick = 90 - int(pitch) ValueError: invalid literal for int() with base 10: '36.30' Somebody can help me to understand why 36.30 is not good to reurn an int value ? For me, is a mistery. :( Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] A stupid problem with python, that is making me more stupid :)
hi, roberto you use a integer value so 36.30 is not integer. try with real? enzo 2014-03-11 12:56 GMT+01:00 Geo DrinX geodr...@gmail.com: Hello All, as in object, I had an error from python, with my source code, that I do not understand CamNick = 90 - int(pitch) ValueError: invalid literal for int() with base 10: '36.30' Somebody can help me to understand why 36.30 is not good to reurn an int value ? For me, is a mistery. :( Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Enzo Cocca (PhD Candidate) Research Fellow Università di Napoli L'Orientale mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] A stupid problem with python, that is making me more stupid :)
2014-03-11 12:56 GMT+01:00 Geo DrinX geodr...@gmail.com: Hello All, as in object, I had an error from python, with my source code, that I do not understand CamNick = 90 - int(pitch) ValueError: invalid literal for int() with base 10: '36.30' Somebody can help me to understand why 36.30 is not good to reurn an int value ? For me, is a mistery. :( You can't convert a string that represents a float to an integer, you should first convert to float then to int: int(float('36.30')) BTW this kind of questions should not be asked here but on one of the several python mailing lists. -- Alessandro Pasotti w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] A stupid problem with python, that is making me more stupid :)
int(float('36.30')) On Tue, Mar 11, 2014 at 10:02 PM, Enzo Cocca enzo@gmail.com wrote: hi, roberto you use a integer value so 36.30 is not integer. try with real? enzo 2014-03-11 12:56 GMT+01:00 Geo DrinX geodr...@gmail.com: Hello All, as in object, I had an error from python, with my source code, that I do not understand CamNick = 90 - int(pitch) ValueError: invalid literal for int() with base 10: '36.30' Somebody can help me to understand why 36.30 is not good to reurn an int value ? For me, is a mistery. :( Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Enzo Cocca (PhD Candidate) Research Fellow Università di Napoli L'Orientale mail: enzo@gmail.com cell: +393495087014 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Postgis Spatial Views - problems with primary keys
Hello all, Regarding this matter, should I make a ticket? Or is the general understanding that the described behavior is ok as it is? Thanks, Alexandre Neto On Mon, Mar 10, 2014 at 2:39 PM, Alexandre Neto senhor.n...@gmail.comwrote: Hi Jürgen, On Mon, Mar 10, 2014 at 12:30 PM, Jürgen E. j...@norbit.de wrote: QGIS just offers all integer fields as candidate. It doesn't select any. If you use add Postgis layer dialog, it uses one of integer fields by default in the primary key column (not always the same). I think that changed before 2.0.1. QGIS used to identify which view field are primary keys in the underlying tables, but that makes sense if the view is a selection of that table, which is just a very small subset of possible views. E.g. for joins between two tables being a primary key in one of the table, doesn't mean that the attribute is also unique in the view. I have a Portuguese user that says that this 2.0.1 is working as before (and that he won't change to 2.2 until it gets fixed), but personally I can't confirm this. What was the downside of the later behavior? I.e. qgis identifying several primary keys and try to guess what to use? Even if it is a small subset of possible views, I think it would make user's life easier in some cases. Also, as it is now, unless the view only have one integer field, the browser became useless for adding views. We should, at least, change the error message, informing the user that he must select a primary key manually (only possible in the add postgis layer dialog). Thanks for your answer. Alexandre Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) Germany IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] windows package creation
Hi guys, I'm trying to create a windows installer, but I'm facing some troubles. Briefly what I made: - forked and cloned the repo (obviously) - given that I want to create a QGIS 2.2 installer I switched on the release-2-2 branch - then cd ~/QGIS/ms-windows/osgeo4w and launch ./creatensis.pl - at the end of the process, I get an exe package in the ms-windows directory. First problem: the package is named QGIS-OSGeo4W-2.3.0-1-Setup-x86_64.exe so it seems that, even if I'm on the release_2-2 branch, the script creates a master version - I go further and I launch the ./quickpackege.sh script (editing the version name and other small stuff in the script). Second problem: after launching the script I get: Usage: LicenseData local_file_that_has_license_text | license_lang_string Error in macro MUI_PAGE_LICENSE on macroline 21 Error in script QGIS-Installer.nsi on line 232 -- aborting creation process So I remove some line in the QGIS-Installer-nsi script (230-231-232), thinking that this is just related to something I can change in a second moment. But then I get another error: Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | /oname=outfile one_file_only) Error in script QGIS-Installer.nsi on line 315 -- aborting creation process I found only the documentation of Tim here [0] that is a kind of how-to. Maybe in the meanwhile something is changes in the procedure and we should update the documentation. I think that the creation of a customized package is an awesome chance to spread QGIS, but the procedure is a little bit complicated and there is a lack of documentation (unless there are docs that I haven't found). Cheers and thanks Matteo [0]http://linfiniti.com/2011/05/building-custom-qgis-installers-for-windows/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Data defined symbol dimension: bug?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. I noticed a strange behaviour in data defined symbol size. With this expression: ( year( data_inizio )-1985) /10 I get the attached image1.jpg (labels are made with the same expression). With this one: ( year( data_inizio )) /100 I get image2.jpg, also attached. Same scale. So size is calculated correctly, but displayed wrongly. Seems like a bug, right? All the best. - -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlMfDvQACgkQ/NedwLUzIr7+rwCgnvsXW9AcOFj10NwzuwY2UxmE xmoAoKLOxU961A/rvllPlnlxpRB+2Prj =cqGe -END PGP SIGNATURE- attachment: image1.jpgattachment: image2.jpg___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] windows package creation
Hi Matteo, On Tue, 11. Mar 2014 at 14:05:54 +0100, Matteo Ghetta wrote: - given that I want to create a QGIS 2.2 installer I switched on the release-2-2 branch - then cd ~/QGIS/ms-windows/osgeo4w and launch ./creatensis.pl - at the end of the process, I get an exe package in the ms-windows directory. First problem: the package is named QGIS-OSGeo4W-2.3.0-1-Setup-x86_64.exe so it seems that, even if I'm on the release_2-2 branch, the script creates a master version Are you positive that your toplevel CMakeLists.txt is unmodified? Because that's where creatensis.pl gets the version number from, if you don't explictly tell it to use something else. And release-2_2 should have 2.2 and not 2.3. - I go further and I launch the ./quickpackege.sh script (editing the version name and other small stuff in the script). I don't think it is maintained. Second problem: after launching the script I get: Usage: LicenseData local_file_that_has_license_text | license_lang_string Error in macro MUI_PAGE_LICENSE on macroline 21 Error in script QGIS-Installer.nsi on line 232 -- aborting creation process Looks like it isn't ;) You need to also set the LICENSE_FILE in the makensis call (see creatensis.pl). I found only the documentation of Tim here [0] that is a kind of how-to. Maybe in the meanwhile something is changes in the procedure and we should update the documentation. I think that the creation of a customized package is an awesome chance to spread QGIS, but the procedure is a little bit complicated and there is a lack of documentation (unless there are docs that I haven't found). Documentation tends to age and get out of sync. I'd stick with the source, that at least the most verbose and up-to-date you can get ;) To create a custom installer I'd take a different approach: Produce a packages with package.cmd and put it into the packages directory and run creatensis.pl. Something like this (looks a little bit complicated to, because it excludes all original package files and includes the qgis-custom package instead). #!/bin/bash export PATH=$PATH:/c/Program\ Files\ \(x86\)/NSIS arch=x86 package=qgis-custom version=2.0.1 binary=1 release=Dufour pkg=$arch/release/qgis/$package/$package-$version-$binary.tar.bz2 if [ ! -f $pkg ]; then cmd /c package.cmd $version $binary $package $arch fi cmd=perl creatensis.pl -verbose \ -arch=$arch \ -binary=1 \ -version=$version \ -releasename=$release \ qgis-full for i in -common -server -devel -grass-plugin -globe-plugin -oracle-provider; do pkg=$arch/release/qgis/$package$i/$package$i-$version-$binary.tar.bz2 if [ -f $pkg ]; then cp -uv $pkg packages-$arch else echo $pkg not found. exit 1 fi cmd=$cmd -exclude=qgis$i $package$i done $cmd Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) Germany IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [237] LecoS - Landscape Ecology Statistics approval notification.
Plugin LecoS - Landscape Ecology Statistics approval by Curlew. The plugin version [237] LecoS - Landscape Ecology Statistics 1.9.3 is now unapproved Link: http://plugins.qgis.org/plugins/LecoS/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Run stable and master versions of QGIS on Ubuntu
The only non-compile way I can think of on an Ubuntu box would be to run a virtual machine. Otherwise you have to compile to avoid package manager conflicts. So up to you which is more time/hassle to setup. Enjoy, Alex On 03/10/2014 01:26 PM, Etienne Tourigny wrote: AFAIK, you have to build your own version (preferrably master) with a different install prefix (e.g. /home/softdev/), and when you want to use that version you need to add relevant paths to PATH and LD_LIBRARY_PATH. I have a shell function that sets this up on demand: setup_softdev() { export SOFT_PREFIX=/home/softdev export LD_LIBRARY_PATH=/home/softdev/lib export LIBRARY_PATH=/home/softdev/lib export LD_RUN_PATH=/home/softdev/lib export PATH=/home/softdev/bin:$PATH export CPLUS_INCLUDE_PATH=/home/softdev/include export C_INCLUDE_PATH=/home/softdev/include export CPPFLAGS=-I/home/softdev/include export PYTHONPATH=/home/softdev/lib/python2.7/site-packages/ export GDAL_DATA=/home/softdev/share/gdal } export -f setup_softdev On Mon, Mar 10, 2014 at 5:19 PM, Rémi Bovard remi.bov...@gmail.com wrote: Hi list, I'm wondering if there is there a simple way to run stable and master versions of QGIS on Ubuntu? By simple, I mean - if possible - without compile QGIS from source. For now, as described in doc [1], I edit /etc/apt/sources.list to define which repository to use : http://qgis.org/debian or http://qgis.org/debian-nightly. But doing like this, I cannot run the two versions at the same time. Thank you in advance for your answers. Rémi [1] http://qgis.org/en/site/forusers/alldownloads.html#ubuntu ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [gdal-dev] Fix for QGIS 2.2+ Projection issue with OSGB36 NTv2
You email should be sent to the qgis-developer list (this is the gdal-dev list), which I am forwarding this to. On Tue, Mar 11, 2014 at 7:44 AM, Nicholas Duggan dragons8my...@live.co.ukwrote: Hi all, I'm trying to get my fix for the OSGB36 to WGS84 using Ordnance Surveys OSTN02 (NTv2) transformation into the QGIS master. Nathan Woodrow recommended I bring it up with you guys who might be able to implement it. Essentially I've updated the QGIS srs.db and put the OSTN02_NTv2.gsb in the Share/Proj folder, full description and files are here: http://dragons8mycat.wordpress.com/2014/03/03/gis-tips-getting-ostn02-to-work-with-qgis-2-2/ Is this something which can be implemented by yourselves or can you point me in the right direction for getting it put in the master/future releases? Thanks, Nick D (@dragons8mycat) ___ gdal-dev mailing list gdal-...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] windows package creation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jürgen, thanks for the reply and your observations. Well, as an almost-complete ignorant, I tried to do what you said. Unfortunately without results. I have created a script (copying/pasting) in the osgeo4w directory, but when I launch it I get an error related to the cmd command, simply: ./script.sh: line 13: cmd: command not found ./script.sh: line 24: syntax error near unexpected token `-oracle-provider' ./script.sh: line 24: `-oracle-provider; do' I'm on a debian 7.3 machine and I looked for a **cmd** package but I didn't found anything specific. Sorry for bothering with this simple question, but no idea how to go on.. Thank you Matteo -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBAgAGBQJTH0fmAAoJEBy7UYf0gaEOKIEH/35LFF2vv5/1ow/PDVQRxn7N JviqpM+P/kQKEN2ZLPC4dvvlMLMZsBl3qKNVetEk050q/dtePftk9rGkO87y4bOZ a0XFtJ90HkRhy0Xba/n3SU27P2BFng5F33I0wfciLnU6LjTWuYIwbNeR46eIn4ZO 8/IEyrrapvT1jT03JS3vc8SH+g4A7IAHH/5IiprKdqHlOwtdY0u5bbz3V1Kqydp2 9VBtQsWODN1AI8//yr/nWE3M0O+dz8HlEO9lXT/1YXV/nVmIdMB8ys1KP86UQQbg Fs92l9Br9auzE+a+PDaUri21tcQh1ML2EYrnPWDFNCf4M5u9vR2Qqdwru2NQ+UA= =km+8 -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Run stable and master versions of QGIS on Ubuntu
Thanx Remi for bringing this up ... I didn't dare to ... The problem with compiling the dev version imho is, that you will have to recompile it permanently if you are trying to be of any help with bug tracking, am I right? (Haven't compiled anything yet, cause I don't get rid of the knots in my brain) On the other hand, to use QGIS professionaly, I need GDAL with FGDB and MrSID support, so I will have to compile GDAL myself beforehand. But wanting to use it for work, I better not use the master version but the stable. So, as I see it, it would be much better to compile the stable version and then get the master version for the candies and the testing from debian-nightly. But all guidelines propose it the other way round, which I do not really understand ... Said this, when I want to compile the stable version instead of the master, but with a handmade GDAL, is there any way to take benefit from the ubuntugis-unstable repository (things I can install beforehand and then disabling the repository again)? As I said, I have knots in my brain on this and never managed to have a nice and easy environment on Ubuntu as I have with Windows (which is sd) Can someone help me with the surgery? Cheers Bernd Am 11.03.2014 17:59, schrieb Alex Mandel: The only non-compile way I can think of on an Ubuntu box would be to run a virtual machine. Otherwise you have to compile to avoid package manager conflicts. So up to you which is more time/hassle to setup. Enjoy, Alex On 03/10/2014 01:26 PM, Etienne Tourigny wrote: AFAIK, you have to build your own version (preferrably master) with a different install prefix (e.g. /home/softdev/), and when you want to use that version you need to add relevant paths to PATH and LD_LIBRARY_PATH. I have a shell function that sets this up on demand: setup_softdev() { export SOFT_PREFIX=/home/softdev export LD_LIBRARY_PATH=/home/softdev/lib export LIBRARY_PATH=/home/softdev/lib export LD_RUN_PATH=/home/softdev/lib export PATH=/home/softdev/bin:$PATH export CPLUS_INCLUDE_PATH=/home/softdev/include export C_INCLUDE_PATH=/home/softdev/include export CPPFLAGS=-I/home/softdev/include export PYTHONPATH=/home/softdev/lib/python2.7/site-packages/ export GDAL_DATA=/home/softdev/share/gdal } export -f setup_softdev On Mon, Mar 10, 2014 at 5:19 PM, Rémi Bovard remi.bov...@gmail.com wrote: Hi list, I'm wondering if there is there a simple way to run stable and master versions of QGIS on Ubuntu? By simple, I mean - if possible - without compile QGIS from source. For now, as described in doc [1], I edit /etc/apt/sources.list to define which repository to use : http://qgis.org/debian or http://qgis.org/debian-nightly. But doing like this, I cannot run the two versions at the same time. Thank you in advance for your answers. Rémi [1] http://qgis.org/en/site/forusers/alldownloads.html#ubuntu ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Run stable and master versions of QGIS on Ubuntu
I run QGIS from ubuntugis repos and build master when the whim strikes me, like I want to check a new feature. With handmade GDAL, the answer is a maybe, since you will still get pre-built geos, proj and QGIS, all of which will work with your custom rolled GDAL. So that's compiling 1 things instead of 4+ I haven't kept up with how to keep Mrsid and FGDB working but does that require a whole GDAL recompile? Mrsid used to just require a compile add-on. The other neat thing is the apt-get build-dep qgis which pulls in all the -dev libs you need for you. I think a virtual machine is a good way to keep up on master (and you can just use the qgis.org built ones) and still have a working stable build. You can easily share data mounts between. Thanks, Alex On 03/11/2014 10:45 AM, Bernd Vogelgesang wrote: Thanx Remi for bringing this up ... I didn't dare to ... The problem with compiling the dev version imho is, that you will have to recompile it permanently if you are trying to be of any help with bug tracking, am I right? (Haven't compiled anything yet, cause I don't get rid of the knots in my brain) On the other hand, to use QGIS professionaly, I need GDAL with FGDB and MrSID support, so I will have to compile GDAL myself beforehand. But wanting to use it for work, I better not use the master version but the stable. So, as I see it, it would be much better to compile the stable version and then get the master version for the candies and the testing from debian-nightly. But all guidelines propose it the other way round, which I do not really understand ... Said this, when I want to compile the stable version instead of the master, but with a handmade GDAL, is there any way to take benefit from the ubuntugis-unstable repository (things I can install beforehand and then disabling the repository again)? As I said, I have knots in my brain on this and never managed to have a nice and easy environment on Ubuntu as I have with Windows (which is sd) Can someone help me with the surgery? Cheers Bernd Am 11.03.2014 17:59, schrieb Alex Mandel: The only non-compile way I can think of on an Ubuntu box would be to run a virtual machine. Otherwise you have to compile to avoid package manager conflicts. So up to you which is more time/hassle to setup. Enjoy, Alex On 03/10/2014 01:26 PM, Etienne Tourigny wrote: AFAIK, you have to build your own version (preferrably master) with a different install prefix (e.g. /home/softdev/), and when you want to use that version you need to add relevant paths to PATH and LD_LIBRARY_PATH. I have a shell function that sets this up on demand: setup_softdev() { export SOFT_PREFIX=/home/softdev export LD_LIBRARY_PATH=/home/softdev/lib export LIBRARY_PATH=/home/softdev/lib export LD_RUN_PATH=/home/softdev/lib export PATH=/home/softdev/bin:$PATH export CPLUS_INCLUDE_PATH=/home/softdev/include export C_INCLUDE_PATH=/home/softdev/include export CPPFLAGS=-I/home/softdev/include export PYTHONPATH=/home/softdev/lib/python2.7/site-packages/ export GDAL_DATA=/home/softdev/share/gdal } export -f setup_softdev On Mon, Mar 10, 2014 at 5:19 PM, Rémi Bovard remi.bov...@gmail.com wrote: Hi list, I'm wondering if there is there a simple way to run stable and master versions of QGIS on Ubuntu? By simple, I mean - if possible - without compile QGIS from source. For now, as described in doc [1], I edit /etc/apt/sources.list to define which repository to use : http://qgis.org/debian or http://qgis.org/debian-nightly. But doing like this, I cannot run the two versions at the same time. Thank you in advance for your answers. Rémi [1] http://qgis.org/en/site/forusers/alldownloads.html#ubuntu ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Data defined symbol dimension: bug?
Hi all. I noticed a strange behaviour in data defined symbol size. With this expression: ( year( data_inizio )-1985) /10 I get the attached image1.jpg (labels are made with the same expression). With this one: ( year( data_inizio )) /100 I get image2.jpg, also attached. Same scale. So size is calculated correctly, but displayed wrongly. Seems like a bug, right? if I define an expression like (column_int -1985)/4+5 the preview is ok, but... after re-opening the expression for the data defined size it shows as column_int - 1985/4+5 the parentheses are gone and of course the result is much different from the expected one... cheers! ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Run stable and master versions of QGIS on Ubuntu
You could try downloading the source package for gdal and modifying the debian/rules file to add the necessary --with-FileGDB and --with-MRSID=... lines. Installing the modified gdal with the package manager should allow it to be used with the stable QGIS from the ubuntuGIS repo and the development version from debian-nightly. I've never actually done this with ubuntu/debian but I do the equivalent on Arch Linux. For ubuntu you would do something like: mkdir ~/build cd ~/build sudo apt-get build-dep gdal apt-get source gdal cd gdal-1.10.0 # or whatever directory it unpacks... nano debian/rules ##edit file to include the necessary --with-FileGDB and --with-MrSID lines and cd back to the main package directory and build the package: cd .. dpkg-buildpackage -us -uc -nc install the packages with something along the lines of sudo dpkg -i gdal* Assuming that worked, you would then probably want to put a hold on gdal so it doesn't get updated and lose your customizations. disclaimer: I have never tried this with ubuntu, but that appears to be the general flow from a little bit of googling. Eric On Tue, Mar 11, 2014 at 12:45 PM, Bernd Vogelgesang bernd.vogelges...@gmx.de wrote: Thanx Remi for bringing this up ... I didn't dare to ... The problem with compiling the dev version imho is, that you will have to recompile it permanently if you are trying to be of any help with bug tracking, am I right? (Haven't compiled anything yet, cause I don't get rid of the knots in my brain) On the other hand, to use QGIS professionaly, I need GDAL with FGDB and MrSID support, so I will have to compile GDAL myself beforehand. But wanting to use it for work, I better not use the master version but the stable. So, as I see it, it would be much better to compile the stable version and then get the master version for the candies and the testing from debian-nightly. But all guidelines propose it the other way round, which I do not really understand ... Said this, when I want to compile the stable version instead of the master, but with a handmade GDAL, is there any way to take benefit from the ubuntugis-unstable repository (things I can install beforehand and then disabling the repository again)? As I said, I have knots in my brain on this and never managed to have a nice and easy environment on Ubuntu as I have with Windows (which is sd) Can someone help me with the surgery? Cheers Bernd Am 11.03.2014 17:59, schrieb Alex Mandel: The only non-compile way I can think of on an Ubuntu box would be to run a virtual machine. Otherwise you have to compile to avoid package manager conflicts. So up to you which is more time/hassle to setup. Enjoy, Alex On 03/10/2014 01:26 PM, Etienne Tourigny wrote: AFAIK, you have to build your own version (preferrably master) with a different install prefix (e.g. /home/softdev/), and when you want to use that version you need to add relevant paths to PATH and LD_LIBRARY_PATH. I have a shell function that sets this up on demand: setup_softdev() { export SOFT_PREFIX=/home/softdev export LD_LIBRARY_PATH=/home/softdev/lib export LIBRARY_PATH=/home/softdev/lib export LD_RUN_PATH=/home/softdev/lib export PATH=/home/softdev/bin:$PATH export CPLUS_INCLUDE_PATH=/home/softdev/include export C_INCLUDE_PATH=/home/softdev/include export CPPFLAGS=-I/home/softdev/include export PYTHONPATH=/home/softdev/lib/python2.7/site-packages/ export GDAL_DATA=/home/softdev/share/gdal } export -f setup_softdev On Mon, Mar 10, 2014 at 5:19 PM, Rémi Bovard remi.bov...@gmail.com wrote: Hi list, I'm wondering if there is there a simple way to run stable and master versions of QGIS on Ubuntu? By simple, I mean - if possible - without compile QGIS from source. For now, as described in doc [1], I edit /etc/apt/sources.list to define which repository to use : http://qgis.org/debian or http://qgis.org/debian-nightly. But doing like this, I cannot run the two versions at the same time. Thank you in advance for your answers. Rémi [1] http://qgis.org/en/site/forusers/alldownloads.html#ubuntu ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Data defined symbol dimension: bug?
Am 11.03.2014, 19:49 Uhr, schrieb Giovanni Manghi giovanni.man...@faunalia.pt: Hi all. I noticed a strange behaviour in data defined symbol size. With this expression: ( year( data_inizio )-1985) /10 I get the attached image1.jpg (labels are made with the same expression). With this one: ( year( data_inizio )) /100 I get image2.jpg, also attached. Same scale. So size is calculated correctly, but displayed wrongly. Seems like a bug, right? if I define an expression like (column_int -1985)/4+5 the preview is ok, but... after re-opening the expression for the data defined size it shows as column_int - 1985/4+5 the parentheses are gone and of course the result is much different from the expected one... I also noticed that some_column / 5.0 is changed to some_column / 5 and thus the result may no longer be a float value. Best wishes, Anita cheers! ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- anitagraser.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Run stable and master versions of QGIS on Ubuntu
Am 11.03.2014, 20:35 Uhr, schrieb Eric Goddard egoddard1...@gmail.com: You could try downloading the source package for gdal and modifying the debian/rules file to add the necessary --with-FileGDB and --with-MRSID=... lines. Installing the modified gdal with the package manager should allow it to be used with the stable QGIS from the ubuntuGIS repo and the development version from debian-nightly. I've never actually done this with ubuntu/debian but I do the equivalent on Arch Linux. For ubuntu you would do something like: mkdir ~/build cd ~/build sudo apt-get build-dep gdal apt-get source gdal cd gdal-1.10.0 # or whatever directory it unpacks... nano debian/rules ##edit file to include the necessary --with-FileGDB and --with-MrSID lines and cd back to the main package directory and build the package: cd .. dpkg-buildpackage -us -uc -nc install the packages with something along the lines of sudo dpkg -i gdal* Assuming that worked, you would then probably want to put a hold on gdal so it doesn't get updated and lose your customizations. disclaimer: I have never tried this with ubuntu, but that appears to be the general flow from a little bit of googling. Eric Hi Eric, thanx a ton for your input. I'm still quite unfamiliar with building from source and how all these things play together. What I still do not get is, why my requirements seem to be so exotic, that there is no easier way for all this. But maybe I manage to solve all this and maybe post it somewhere. Lots of googling ahead ... after already googling a lot. Assuming that worked, you would then probably want to put a hold on gdal so it doesn't get updated and lose your customizations. I assume that too, but how would I do put a hold on gdal? Cheers Bernd On Tue, Mar 11, 2014 at 12:45 PM, Bernd Vogelgesang bernd.vogelges...@gmx.de wrote: Thanx Remi for bringing this up ... I didn't dare to ... The problem with compiling the dev version imho is, that you will have to recompile it permanently if you are trying to be of any help with bug tracking, am I right? (Haven't compiled anything yet, cause I don't get rid of the knots in my brain) On the other hand, to use QGIS professionaly, I need GDAL with FGDB and MrSID support, so I will have to compile GDAL myself beforehand. But wanting to use it for work, I better not use the master version but the stable. So, as I see it, it would be much better to compile the stable version and then get the master version for the candies and the testing from debian-nightly. But all guidelines propose it the other way round, which I do not really understand ... Said this, when I want to compile the stable version instead of the master, but with a handmade GDAL, is there any way to take benefit from the ubuntugis-unstable repository (things I can install beforehand and then disabling the repository again)? As I said, I have knots in my brain on this and never managed to have a nice and easy environment on Ubuntu as I have with Windows (which is sd) Can someone help me with the surgery? Cheers Bernd Am 11.03.2014 17:59, schrieb Alex Mandel: The only non-compile way I can think of on an Ubuntu box would be to run a virtual machine. Otherwise you have to compile to avoid package manager conflicts. So up to you which is more time/hassle to setup. Enjoy, Alex On 03/10/2014 01:26 PM, Etienne Tourigny wrote: AFAIK, you have to build your own version (preferrably master) with a different install prefix (e.g. /home/softdev/), and when you want to use that version you need to add relevant paths to PATH and LD_LIBRARY_PATH. I have a shell function that sets this up on demand: setup_softdev() { export SOFT_PREFIX=/home/softdev export LD_LIBRARY_PATH=/home/softdev/lib export LIBRARY_PATH=/home/softdev/lib export LD_RUN_PATH=/home/softdev/lib export PATH=/home/softdev/bin:$PATH export CPLUS_INCLUDE_PATH=/home/softdev/include export C_INCLUDE_PATH=/home/softdev/include export CPPFLAGS=-I/home/softdev/include export PYTHONPATH=/home/softdev/lib/python2.7/site-packages/ export GDAL_DATA=/home/softdev/share/gdal } export -f setup_softdev On Mon, Mar 10, 2014 at 5:19 PM, Rémi Bovard remi.bov...@gmail.com wrote: Hi list, I'm wondering if there is there a simple way to run stable and master versions of QGIS on Ubuntu? By simple, I mean - if possible - without compile QGIS from source. For now, as described in doc [1], I edit /etc/apt/sources.list to define which repository to use : http://qgis.org/debian or http://qgis.org/debian-nightly. But doing like this, I cannot run the two versions at the same time. Thank you in advance for your answers. Rémi [1] http://qgis.org/en/site/forusers/alldownloads.html#ubuntu ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list
Re: [Qgis-developer] Run stable and master versions of QGIS on Ubuntu
On 03/11/2014 01:10 PM, Bernd Vogelgesang wrote: Am 11.03.2014, 20:35 Uhr, schrieb Eric Goddard egoddard1...@gmail.com: You could try downloading the source package for gdal and modifying the debian/rules file to add the necessary --with-FileGDB and --with-MRSID=... lines. Installing the modified gdal with the package manager should allow it to be used with the stable QGIS from the ubuntuGIS repo and the development version from debian-nightly. I've never actually done this with ubuntu/debian but I do the equivalent on Arch Linux. For ubuntu you would do something like: mkdir ~/build cd ~/build sudo apt-get build-dep gdal apt-get source gdal cd gdal-1.10.0 # or whatever directory it unpacks... nano debian/rules ##edit file to include the necessary --with-FileGDB and --with-MrSID lines and cd back to the main package directory and build the package: cd .. dpkg-buildpackage -us -uc -nc install the packages with something along the lines of sudo dpkg -i gdal* Assuming that worked, you would then probably want to put a hold on gdal so it doesn't get updated and lose your customizations. disclaimer: I have never tried this with ubuntu, but that appears to be the general flow from a little bit of googling. Eric Hi Eric, thanx a ton for your input. I'm still quite unfamiliar with building from source and how all these things play together. What I still do not get is, why my requirements seem to be so exotic, that there is no easier way for all this. But maybe I manage to solve all this and maybe post it somewhere. Lots of googling ahead ... after already googling a lot. Assuming that worked, you would then probably want to put a hold on gdal so it doesn't get updated and lose your customizations. I assume that too, but how would I do put a hold on gdal? Cheers Bernd It's called Pinning in the debian world. In synaptic you highlight the package in the list, then to Package - Lock Version The command line fu way is to edit an apt file like this example (just change the package names) http://askubuntu.com/questions/23578/how-do-i-pin-a-particular-mysql-version-to-avoid-unnecessary-upgrades Enjoy, Alex ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer