Re: [Qgis-user] Label using $area and decimals

2013-08-08 Thread M. LATTES
Hi Lene, have you tried the toint and tostring function ? This formula is to retrieve $area in square km with 2 decimal digit, but I guess, you will adapt it for you : tostring(toint($area/1.0)/100.0) || ' km²' Be warned that the toint make a round operation. Regards.

[Qgis-user] Setting scales for map tile zoom levels

2013-08-08 Thread jaslee
Hi, I have a map tile service showing in QGIS (1.9 snapshot) over a WMTS. I'd like to set the map scales so that the map displays the map tiles in the best resolution possible. I attempted to achieve this by selecting: Settings - Options... - Map tools, deleting the existing scales settings and

[Qgis-user] Feature Subset query builder

2013-08-08 Thread Jonathan Moules
Hi List, A general question: Why does this query: area 100 area 1000 return the entire dataset, when this query (same but with brackets): (area 100) (area 1000) returns the correct subset? Surely they both evaluate to the same thing - my (limited)

Re: [Qgis-user] Feature Subset query builder

2013-08-08 Thread Régis Haubourg
Hi, what is the datasource you are testing? shp, postgres? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Feature-Subset-query-builder-tp5071434p5071443.html Sent from the Quantum GIS - User mailing list archive at Nabble.com.

[Qgis-user] [BUG?] Not possible to edit raster layer title in legend

2013-08-08 Thread Alexandre Neto
Using QGIS 1.9 d821bcc, in windows 7 64bits, I'm not able to change the title of raster layers in the legend using legend item properties tab. I have no problems changing the title when working with vector layers. Can anyone confirm this? I'm pretty sure I have done this before. Is there a

Re: [Qgis-user] Feature Subset query builder

2013-08-08 Thread Jonathan Moules
Hi Regis, It's a SpatiaLite database. I just tested this in a couple of SQLite clients and they both exhibit the same behaviour, so I guess it's an SQLite issue. Weird. Thanks, Jonathan On 8 August 2013 10:31, Régis Haubourg regis.haubo...@eau-adour-garonne.frwrote: Hi, what is the

Re: [Qgis-user] [Qgis-developer] [BUG?] Not possible to edit raster layer title in legend

2013-08-08 Thread Ramon Andiñach
Hmm. Had a sporadic the other day with a vector rather than a raster. I'd change the title and the print composer repeatedly ignored the change. I dumped the layer from the legend then added it back in and everything worked as expected. That might at least help as a work around. -ramon.

[Qgis-user] Spatial Join

2013-08-08 Thread Jonathan Moules
Hi List, I have two layers of polygons. I want to do some analysis between them, basically doing a spatial join, counting how many of one polygon layer there are intersecting with each polygon in the other layer. ArcGIS does this easily with the Spatial Join tool (ArcToolbox version). How can I

Re: [Qgis-user] Spatial Join

2013-08-08 Thread Randal Hale
Here's how I would do it: You have Two polygon layers and you need to count the number of polygons in layer 1 that are contained in the polygons in layer 2 1. Convert the polygons in 1 to points: Vector - geometry - polygon centroids 2. then use - vector - analysis tools - points in polygon.

Re: [Qgis-user] Spatial Join

2013-08-08 Thread Jonathan Moules
Hi Randal, I had noticed the polygons to points converter, but wanted to do it properly - i.e. with a polygons in polygons comparison. Your method will likely work but adds two extra steps (conversion to points and then from points back to polygons). Does QGIS not have a tool for this then?

Re: [Qgis-user] Feature Subset query builder

2013-08-08 Thread Régis Haubourg
Jonathan Moules-2 wrote Hi List, A general question: Why does this query: area 100 area 1000 return the entire dataset, when this query (same but with brackets): (area 100) (area 1000) Hi , did you test something like this? area

Re: [Qgis-user] Spatial Join

2013-08-08 Thread Randal Hale
Let me get to a good stopping point this morning and I'll test something out. I think I might be able to say yes to the tool. I think. - Randal Hale, GISP North River Geographic Systems, Inc http://www.northrivergeographic.com 423.653.3611 rjh...@northrivergeographic.com

Re: [Qgis-user] Feature Subset query builder

2013-08-08 Thread Jonathan Moules
Oooh, that works. I'm afraid using is a holdover from my MySQL days. I really should get in the habit of using and. Many thanks! Jonathan On 8 August 2013 13:31, Régis Haubourg regis.haubo...@eau-adour-garonne.frwrote: Jonathan Moules-2 wrote Hi List, A general question: Why does

Re: [Qgis-user] Spatial Join

2013-08-08 Thread Jonathan Moules
It's not temporally critical. I have ArcGIS and can (have) done it there; this is more a learning exercise as to what QGIS can do and how to do analysis with it. Spatially joining data like this is something I seem to do quite often so I was surprised not to find a universal tool. Cheers, Jonathan

Re: [Qgis-user] db manager plugin problem loading features from esri personal geodb

2013-08-08 Thread Pietro Rossin
Hi Paolo I'm using the dev version in windows 1.9.0 (1.9.0-Master Revisione codice QGIS d821bcc) But I'm getting this error.. bie 2013/8/7 Paolo Cavallini [via OSGeo.org] ml-node+s1560n5071296...@n6.nabble.com -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 07/08/2013 14:53, Pietro

Re: [Qgis-user] db manager plugin problem loading features from esri personal geodb

2013-08-08 Thread Pietro Rossin
While using a shp file it runs to the end of loading. But I loose the Z dimension... Thanks Pietro 2013/8/8 Pietro Rossin pieri...@gmail.com Hi Paolo I'm using the dev version in windows 1.9.0 (1.9.0-Master Revisione codice QGIS d821bcc) But I'm getting this error.. bie 2013/8/7 Paolo

[Qgis-user] Raster in to PostGIS

2013-08-08 Thread Steven Campbell
Hi I was wondering if anyone knew of a useful guide that shows me how to add Raster files in to postGIS. I'd ideally like to load a significant number in one go (so a directory of files rather than one at a time). Thanks Steve ___ Qgis-user mailing

Re: [Qgis-user] db manager plugin problem loading features from esri personal geodb

2013-08-08 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 08/08/2013 16:00, Pietro Rossin ha scritto: While using a shp file it runs to the end of loading. But I loose the Z dimension... ok, then it is probably a genuine bug. please open a ticket, with a minimalistic way of replicating it. thanks. - --

Re: [Qgis-user] Spatial Join

2013-08-08 Thread Jonathan Moules
Hi, (I seem to have lost the list). Yep, I'm on the weekly build from last week. Unfortunately it seems I've managed to break Join attributes by Location too. It gets to 15% and then sits there for ages using 100% of a Core and reading from my HDD at 300MB a second. The shapefiles are 400kb

[Qgis-user] Compilation Error

2013-08-08 Thread Remy CLAVERIE
Hi,   When I try to compile the github version of QGIS, I have the following error at 89% : Error copying file (if different) from /home/claverie/Qgis/Source/Quantum-GIS/build-master/python/plugins/sextante/ui_SextanteToolbox.py to

[Qgis-user] problems using grass plugin in Qgis 1.8

2013-08-08 Thread Map_Daddy
Hello I have been trying to use the grass plugin for Qgis but I keep getting this error every time I try and use a grass tool. Cannot start module Command C:\OSGeo4W\apps\grass\grass-6.4.3\bin/v.clean.exe--interference-description I'm thinking the problem is with the forward slash in the path.

Re: [Qgis-user] Spatial Join

2013-08-08 Thread Spencer Gardner
Perhaps this isn't a helpful answer, but I try to keep as much analytical work as possible out of my desktop GIS of choice (sometimes QGIS, sometimes ArcMap) and into a spatial database such as PostGIS. A spatial join like you've described is pretty trivial as a SQL query and allows for easy

Re: [Qgis-user] WMTS

2013-08-08 Thread Bruce, Bob (CWS)
Jonathon, I agree that it would be preferable to have a button to choose a WMTS connection. This would help the user to know for sure which service that they are selecting. And it would sure help me because my standard base URL is the same for WMTS and for WMS. However I have