Awesome,
Thanks Nathan!
On 8/05/2015, at 10:34 am, Nathan Woodrow wrote:
> Hey Andrew,
>
> This is how I did it with Roam to get all the legend items for the layer:
>
> items = layer.rendererV2().legendSymbologyItems(ICON_SIZE)
>
> That will give you a list of:Text - Icon pairs
>
> if you a
MOre cosmetics: the command would better be displayed in a text box,
perhaps collapsed, within the dialog, rather than over it.
Moreover, the help is missing (better use the upstream, as we do for
grass), and this should be fixed before removing GDALTools.
Overall, we are pretty close, nice to get
Hey Andrew,
This is how I did it with Roam to get all the legend items for the layer:
items = layer.rendererV2().legendSymbologyItems(ICON_SIZE)
That will give you a list of:Text - Icon pairs
if you are using the rule base renderer you get can the symbol for the rule
and paint that into a pixma
Any takers for this one? I'd like to render the active symbol for a layer as a
QPixmap in a dialog.
I have got this far:
s = layer().rendererV2()
key = s.rootRule().findRuleByKey(s.rootRule().ruleKey())
This tells me the active rule key to be rendered but how to get the image dat
Il 07/05/2015 19:03, Raymond Nijssen ha scritto:
> Hi Paolo,
>
> Exact same problem here (QGIS testing on linux) and also solved after a
> "save as shapefile".
Thanks for confirmation, ticket open.
All the best!
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu
Il 07/05/2015 13:24, Victor Olaya ha scritto:
>>>
>>> Right. What I miss is the echo of the gdal command line. Throwing it
>>> away would be a pity IMHO.
>>> All the best.
>
> Done. All GDAL and OGR algorithms have now a custom parameters dialog
> which shows the console call in a text box as you
Hi Paolo,
Exact same problem here (QGIS testing on linux) and also solved after a
"save as shapefile".
Regards,
Raymond
On 07-05-15 18:52, Paolo Cavallini wrote:
Hi all.
This file:
http://www.faunalia.eu/~paolo/qgis/result.zip
resulting from
processing.runalg("saga:gridstatisticsforpolygons"
Il 07/05/2015 19:02, Alexander Bruy ha scritto:
> Hi Paolo,
>
> confirmed with master (f9f333b)
Ticket opened:
https://hub.qgis.org/issues/12713
Thanks.
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
Hi Paolo,
confirmed with master (f9f333b)
2015-05-07 19:52 GMT+03:00 Paolo Cavallini :
> Hi all.
> This file:
> http://www.faunalia.eu/~paolo/qgis/result.zip
> resulting from
> processing.runalg("saga:gridstatisticsforpolygons","/tmp/RESULT.tif","/path/municipalities.shp",False,False,True,False,T
Hi all.
This file:
http://www.faunalia.eu/~paolo/qgis/result.zip
resulting from
processing.runalg("saga:gridstatisticsforpolygons","/tmp/RESULT.tif","/path/municipalities.shp",False,False,True,False,True,False,False,False,0,None)
seems impossible to thematize on the basis of the ``Calculated`` colu
A few precisions:
>
> My current conclusions are:
> 1) the problem is likely in the implementation of MySQL/GDAL driver
> since QGIS 2.0
This should rather read : "The problem is likely the implementation of OGR
datasource management in QGIS since QGIS "
> 2) The last version that worked f
Hi,
I have a suspicion that the MySQL driver in QGIS is not working properly
when the MySQL database contains more than one table. I made tests with
pure command-line GDAL and this problem does not occur there. GDAL
queries all the tables, but only once, at the opening of the dataset.
QGIS however
Il 07/05/2015 13:24, Victor Olaya ha scritto:
>>>
>>> Right. What I miss is the echo of the gdal command line. Throwing it
>>> away would be a pity IMHO.
>>> All the best.
>
> Done. All GDAL and OGR algorithms have now a custom parameters dialog
> which shows the console call in a text box as you
Hi Jürgen,
On 07/05/2015 10:37, Jürgen E. Fischer wrote:
> Hi Hugo,
>
> On Thu, 07. May 2015 at 10:17:55 +0200, Hugo Mercier wrote:
>> Lots of methods in QGIS are now decorated with the C++11 "override"
>> keyword. Which is good.
>> But it is only enabled for gcc and Clang compilers (not under MS
>>
>> Right. What I miss is the echo of the gdal command line. Throwing it
>> away would be a pity IMHO.
>> All the best.
Done. All GDAL and OGR algorithms have now a custom parameters dialog
which shows the console call in a text box as you modify parameter
values
Please take a look at it (it is
Hello,
I am currently working on the QGIS user manual 2.8 and deal with two
options in the Spatial Query plugin we didn't explain so far:
- invalid source (source with geometry errors?)
- invalid reference
While 'Result feature IDs' when having run the plugin is easy to
understand we didn't manag
Hi,
> Also, many ftools algorithms are terribly slow (e.g. dissolve), particularly
> when compared to the equivalent tools based on ogr2ogr, that Giovanni Manghi
> added to Processing a few months ago. It may worth considering the
> possibility of deleting some ftools algorithm in favor of the og
Hi Hugo,
On Thu, 07. May 2015 at 10:17:55 +0200, Hugo Mercier wrote:
> Lots of methods in QGIS are now decorated with the C++11 "override"
> keyword. Which is good.
> But it is only enabled for gcc and Clang compilers (not under MSVC for
> instance).
> So ... what features of C++11 is allowed in
Hi all,
Lots of methods in QGIS are now decorated with the C++11 "override"
keyword. Which is good.
But it is only enabled for gcc and Clang compilers (not under MSVC for
instance).
So ... what features of C++11 is allowed in QGIS source code ? Support
in GCC/CLang is excellent and the version of
19 matches
Mail list logo