Re: [Qgis-user] GDAL/OGR : different compiled/running versions

2016-03-02 Thread Andre Joost
Am 02.03.2016 um 21:46 schrieb Thomas Williamson: Thank you Andre! I managed to follow these steps: 1. sudo apt-get purge -auto--remove qgis 2. sudo apt-get clean 3. sudo apt-get install python-software-properties 4. sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable 5

Re: [Qgis-user] QGIS releases announced too early IMHO

2016-03-02 Thread Brent Wood
Despite being a non-Mac user, I respectfully disagree Mainstream users should not have to wait until packages for ALL systems have been built. Some minor ports may take someone a while to complete - & others need not be waiting on this. A QGIS release announcement is NOT a promise that every

Re: [Qgis-user] GDAL/OGR : different compiled/running versions

2016-03-02 Thread Thomas Williamson
Thank you Andre! I managed to follow these steps: 1. sudo apt-get purge -auto--remove qgis 2. sudo apt-get clean 3. sudo apt-get install python-software-properties 4. sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable 5. sudo apt-get update 6. sudo apt-get install qgis pyt

Re: [Qgis-user] Problem with geometry functions ($area, xmax)

2016-03-02 Thread Nyall Dawson
On 3 Mar 2016 12:18 AM, wrote: > > Dear List Members, > > > > I have a problem with labeling polygon-features using expressions. I want to create different label-classes depending on the area of the geometries (cities, villages, etc.). In most cases, this works quite well but in some cases I get w

Re: [Qgis-user] Assistance with high-level use case of QGIS for commercial use

2016-03-02 Thread Dave Tobias
Many thanks to James, Brent, Alexander and Andreas for the suggestions. It looks like PostGIS offers the best option for the limited complexity of the solution. PostGIS is not something I had worked with before or considered. After doing a bit of research and referencing the code/process Brent of

Re: [Qgis-user] edge calculator

2016-03-02 Thread Paulo van Breugel
Not tested, but what about using the v.to.db function (grass function, does not seem to be available in the toolbox, but you could have a look at the GRASS tools addon). With this function you can upload category numbers of left and right area, to an attribute table of boundaries common for the ar

Re: [Qgis-user] force data type in QTableWidget in QGIS plugin

2016-03-02 Thread matteo
> I assume that it's just saved as a string when you fill it in designer? exactly.. I filled the table cells with numbers that are "translated" in strings by Qt. > So in this case you will need to check the value itself (with tricks > like casting to an integer and if unsuccessful casting to a fl

Re: [Qgis-user] force data type in QTableWidget in QGIS plugin

2016-03-02 Thread Matthias Kuhn
I assume that it's just saved as a string when you fill it in designer? So in this case you will need to check the value itself (with tricks like casting to an integer and if unsuccessful casting to a float or similar). Matthias On 03/02/2016 04:17 PM, matteo wrote: > Hi Matthias, > thanks for t

Re: [Qgis-user] edge calculator

2016-03-02 Thread Neumann, Andreas
Hi, Can you be a bit more specific what exactly you want? Something like http://postgis.net/docs/ST_ShortestLine.html ? Andreas On 2016-03-02 15:54, Emiliano Manzo wrote: > Hi to all, > > is anybody know how I can calculate the linear length between 2 polygons? > > I need to measure the

Re: [Qgis-user] force data type in QTableWidget in QGIS plugin

2016-03-02 Thread matteo
Hi Matthias, thanks for the super quick reply. So you are saying that I can manually set the item data using setData(...) and get the type of that data by data().type() But in my case the first row of the QWidgetTable is already filled with some custom values (I filled it Qt Designer). When I ru

Re: [Qgis-user] edge calculator

2016-03-02 Thread Paolo Cavallini
Il 02/03/2016 15:54, Emiliano Manzo ha scritto: > I need to measure the length between 2 different shape file in particular I > have a habitat map and I need to calculate edge between to different habitat > type. I think you better move to a raster model for this; see Lecos plugin, for instance

[Qgis-user] edge calculator

2016-03-02 Thread Emiliano Manzo
Hi to all, is anybody know how I can calculate the linear length between 2 polygons? I need to measure the length between 2 different shape file in particular I have a habitat map and I need to calculate edge between to different habitat type. Thank you Emiliano ___

Re: [Qgis-user] forse data type in QTableWidget in QGIS plugin

2016-03-02 Thread Matthias Kuhn
Hi Matteo, If you check for QTableWidget::item(...) you see that it returns a QTableWidgetItem*, so that's what you check the type of which you specified yourself when creating the item. Either construct the items with an integer you want (this does not need to match the QVariant types' id) Or us

[Qgis-user] forse data type in QTableWidget in QGIS plugin

2016-03-02 Thread matteo
Hi all, I'm struggling with a problem in a QGIS plugin. Very briefly, in Qt Designer I have created a QTableWidget with some rows. The first one is filled with some default values (int and floats). I did not find a way to get a list of the data types in the python script. This in a piece of code

Re: [Qgis-user] Layer driven Atlas

2016-03-02 Thread Neumann, Andreas
Thomas, The other thing when you use virtual layers: did you introduce a unique column that can be used as primary key, enabled and entered a "Unique identifier column"? Otherwise I wouldn't be surprised that @atlas_featureid doesn't work. Andreas On 2016-03-02 14:58, Neumann, Andreas wrote

Re: [Qgis-user] GDAL/OGR : different compiled/running versions

2016-03-02 Thread Andre Joost
Am 02.03.2016 um 13:35 schrieb Thomas Williamson: Hello all, I'm working with QGIS 2.14 and LinuxMint. I'm having difficulties running the Heatmaps plugin with the following issue: the output format field is empty (the drop-down list is empty). I found some help on this topic in this post

Re: [Qgis-user] Layer driven Atlas

2016-03-02 Thread Neumann, Andreas
Hi Tom, @atlas_feature returns a full feature - with geometry and attributes - similar to a full database record type. With this feature you could extract the geometry and the attributes. You probably want @atlas_featurenumber and @atlas_totalfeatures ? @atlas_featureid should return the uniq

Re: [Qgis-user] Layer driven Atlas

2016-03-02 Thread Thomas Colley
Hi Andreas That’s excellent, thanks so much, I never thought about joining tables. The virtual layer works really well. Again I’m not sure if I’m doing something wrong or a bug but some of the atlas variables aren’t working as expected: atlas_feature and atlas_featureid return and 0 respectiv

[Qgis-user] Problem with geometry functions ($area, xmax)

2016-03-02 Thread Fuenfer-Koenigstein.Benjamin
Dear List Members, I have a problem with labeling polygon-features using expressions. I want to create different label-classes depending on the area of the geometries (cities, villages, etc.). In most cases, this works quite well but in some cases I get weird effects as some labels disappear on

Re: [Qgis-user] QGIS releases announced too early IMHO

2016-03-02 Thread Nathan Woodrow
On Wed, Mar 2, 2016 at 10:35 PM, Jürgen E. wrote: > Hi Nathan, > > On Wed, 02. Mar 2016 at 22:33:28 +1000, Nathan Woodrow wrote: > > I suspect in the future we will have build bots for each platform but at > this > > point OS X is still the outliner and requires some domain knowledge for > > pack

Re: [Qgis-user] QGIS releases announced too early IMHO

2016-03-02 Thread Jürgen E . Fischer
Hi Nathan, On Wed, 02. Mar 2016 at 22:33:28 +1000, Nathan Woodrow wrote: > I suspect in the future we will have build bots for each platform but at this > point OS X is still the outliner and requires some domain knowledge for > packaging only a few have. First of all it requires a Mac. Jürgen

[Qgis-user] Curso presencial CSIC

2016-03-02 Thread Mª Lourdes Martín-Forero Morente
El Consejo Superior de Investigaciones Científicas (CSIC), junto con la Univ. Complutense de Madrid (UCM) y la Univ. Politécnica de Madrid (UPM) , organizan e imparten una nueva edición del curso de especialización: *"Lo

[Qgis-user] GDAL/OGR : different compiled/running versions

2016-03-02 Thread Thomas Williamson
Hello all, I'm working with QGIS 2.14 and LinuxMint. I'm having difficulties running the Heatmaps plugin with the following issue: the output format field is empty (the drop-down list is empty). I found some help on this topic in this post

Re: [Qgis-user] QGIS releases announced too early IMHO

2016-03-02 Thread Nathan Woodrow
Hi, It would be ideal however packages are maintained by different people due to the complexity of said task. Windows and major linux distros are done by Jurgen our release manager, hence why they come out right on time. I suspect in the future we will have build bots for each platform but at th

[Qgis-user] QGIS releases announced too early IMHO

2016-03-02 Thread b.j.kobben
Hi Nathan, You state that "There is no "official" release until the banner is changed on qgis.org and announcement is made on the mailing lists/twitter, etc.". Well, that has happened now, but the KyngChaos site for Mac OSX still has 2.12. That is NOT a negative comment on th