Thanks for support to Paolo Cavallini - Faunalia !

Can you give some detailed steps for OTB plugin in GRASS ?

Bets regards,

Dan



________________________________
 From: "[email protected]" <[email protected]>
To: [email protected] 
Sent: Thursday, December 29, 2011 12:33 PM
Subject: Qgis-user Digest, Vol 70, Issue 61
 
Send Qgis-user mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
    [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qgis-user digest..."


Today's Topics:

   1. Re: Add new template to the composer (Marco Hugentobler)
   2. Re: New Labeling: conditional labels (Giuseppe Sucameli)
   3. GRASS plugin instability on Windows? (Paolo Cavallini)
   4. fragstat question (dan laurentiu stoica)
   5. Re: fragstat question (Paolo Cavallini)
   6. Re: Add new template to the composer (Paolo Cavallini)
   7. Re: GRASS plugin instability on Windows? (Alexander Bruy)
   8. Re: New Labeling: conditional labels (Andreas Neumann)
   9. Re: GRASS plugin instability on Windows? (Paolo Cavallini)
  10. Re: New Labeling: conditional labels (Paolo Cavallini)
  11. Re: New Labeling: conditional labels (Nathan Woodrow)


----------------------------------------------------------------------

Message: 1
Date: Wed, 28 Dec 2011 19:05:41 +0100
From: Marco Hugentobler <[email protected]>
Subject: Re: [Qgis-user] Add new template to the composer
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Yves

Add a new directory called 'composer_templates' into /usr/share/qgis and 
save template files into it ('Save as template' in print composer 
window). The composermanager creates a new entry for each template in 
that directory.
Btw, that functionality was developed for the edugeo project ;-)

Regards,
Marco

On 28.12.2011 16:52, Yves Jacolin wrote:
> Hello,
>
> When I open the composer manager, there is a dropdown list to choose the
> template for the new composer. There is always one item and I can't see how to
> change this (add a new template for instance).
>
> Furthermore, easyPrint use a specific template that don't fit for everybody 
> need
> and therefore this plugins is not so usefull.
>
> Do you know any way to create template for the composer?
>
> Thanks,
>
> Y.
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
[email protected] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee



------------------------------

Message: 2
Date: Wed, 28 Dec 2011 20:01:43 +0100
From: Giuseppe Sucameli <[email protected]>
Subject: Re: [Qgis-user] New Labeling: conditional labels
To: Andreas Neumann <[email protected]>
Cc: qgis-user <[email protected]>
Message-ID:
    <caa6k8-+6jc_+h3bje2n15arxtskploi9ntzcig7y8c--qjb...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Andreas,

On Thu, Dec 22, 2011 at 2:31 PM, Andreas Neumann <[email protected]> wrote:
> What I want is that a label is only drawn if a column value is larger than
> 0. I don't want to label features with a value of zero.
>
> Do you have any hints how the syntax works for such a case? I see ">"
> operators but no "if" or "when".

there's no "if" operator, but ">" returns 1 if true and 0 if false,
e.g. (field > 5)*10 let's give you 10 or 0 as result.

The problem is that you don't want to display anything when
the field value is 0, so we can use the substr function.

Here's the solution to your problem:
substr(id, 0, (id > 0)*-1)
that means if id <= 0 then substr(id, 0, 0) else substr(id, 0, -1)

In general:
substr(output, 0, (condition)*-1)

Cheers.

> If it is not possible, then I can still do it in Postgis, but it would be
> nice being able to do this in QGIS.
>
> Thanks for any hints,
> Andreas
>
> --
> --
> Andreas Neumann
> Böschacherstrasse 10A
> 8624 Grüt (Gossau ZH)
> Switzerland
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Giuseppe Sucameli


------------------------------

Message: 3
Date: Thu, 29 Dec 2011 07:43:50 +0100
From: Paolo Cavallini <[email protected]>
Subject: [Qgis-user] GRASS plugin instability on Windows?
To: qgis-user <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi all.
I recently had reports about some instability of the GRASS plugin on windows.
(Un)fortunately I cannot test it, as I do not own a win licence, so I'm asking 
here:
* is this a common problem?
* can be related to anything specific?
- Win version
- installed software
- does it happen on "dirty" installations only, or also on clean ones?
- antivirus?
* when (at what QGIS version) has the problem arisen?
Thanks a lot.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc


------------------------------

Message: 4
Date: Thu, 29 Dec 2011 00:36:33 -0800 (PST)
From: dan laurentiu stoica <[email protected]>
Subject: [Qgis-user] fragstat question
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Does anyone have some hints for the use of Fragstat with Q GIS ?

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.osgeo.org/pipermail/qgis-user/attachments/20111229/b5949e53/attachment-0001.html

------------------------------

Message: 5
Date: Thu, 29 Dec 2011 09:55:13 +0100
From: Paolo Cavallini <[email protected]>
Subject: Re: [Qgis-user] fragstat question
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Il 29/12/2011 09:36, dan laurentiu stoica ha scritto:
> Does anyone have some hints for the use of Fragstat with Q GIS ?
> Dan

Hi Dan [I already sent this, did you receive it?].
AFAIK there is nothing like Fragstat ready-made in QGIS. You have two routes:
- r.li (GRASS module), not yet implemented in QGIS, you'll need GRASS
- OTB plugin (methods should be added for the analyses you need).
All the best.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc


------------------------------

Message: 6
Date: Thu, 29 Dec 2011 10:54:06 +0100
From: Paolo Cavallini <[email protected]>
Subject: Re: [Qgis-user] Add new template to the composer
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Il 28/12/2011 19:05, Marco Hugentobler ha scritto:
> Hi Yves
> 
> Add a new directory called 'composer_templates' into /usr/share/qgis and save
> template files into it ('Save as template' in print composer window). The
> composermanager creates a new entry for each template in that directory.

Hi all.
Wouldn't it be better using the /home dir instead of /usr/share/qgis for this?
All the best.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc


------------------------------

Message: 7
Date: Thu, 29 Dec 2011 12:22:50 +0200
From: Alexander Bruy <[email protected]>
Subject: Re: [Qgis-user] GRASS plugin instability on Windows?
To: [email protected]
Cc: qgis-user <[email protected]>
Message-ID:
    <caluhmpbekdp_zeecx+09aggbfc8cqmit9k+eymuzugtvzfe...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hi,

I can confirm problems with output messages encoding [0] under
32 bit Windows XP Pro SP3, 32 and 64 bit Windows 7. This happen
on clean and dirty installations and seems not releated to any
specific software.

[0] http://hub.qgis.org/issues/3164

2011/12/29 Paolo Cavallini <[email protected]>:
> Hi all.
> I recently had reports about some instability of the GRASS plugin on windows.
> (Un)fortunately I cannot test it, as I do not own a win licence, so I'm 
> asking here:
> * is this a common problem?
> * can be related to anything specific?
> - Win version
> - installed software
> - does it happen on "dirty" installations only, or also on clean ones?
> - antivirus?
> * when (at what QGIS version) has the problem arisen?
> Thanks a lot.

-- 
Alexander Bruy


------------------------------

Message: 8
Date: Thu, 29 Dec 2011 11:25:38 +0100
From: Andreas Neumann <[email protected]>
Subject: Re: [Qgis-user] New Labeling: conditional labels
To: Giuseppe Sucameli <[email protected]>
Cc: qgis-user <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi Giuseppe,

Thanks for your hint with the syntax - it works in my case.

I think I sort of understand the syntax - at least the > operator and 
the substr. What I do not understand is why I need the *-1 (multiplier).

But I think the syntax is far from being intuitive, without some help. 
Maybe we can come up with a simple solution in the future?

If we could combine the rule-based renderer approach with the current 
labeler (with its new query builder), it would be awesome.

Thanks for your help!

Andreas

On Wed, 28 Dec 2011 20:01:43 +0100, Giuseppe Sucameli wrote:
> Hi Andreas,
>
> On Thu, Dec 22, 2011 at 2:31 PM, Andreas Neumann 
> <[email protected]> wrote:
>> What I want is that a label is only drawn if a column value is 
>> larger than
>> 0. I don't want to label features with a value of zero.
>>
>> Do you have any hints how the syntax works for such a case? I see 
>> ">"
>> operators but no "if" or "when".
>
> there's no "if" operator, but ">" returns 1 if true and 0 if false,
> e.g. (field > 5)*10 let's give you 10 or 0 as result.
>
> The problem is that you don't want to display anything when
> the field value is 0, so we can use the substr function.
>
> Here's the solution to your problem:
> substr(id, 0, (id > 0)*-1)
> that means if id <= 0 then substr(id, 0, 0) else substr(id, 0, -1)
>
> In general:
> substr(output, 0, (condition)*-1)
>
> Cheers.
>
>> If it is not possible, then I can still do it in Postgis, but it 
>> would be
>> nice being able to do this in QGIS.
>>
>> Thanks for any hints,
>> Andreas
>>
>> --
>> --
>> Andreas Neumann
>> Böschacherstrasse 10A
>> 8624 Grüt (Gossau ZH)
>> Switzerland
>> _______________________________________________
>> Qgis-user mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland


------------------------------

Message: 9
Date: Thu, 29 Dec 2011 11:25:09 +0100
From: Paolo Cavallini <[email protected]>
Subject: Re: [Qgis-user] GRASS plugin instability on Windows?
To: Alexander Bruy <[email protected]>
Cc: qgis-user <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

Il 29/12/2011 11:22, Alexander Bruy ha scritto:

> I can confirm problems with output messages encoding [0] under
> 32 bit Windows XP Pro SP3, 32 and 64 bit Windows 7. This happen
> on clean and dirty installations and seems not releated to any
> specific software.

Thanks for feedback - but this does not ionvolve any instability, right?
All the best.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc


------------------------------

Message: 10
Date: Thu, 29 Dec 2011 11:27:51 +0100
From: Paolo Cavallini <[email protected]>
Subject: Re: [Qgis-user] New Labeling: conditional labels
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

Il 29/12/2011 11:25, Andreas Neumann ha scritto:

> If we could combine the rule-based renderer approach with the current labeler 
> (with
> its new query builder), it would be awesome.

Agreed, I think we must use the same approach everywhere (renderer, field 
calculator,
raster calculator, actions), and the labelling approach is the best IMHO. 
Others are
often a bit geeky.
All the best.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc


------------------------------

Message: 11
Date: Thu, 29 Dec 2011 20:33:07 +1000
From: Nathan Woodrow <[email protected]>
Subject: Re: [Qgis-user] New Labeling: conditional labels
To: Andreas Neumann <[email protected]>
Cc: qgis-user <[email protected]>,    Giuseppe Sucameli
    <[email protected]>
Message-ID:
    <caai8yg9a_9zzd3wvdyogjqrprzyyomjr4mfzyzcjqfsmkgg...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

It would be handy to add condition statements to QgsExpression so we can
support this kind of thing, Martin would be the guy to talk to about adding
this kind of thing.  He knows the most about QgsExpression.

I am also looking at adding Python support to any sections that also use
QgsExpression; this would allow us to use a QGIS expression for simple-ish
stuff but also Python if need be for doing more powerful stuff.

I started a wiki page[0] before the last Hackfest about some of my ideas
about adding rule based labeling, which would be very cool to have.

[0] http://hub.qgis.org/wiki/quantum-gis/RuleBasedLabelingIdeas

- Nathan

On Thu, Dec 29, 2011 at 8:25 PM, Andreas Neumann <[email protected]>wrote:

> Hi Giuseppe,
>
> Thanks for your hint with the syntax - it works in my case.
>
> I think I sort of understand the syntax - at least the > operator and the
> substr. What I do not understand is why I need the *-1 (multiplier).
>
> But I think the syntax is far from being intuitive, without some help.
> Maybe we can come up with a simple solution in the future?
>
> If we could combine the rule-based renderer approach with the current
> labeler (with its new query builder), it would be awesome.
>
> Thanks for your help!
>
> Andreas
>
>
> On Wed, 28 Dec 2011 20:01:43 +0100, Giuseppe Sucameli wrote:
>
>> Hi Andreas,
>>
>> On Thu, Dec 22, 2011 at 2:31 PM, Andreas Neumann <[email protected]>
>> wrote:
>>
>>> What I want is that a label is only drawn if a column value is larger
>>> than
>>> 0. I don't want to label features with a value of zero.
>>>
>>> Do you have any hints how the syntax works for such a case? I see ">"
>>> operators but no "if" or "when".
>>>
>>
>> there's no "if" operator, but ">" returns 1 if true and 0 if false,
>> e.g. (field > 5)*10 let's give you 10 or 0 as result.
>>
>> The problem is that you don't want to display anything when
>> the field value is 0, so we can use the substr function.
>>
>> Here's the solution to your problem:
>> substr(id, 0, (id > 0)*-1)
>> that means if id <= 0 then substr(id, 0, 0) else substr(id, 0, -1)
>>
>> In general:
>> substr(output, 0, (condition)*-1)
>>
>> Cheers.
>>
>>  If it is not possible, then I can still do it in Postgis, but it would be
>>> nice being able to do this in QGIS.
>>>
>>> Thanks for any hints,
>>> Andreas
>>>
>>> --
>>> --
>>> Andreas Neumann
>>> Böschacherstrasse 10A
>>> 8624 Grüt (Gossau ZH)
>>> Switzerland
>>> ______________________________**_________________
>>> Qgis-user mailing list
>>> [email protected]
>>> http://lists.osgeo.org/**mailman/listinfo/qgis-user<http://lists.osgeo.org/mailman/listinfo/qgis-user>
>>>
>>
> --
> --
> Andreas Neumann
> Böschacherstrasse 10A
> 8624 Grüt (Gossau ZH)
> Switzerland
> ______________________________**_________________
> Qgis-user mailing list
> [email protected]
> http://lists.osgeo.org/**mailman/listinfo/qgis-user<http://lists.osgeo.org/mailman/listinfo/qgis-user>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.osgeo.org/pipermail/qgis-user/attachments/20111229/d362fa83/attachment.html

------------------------------

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user


End of Qgis-user Digest, Vol 70, Issue 61
*****************************************
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to