Re: [Qgis-user] multiple labels display

2015-04-23 Thread Raymond Nijssen

http://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#labeling-with-expressions

On 23-04-15 15:53, Andreas Neumann wrote:

Hi,

You can do either:

* concatenate multiple attributes in one label, even with line breaks
* or load the same layer twice with different label settings

Other than that there is no way to have two different label settings on
the same layer while the layer is only loaded once.

Andreas

On 23.04.2015 15:34, Giacomo Minotti wrote:


I'd like to display on my screen more than one label associated with a
shp point file.
In property/labels I haven't find this option.
Thanks bye
Giacomo

Il 23/Apr/2015 15:26, "Anita Graser" mailto:anitagra...@gmx.at>> ha scritto:

That depends on exactly what you mean.

On Apr 23, 2015 3:04 PM, "Giacomo Minotti"
mailto:giacominott...@gmail.com>> wrote:

Hi all,
can I display more labels of a SHP?
Thanks
Giacomo Minotti

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/qgis-user



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user





___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user



--
Terglobo
Ampèrestraat 110
5223 CT 's-Hertogenbosch
06-25314983
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] LasTools use in QGIS 2.8.1

2015-04-23 Thread Nicolas Cadieux
Hi, 
Select any file then modify the path after.  If there is no file (should 
not be the case here), create a dummy .txt. 
Nicolas Cadieux M.Sc. 
Les Entreprises Archéotec inc.  
8548, rue Saint-Denis Montréal H2P 2H2 
Téléphone: 514.381.5112  Fax: 514.381.4995 
www.archeotec.ca 
On Apr 23, 2015 12:59 AM, "luigi.s102 [via OSGeo.org]" 
 wrote: 



I'm new in the QGIS world, and I have to convert a shp point file in las; I 
have seen that the Lastools is embedded in QGIS 2.8.1 in the folder C:\Program 
Files\QGIS Wien\apps\qgis\python\plugins\processing\algs\lidar; in the Options 
under Processing menu is required, in the file browser dialog, a file instead 
of a folder as indicated, in the option program dialog, and thus I don't 
know how to continue I'm thankful for any Your hint in this matter Regards 
Luigi 

Connetti gratis il mondo con la nuova indoona:  hai la chat, le chiamate, le 
video chiamate e persino le chiamate di gruppo. 
E chiami gratis anche i numeri fissi e mobili nel mondo! 
Scarica subito l’app Vai su https://www.indoona.com/ 
___
Qgis-user mailing list
[hidden email] 
http://lists.osgeo.org/mailman/listinfo/qgis-user 








If you reply to this email, your message will be added to the 
discussion below: 

http://osgeo-org.1560.x6.nabble.com/LasTools-use-in-QGIS-2-8-1-tp5202575.html 


To start a new topic under Quantum GIS - User, email 
ml-node+s1560n4125267h38@n6.nabble.com 
To unsubscribe from Quantum GIS - User, click here . 
NAML 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/LasTools-use-in-QGIS-2-8-1-tp5202575p5202682.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GDAL Fill nodata Algorithm

2015-04-23 Thread Nicolas Cadieux
Not sure.  Where do you see that?  A Mask is usually a raster file 
with zeros and ones.  It will permit you to cut or modify another raster 
to a specific shape by multiplying it to the mask.  I imagine a validity 
mask is asked if you what to first validate an area you want to modify.  
Nicolas Cadieux M.Sc. 
Les Entreprises Archéotec inc.  
8548, rue Saint-Denis Montréal H2P 2H2 
Téléphone: 514.381.5112  Fax: 514.381.4995 
www.archeotec.ca 
On Apr 23, 2015 8:36 AM, "Larissa Junek [via OSGeo.org]" 
 wrote: 

Hello Nicolas,
can you tell me what the validity mask is and what's it for? 
Am Thu, 23 Apr 2015 13:31:56 +0200
schrieb Larissa Junek < [hidden email] >:
> Hello Nicolas,
> I have further questions concerning the use of the algorithm!
> 
> Am Wed, 22 Apr 2015 12:00:03 -0700 (PDT)
> schrieb Nicolas Cadieux < [hidden email] >:
> 
> > Hi, 
> > I believe so but I usually use the  .tiff format.  
Just
> > make sure the "null data" value is specified in the raster. 
You can
> > do that under the "save as". Specifying additional null
> > value   in the layer properties does not work.
> Is it right that the no-data values must be represented by 0 so that
> the interpolation works properly then?
> 
>  Nicolas
> > Cadieux M.Sc. Les Entreprises Archéotec inc.  8548, 
rue
> > Saint-Denis Montréal H2P 2H2
> > Téléphone: 514.381.5112  Fax: 
514.381.4995
> > www.archeotec.ca On Apr 22, 2015 9:50 AM, "Larissa Junek [via
> > OSGeo.org]" < [hidden email] >
> > wrote: 
> > 
> >   Hello,
> > does someone know if you can use any GDAL-supported raster layer
> > with the Processing Fill nodata Algorithm?
> > Kinde regards,
> > Larissa
> > ___
> > Qgis-user mailing list
> > [hidden email] 
> > http://lists.osgeo.org/mailman/listinfo/qgis-user  
> > 
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   If you reply to this email, your message will be
> > added to the discussion below:
> > 
http://osgeo-org.1560.x6.nabble.com/GDAL-Fill-nodata-Algorithm-tp5202470.html  
> >   
> >   To start a new topic under Quantum GIS - User, email
> > ml-node+s1560n4125267h38@n6.nabble.com To unsubscribe 
from
> > Quantum GIS - User, click here . NAML 
> >   
> > 
> > 
> > 
> > --
> > View this message in context:
> > 
http://osgeo-org.1560.x6.nabble.com/GDAL-Fill-nodata-Algorithm-tp5202470p5202536.html
 > > Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> ___
> Qgis-user mailing list
> [hidden email] 
> http://lists.osgeo.org/mailman/listinfo/qgis-user -- 
Geoinformatikbüro Dassau GmbH 
Rethelstrasse 153
D - 40237 Düsseldorf
Tel: +49-211-69937750
Fax: +49-211-69937751
Mobile: +49-171-4687540
http://www.gbd-consult.de Registergericht: Amtsgericht Düsseldorf, HR B 74022
Geschäftsführer: Otto Dassau
___
Qgis-user mailing list
[hidden email] 
http://lists.osgeo.org/mailman/listinfo/qgis-user 








If you reply to this email, your message will be added to the 
discussion below: 

http://osgeo-org.1560.x6.nabble.com/GDAL-Fill-nodata-Algorithm-tp5202470p5202645.html
 


To start a new topic under Quantum GIS - User, email 
ml-node+s1560n4125267h38@n6.nabble.com 
To unsubscribe from Quantum GIS - User, click here . 
NAML 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GDAL-Fill-nodata-Algorithm-tp5202470p5202680.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] multiple labels display

2015-04-23 Thread Joris Hintjens
You can combine different attributes in one label using the expression
button, and separating the attributes with the // button

Hope this helps
Joris

2015-04-23 15:34 GMT+02:00 Giacomo Minotti :

> I'd like to display on my screen more than one label associated with a shp
> point file.
> In property/labels I haven't find this option.
> Thanks bye
> Giacomo
> Il 23/Apr/2015 15:26, "Anita Graser"  ha scritto:
>
>> That depends on exactly what you mean.
>> On Apr 23, 2015 3:04 PM, "Giacomo Minotti" 
>> wrote:
>>
>>> Hi all,
>>> can I display more labels of a SHP?
>>> Thanks
>>> Giacomo Minotti
>>>
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] multiple labels display

2015-04-23 Thread Andreas Neumann

Hi,

You can do either:

* concatenate multiple attributes in one label, even with line breaks
* or load the same layer twice with different label settings

Other than that there is no way to have two different label settings on 
the same layer while the layer is only loaded once.


Andreas

On 23.04.2015 15:34, Giacomo Minotti wrote:


I'd like to display on my screen more than one label associated with a 
shp point file.

In property/labels I haven't find this option.
Thanks bye
Giacomo

Il 23/Apr/2015 15:26, "Anita Graser" > ha scritto:


That depends on exactly what you mean.

On Apr 23, 2015 3:04 PM, "Giacomo Minotti"
mailto:giacominott...@gmail.com>> wrote:

Hi all,
can I display more labels of a SHP?
Thanks
Giacomo Minotti

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/qgis-user



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] multiple labels display

2015-04-23 Thread Giacomo Minotti
I'd like to display on my screen more than one label associated with a shp
point file.
In property/labels I haven't find this option.
Thanks bye
Giacomo
Il 23/Apr/2015 15:26, "Anita Graser"  ha scritto:

> That depends on exactly what you mean.
> On Apr 23, 2015 3:04 PM, "Giacomo Minotti" 
> wrote:
>
>> Hi all,
>> can I display more labels of a SHP?
>> Thanks
>> Giacomo Minotti
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] multiple labels display

2015-04-23 Thread Anita Graser
That depends on exactly what you mean.
On Apr 23, 2015 3:04 PM, "Giacomo Minotti"  wrote:

> Hi all,
> can I display more labels of a SHP?
> Thanks
> Giacomo Minotti
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] multiple labels display

2015-04-23 Thread Giacomo Minotti
Hi all,
can I display more labels of a SHP?
Thanks
Giacomo Minotti
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GDAL Fill nodata Algorithm

2015-04-23 Thread Larissa Junek
Hello Nicolas,
can you tell me what the validity mask is and what's it for? 

Am Thu, 23 Apr 2015 13:31:56 +0200
schrieb Larissa Junek :

> Hello Nicolas,
> I have further questions concerning the use of the algorithm!
> 
> Am Wed, 22 Apr 2015 12:00:03 -0700 (PDT)
> schrieb Nicolas Cadieux :
> 
> > Hi, 
> > I believe so but I usually use the  .tiff format.  Just
> > make sure the "null data" value is specified in the raster. You can
> > do that under the "save as". Specifying additional null
> > value   in the layer properties does not work.
> Is it right that the no-data values must be represented by 0 so that
> the interpolation works properly then?
> 
>  Nicolas
> > Cadieux M.Sc. Les Entreprises Archéotec inc.  8548, rue
> > Saint-Denis Montréal H2P 2H2
> > Téléphone: 514.381.5112  Fax: 514.381.4995
> > www.archeotec.ca On Apr 22, 2015 9:50 AM, "Larissa Junek [via
> > OSGeo.org]" 
> > wrote: 
> > 
> > Hello,
> > does someone know if you can use any GDAL-supported raster layer
> > with the Processing Fill nodata Algorithm?
> > Kinde regards,
> > Larissa
> > ___
> > Qgis-user mailing list
> > [hidden email] 
> > http://lists.osgeo.org/mailman/listinfo/qgis-user 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > If you reply to this email, your message will be
> > added to the discussion below:
> > http://osgeo-org.1560.x6.nabble.com/GDAL-Fill-nodata-Algorithm-tp5202470.html
> >  
> > 
> > To start a new topic under Quantum GIS - User, email
> > ml-node+s1560n4125267h38@n6.nabble.com To unsubscribe from
> > Quantum GIS - User, click here . NAML 
> > 
> > 
> > 
> > 
> > --
> > View this message in context:
> > http://osgeo-org.1560.x6.nabble.com/GDAL-Fill-nodata-Algorithm-tp5202470p5202536.html
> > Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Geoinformatikbüro Dassau GmbH 
Rethelstrasse 153
D - 40237 Düsseldorf
Tel: +49-211-69937750
Fax: +49-211-69937751
Mobile: +49-171-4687540
http://www.gbd-consult.de

Registergericht: Amtsgericht Düsseldorf, HR B 74022
Geschäftsführer: Otto Dassau
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Conditional Value Mapping

2015-04-23 Thread ALT SHN
Muchas Gracias Victor!

I thought about something of that sort, but in my case having data in a
database is not an option.

Anyway your solution seems to work, I'll keep it for future reference.

Regards,

Andre

2015-04-23 14:00 GMT+02:00 Víctor Manuel Herreros Villanueva <
vherre...@ucm.es>:

> Dear André,
>
> I asked for the same problem months ago without obtaining any answer. As
> far as I know, there is no QGIS feature implemented that allows you to
> achieve what you are looking for.
>
> So I decided to dive into my underlying PostgreSQL databse structure. The
> solution I chose was the following: Two reference tables with data
> description and one table with data for the user affected by one constraint.
>
> *Reference table for attribute 1 (ATTR1_TABLE)*
> --  
> ID  Textf
> --  
> 01  Agriculture (01)
> 02  Forest (02)
> --  
>
> *Reference table for attribute 2 (ATTR2_TABLE)*
> -  --
> ID Textf
> -  --
> 01.01  Corn (01.01)
> 01.02  Wheat (01.02)
> 02.01  Pines (02.01)
> 02.02  Olives (02.02)
> -  --
>
> *Structure of the table containing the data to be shown to the final user
> (DATA_TABLE)*
> attrib1_cod: character varying(9)
> attrib1_desc: character varying(100)
> attrib2_cod: character varying(9)
> attrib2_desc: character varying(100)
>
> Then I stablished the appropriate *database constraint*:
>
> ALTER TABLE DATA_TABLE
>   ADD CONSTRAINT data_table_cc_attr2 CHECK (attrib2_cod IS NULL OR
> attrib2_cod::text = ''::text OR "substring"(attrib2_cod::text, '^..'::text)
> = attrib1_cod::text);
>
> With this constraint, you ensure that the data to be introduced in
> ATTR2_TABLE ID field must contain in the string beginning one of the values
> present in ATTRIB1_TABLE ID field. So, if your user has selected
> attrib1_cod/attrib1_desc 01/Agriculture (01) for DATA_TABLE, then, when
> fullfilling attrib2_cod field he only can choose the values 01.01 or 01.02,
> because both of them start with the string '01'.
>
> Well, he can really choose any value for attrib2_cod, but only the
> appropriate ones won't throw insertion errors.
>
> The problem with this workaround is that the user can choose any value for
> attr2_cod field. But, if you decide to show him just the descriptive text
> fields, he can easily see which ones are proper values (because in the tex
> field all records end with the numeric code).
>
> I've personally decided to use just the numeric values for my users. So,
> under QGIS, and through a widget (value map), I show my users the fields
> attrib1_cod and attrib2_cod, but with the values taken from the text fields:
>
> *Value map widget for attrib1_cod*
> -  
> Value  Description
> -  
> 01 Agriculture (01)
> 02 Forest (02)
> -- 
>
> When the user selects from the drop down list the description 'Agriculture
> (01)', he is really selecting the value '01' for attrib1_cod. The same
> applies to attrib2_cod:
>
> *Value map widget for attrib2_cod*
> -  --
> Value  Description
> -  --
> 01.01  Corn (01.01)
> 01.02  Wheat (01.02)
> 02.01  Pines (02.01)
> 02.02  Olives (02.02)
> -  --
>
> And finally, in order not to ask the user to fullfill the field
> attrib*_desc (cause he has previously fullfilled attrib*_cod but from
> descriptive values), I have two more triggers and trigger functions whose
> mission is to fill in the descriptive fields provided the code fields have
> been modified:
>
> *Trigger for attrib1_desc on table DATA_TABLE*
> CREATE TRIGGER update_attrib1_desc
>   BEFORE INSERT OR UPDATE
>   ON DATA_TABLE
>   FOR EACH ROW
>   EXECUTE PROCEDURE update_attrib1_desc();
>
> *Trigger function for called by the previous trigger*
> CREATE OR REPLACE FUNCTION update_attrib1_desc()
>   RETURNS trigger AS
> $BODY$
>   DECLARE
>   BEGIN
> IF (TG_OP = 'INSERT' OR TG_OP = 'UPDATE' ) THEN
>   NEW.attrib1_desc := (SELECT Textf FROM ATTR1_TABLE WHERE ID =
> NEW.attrib1_cod);
>   RETURN NEW;
> ELSE
>   RETURN NULL;
> END IF;
>   END;
> $BODY$
>   LANGUAGE plpgsql VOLATILE
>   COST 100;
>
> So each time an attrib1_cod field is entered or updated, the trigger seeks
> for the appropriate attrib1_desc field and writes it into attrib1_desc
> field.
>
> And the same for attib2_desc:
>
> *Trigger for attrib2_desc on table DATA_TABLE*
> CREATE TRIGGER update_attrib2_desc
>   BEFORE INSERT OR UPDATE
>   ON DATA_TABLE
>   FOR EACH ROW
>   EXECUTE PROCEDURE update_attrib2_desc();
>
> *Trigger function for called by the previous trigger*
> CREATE OR REPLACE FUNCTION update_attrib2_desc()
>   RETURNS trigger AS
> $BODY$
>   DECLARE
>   BEGIN
> IF (TG_OP = 'INSERT' OR TG_OP = 'UPDATE' ) THEN
>   NEW.attrib2_desc := (SELECT Textf FROM ATTR2_TABLE WHERE ID =
> NEW.attrib2_cod);
>   RETURN NEW;
> ELSE
>   RETURN NULL;
> END IF;
>   END;
> $BODY$
>   LANGU

Re: [Qgis-user] Conditional Value Mapping

2015-04-23 Thread Víctor Manuel Herreros Villanueva
Dear André,

I asked for the same problem months ago without obtaining any answer. As
far as I know, there is no QGIS feature implemented that allows you to
achieve what you are looking for.

So I decided to dive into my underlying PostgreSQL databse structure. The
solution I chose was the following: Two reference tables with data
description and one table with data for the user affected by one constraint.

*Reference table for attribute 1 (ATTR1_TABLE)*
--  
ID  Textf
--  
01  Agriculture (01)
02  Forest (02)
--  

*Reference table for attribute 2 (ATTR2_TABLE)*
-  --
ID Textf
-  --
01.01  Corn (01.01)
01.02  Wheat (01.02)
02.01  Pines (02.01)
02.02  Olives (02.02)
-  --

*Structure of the table containing the data to be shown to the final user
(DATA_TABLE)*
attrib1_cod: character varying(9)
attrib1_desc: character varying(100)
attrib2_cod: character varying(9)
attrib2_desc: character varying(100)

Then I stablished the appropriate *database constraint*:

ALTER TABLE DATA_TABLE
  ADD CONSTRAINT data_table_cc_attr2 CHECK (attrib2_cod IS NULL OR
attrib2_cod::text = ''::text OR "substring"(attrib2_cod::text, '^..'::text)
= attrib1_cod::text);

With this constraint, you ensure that the data to be introduced in
ATTR2_TABLE ID field must contain in the string beginning one of the values
present in ATTRIB1_TABLE ID field. So, if your user has selected
attrib1_cod/attrib1_desc 01/Agriculture (01) for DATA_TABLE, then, when
fullfilling attrib2_cod field he only can choose the values 01.01 or 01.02,
because both of them start with the string '01'.

Well, he can really choose any value for attrib2_cod, but only the
appropriate ones won't throw insertion errors.

The problem with this workaround is that the user can choose any value for
attr2_cod field. But, if you decide to show him just the descriptive text
fields, he can easily see which ones are proper values (because in the tex
field all records end with the numeric code).

I've personally decided to use just the numeric values for my users. So,
under QGIS, and through a widget (value map), I show my users the fields
attrib1_cod and attrib2_cod, but with the values taken from the text fields:

*Value map widget for attrib1_cod*
-  
Value  Description
-  
01 Agriculture (01)
02 Forest (02)
-- 

When the user selects from the drop down list the description 'Agriculture
(01)', he is really selecting the value '01' for attrib1_cod. The same
applies to attrib2_cod:

*Value map widget for attrib2_cod*
-  --
Value  Description
-  --
01.01  Corn (01.01)
01.02  Wheat (01.02)
02.01  Pines (02.01)
02.02  Olives (02.02)
-  --

And finally, in order not to ask the user to fullfill the field
attrib*_desc (cause he has previously fullfilled attrib*_cod but from
descriptive values), I have two more triggers and trigger functions whose
mission is to fill in the descriptive fields provided the code fields have
been modified:

*Trigger for attrib1_desc on table DATA_TABLE*
CREATE TRIGGER update_attrib1_desc
  BEFORE INSERT OR UPDATE
  ON DATA_TABLE
  FOR EACH ROW
  EXECUTE PROCEDURE update_attrib1_desc();

*Trigger function for called by the previous trigger*
CREATE OR REPLACE FUNCTION update_attrib1_desc()
  RETURNS trigger AS
$BODY$
  DECLARE
  BEGIN
IF (TG_OP = 'INSERT' OR TG_OP = 'UPDATE' ) THEN
  NEW.attrib1_desc := (SELECT Textf FROM ATTR1_TABLE WHERE ID =
NEW.attrib1_cod);
  RETURN NEW;
ELSE
  RETURN NULL;
END IF;
  END;
$BODY$
  LANGUAGE plpgsql VOLATILE
  COST 100;

So each time an attrib1_cod field is entered or updated, the trigger seeks
for the appropriate attrib1_desc field and writes it into attrib1_desc
field.

And the same for attib2_desc:

*Trigger for attrib2_desc on table DATA_TABLE*
CREATE TRIGGER update_attrib2_desc
  BEFORE INSERT OR UPDATE
  ON DATA_TABLE
  FOR EACH ROW
  EXECUTE PROCEDURE update_attrib2_desc();

*Trigger function for called by the previous trigger*
CREATE OR REPLACE FUNCTION update_attrib2_desc()
  RETURNS trigger AS
$BODY$
  DECLARE
  BEGIN
IF (TG_OP = 'INSERT' OR TG_OP = 'UPDATE' ) THEN
  NEW.attrib2_desc := (SELECT Textf FROM ATTR2_TABLE WHERE ID =
NEW.attrib2_cod);
  RETURN NEW;
ELSE
  RETURN NULL;
END IF;
  END;
$BODY$
  LANGUAGE plpgsql VOLATILE
  COST 100;


A little bit confusing, but I haven't found any other way to solve the
problem...

Best regards.



2015-04-23 12:19 GMT+02:00 ALT SHN :

> Hi,
>
> I am looking for a way to implement conditional value mapping in QGIS.
> This means that the values available in attribute number 2 depend on the
> value provided in attribute 1.
>
> Example:
>
> If the user enters "agriculture" in attribute 1, for attribute 2 only
> "corn" or "wheat" will be available.
>
> Instead, if the user enters "forest" in attribute 1, for attribute 2 

Re: [Qgis-user] QGIS-rel-dev doesn't install alone

2015-04-23 Thread Jürgen E . Fischer
Hi Heather,

On Thu, 23. Apr 2015 at 12:01:02 +0200, Hillers Heather wrote:
> We really need qgis 2.8.2 on our productive system to fix an oracle bug that
> is for us critical and becoming more and more critical as we get more users.
> We were waiting for the point release to come, but this week we decided it
> was better not to wait and just install the qgis-rel-dev as our production
> version until the point release came.  However, when we run OSGeo4W and try
> to uninstall the qgis module and install the qgis-rel-dev module, it doesn't
> work.  We end up with qgis and qgis-rel-dev anyway, and 2 start menu items.

> We get the dependency notice, qgis required by qgis-globe-plugin,
> qgis-grass-plugin, qgis-oracle-provider.  We definitely need
> qgis-grass-plugin and qgis-oracle-provider.  How can we get a clean install
> of qgis-rel-dev?

qgis-globe-plugin, qgis-grass-plugin and qgis-oracle-provider belong to "qgis",

You don't need any of those to run "qgis-rel-dev", but you also don't need to
deinstall "qgis" to install "qgis-rel-dev".  It's not split into sub packages
(like the master build qgis-dev).

After installing you should have a shortcut to "QGIS Desktop 2.8.1 (Nightly)"
that starts the nighly of 2.8.



Jürgen


-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GDAL Fill nodata Algorithm

2015-04-23 Thread Larissa Junek
Hello Nicolas,
I have further questions concerning the use of the algorithm!

Am Wed, 22 Apr 2015 12:00:03 -0700 (PDT)
schrieb Nicolas Cadieux :

> Hi, 
> I believe so but I usually use the  .tiff format.  Just
> make sure the "null data" value is specified in the raster. You can
> do that under the "save as". Specifying additional null
> value   in the layer properties does not work.
Is it right that the no-data values must be represented by 0 so that
the interpolation works properly then?

 Nicolas
> Cadieux M.Sc. Les Entreprises Archéotec inc.  8548, rue
> Saint-Denis Montréal H2P 2H2
> Téléphone: 514.381.5112  Fax: 514.381.4995
> www.archeotec.ca On Apr 22, 2015 9:50 AM, "Larissa Junek [via
> OSGeo.org]" 
> wrote: 
> 
>   Hello,
> does someone know if you can use any GDAL-supported raster layer with
> the Processing Fill nodata Algorithm?
> Kinde regards,
> Larissa
> ___
> Qgis-user mailing list
> [hidden email] 
> http://lists.osgeo.org/mailman/listinfo/qgis-user 
> 
>   
>   
>   
>   
>   
>   
>   
>   If you reply to this email, your message will be
> added to the discussion below:
> http://osgeo-org.1560.x6.nabble.com/GDAL-Fill-nodata-Algorithm-tp5202470.html 
>   
>   To start a new topic under Quantum GIS - User, email
> ml-node+s1560n4125267h38@n6.nabble.com To unsubscribe from
> Quantum GIS - User, click here . NAML 
>   
> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/GDAL-Fill-nodata-Algorithm-tp5202470p5202536.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Conditional Value Mapping

2015-04-23 Thread ALT SHN
Hi,

I am looking for a way to implement conditional value mapping in QGIS. This
means that the values available in attribute number 2 depend on the value
provided in attribute 1.

Example:

If the user enters "agriculture" in attribute 1, for attribute 2 only
"corn" or "wheat" will be available.

Instead, if the user enters "forest" in attribute 1, for attribute 2 only
"pines" or "olives" will be available.

And so on...

Apparently this is not doable just using the QGIS widget expression
builder, but I am not sure. Here's a screencast to help visualize. The
problem is that if for "class" I pick other than "Agri_Field", for the
"color_aggri" attribute the same possible values appear.

[image: enter image description here]

Thanks in advance for any hints!


Regards,


Andre




-- 
---


*Sociedade de História Natural*
Departamento de Informação Geográfica
Polígono Industrial do Alto do Amial
Pav.H02 e H06

i.geograf...@alt-shn.org 
www.shn.pt
www.alt-shn.blogspot.com
Facebook 

TLM: 964138188
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS-rel-dev doesn't install alone

2015-04-23 Thread Hillers Heather

We really need qgis 2.8.2 on our productive system to fix an oracle bug that is 
for us critical and becoming more and more critical as we get more users.  We 
were waiting for the point release to come, but this week we decided it was 
better not to wait and just install the qgis-rel-dev as our production version 
until the point release came.  However, when we run OSGeo4W and try to 
uninstall the qgis module and install the qgis-rel-dev module, it doesn't work. 
 We end up with qgis and qgis-rel-dev anyway, and 2 start menu items.

We get the dependency notice, qgis required by qgis-globe-plugin, 
qgis-grass-plugin, qgis-oracle-provider.  We definitely need qgis-grass-plugin 
and qgis-oracle-provider.  How can we get a clean install of qgis-rel-dev?

Thanks,

heather

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user