Re: [Qgis-developer] Raster calculator

2010-12-10 Thread Marco Hugentobler
Hi Pavol

Thanks for your comments and suggestions. 

 - it will be great if the dialog for calculator will not be closed after
 every clicking on OK button,
 
 - it will be also great if the Add results to project checkbox default
 state was checked,
 -and it will be absolutely great if the calculator will remember the
 path to last used directory for output layers.

Agreed. That makes the usage more convenient and they can be implemented 
relatively quickly (noted on my todo list).

 The ability to use equality operators is great, but what i really miss
 in comparison with GRASS Map algebra is the ability to use logical
 operators. These are really useful in complicated expressions.

Hopefully something for the near future too. I opened an enhancement ticket in 
trac.

 BTW: Is there any way, how to set color map for raster layers defaultly
 to pseudocolor, at least for one band rasters?

Not that I know. I remember that a default raster symbology for new layers was 
mentioned as a wish several times before.

Regards,
Marco


Am Freitag, 10. Dezember 2010, um 01.28:49 schrieb Pavol Kapusta:
 Hi,
 
 today i used this great improvement for the first time and created
 almost 40 new rasters thanks raster calculator. For first big thank
 toMarco Hugentobler.
 
 I would like to post here some reflections:
 
 - it will be great if the dialog for calculator will not be closed after
 every clicking on OK button,
 
 - it will be also great if the Add results to project checkbox default
 state was checked,
 
 -and it will be absolutely great if the calculator will remember the
 path to last used directory for output layers.
 
 The ability to use equality operators is great, but what i really miss
 in comparison with GRASS Map algebra is the ability to use logical
 operators. These are really useful in complicated expressions.
 
 BTW: Is there any way, how to set color map for raster layers defaultly
 to pseudocolor, at least for one band rasters?
 
 Once more big thank
 
 Regards
 Pavol


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Spatialite ’select’ stateme nt as vector layer in QGIS

2010-12-10 Thread Ricardo Filipe Soares Garcia da
Hi all
I've added a new version of this plugin (v 0.2).
It is now possible to query spatialite and postgis layers. The results
are displayed on the map canvas or as a table. I added a small help
page to the plugin as well. I started writing some documentation on
how to use it, but it is still unfinished.

A small gotcha: if you decide to test it with postgis layers, don't
forget to include the schema name when you reference a table.

Please let me have some feedback, if you have the time to test it out. Thanks


On Thu, Dec 9, 2010 at 10:40 AM, Ricardo Filipe Soares Garcia da
ricardo.garcia.si...@gmail.com wrote:
 Sorry, forgot to add this:

 I will add a small help page explaining the functionality later.
 Probably tomorrow.

 Cheers

 On Thu, Dec 9, 2010 at 10:38 AM, Ricardo Filipe Soares Garcia da
 ricardo.garcia.si...@gmail.com wrote:
 Hello

 I have uploaded my plugin to the contributed repository. I marked it
 as experimental. It is called 'Custom DB query'. I did a bit of
 cleaning up and even managed to get the 'normal query' feature to
 work.

 So, by now you can:

 - run an SQL query and choose to view the result in the map canvas or
 in a table format. This is only working for spatialite layers. Postgis
 will come later.

 Beware that I am not parsing the SQL in any way! So please be careful
 about what SQL queries you write, that can potentially damage your
 database. If you stick to SELECT statements it is OK.

 I didn't mean to bring one more spatial db plugin to the table, when
 there are currently so many ;)
 I will retire this one in due time.


 --
 ___ ___ __
 Ricardo Garcia Silva




 --
 ___ ___ __
 Ricardo Garcia Silva




-- 
___ ___ __
Ricardo Garcia Silva
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer