Re: [GRASS-user] r.mapcalc multiprocess

2016-03-11 Thread Blumentrath, Stefan
Hi Lorenzo,


I guess you would have to set the WORKERS environment variable to the number of 
concurrent processes you want to have, e.g.

export WORKERS=4

But again, I do not think that this is recommended! Developers would be able to 
tell you more...


Cheers

Stefan




Von: Lorenzo Bottaccioli 
Gesendet: Freitag, 11. März 2016 12:16
An: Blumentrath, Stefan
Cc: GRASS user list
Betreff: Re: [GRASS-user] r.mapcalc multiprocess

Hi Stefan,

I have just updated my grass-gis version to 7.0.3, berfore I was using 7.0.0 
version and mapcalc was running in multitheard mode and was much faster. My 
question is how can i make it run again in multitheading?

Regards,

Lorenzo

2016-03-10 22:39 GMT+01:00 Blumentrath, Stefan 
mailto:stefan.blumentr...@nina.no>>:
Hi,

As far as I know it is not exactly recommended to compile with pthread, and if 
I recall the latest discussion correctly, the number of default workers was 
deliberately set to 1 due to issues with multithreaded r.mapcalc.

Don`t know which was the latest discussion on this topic, but it has been 
discussed / explained in detail on the developer list, e.g.:
https://lists.osgeo.org/pipermail/grass-dev/2012-June/058749.html
https://lists.osgeo.org/pipermail/grass-dev/2008-November/041047.html

Hope that helps a bit.

Kind regards,
Stefan

From: grass-user 
[mailto:grass-user-boun...@lists.osgeo.org]
 On Behalf Of Lorenzo Bottaccioli
Sent: 10. mars 2016 17:14
To: GRASS user list 
mailto:grass-user@lists.osgeo.org>>
Subject: [GRASS-user] r.mapcalc multiprocess

Hi every one,

I have just compiled grass with phtreds but when I run r.mapcalc it runs in 
only with one theard. How ca I fix this? Is it possible to check if is 
correclty compiled with phtreads?

Tnx

Lorenzo

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

[GRASS-user] r.external.out store data in memory

2016-03-11 Thread Lorenzo Bottaccioli
Hi list,

I wanted to know if was possible and how to store produced rasters in
memory (as an rasterio object or similar) and do not store/save the in the
disk, because I just need to do some statistics and then delete them. This
if possibele will speed up my workflow because I'll avoid I/O from the disk.

Regards,
Lorenzo
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] calculate Fiducial mark ?

2016-03-11 Thread image93
Dear all,

I'm working on a photogrammetric project. For the interior orientation, i
have to calculate fiducial marks a,b,c and d  thanks to my input information
: distance in mm between AB, BC, CD...and also the coordinates XY in mm of
the PPA (point of autocollimation)...
Could you tell me how to calculate fiducial marks ? 

Thank you very much.   



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/calculate-Fiducial-mark-tp5255872.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-11 Thread Glynn Clements

d.mon is designed for interactive use. If you're writing a script,
don't use it. Set GRASS_RENDER_IMMEDIATE=png (or =cairo) and use the
environment variables.

-- 
Glynn Clements 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.mapcalc multiprocess

2016-03-11 Thread Lorenzo Bottaccioli
Hi Stefan,

I have just updated my grass-gis version to 7.0.3, berfore I was using
7.0.0 version and mapcalc was running in multitheard mode and was much
faster. My question is how can i make it run again in multitheading?

Regards,

Lorenzo

2016-03-10 22:39 GMT+01:00 Blumentrath, Stefan :

> Hi,
>
>
>
> As far as I know it is not exactly recommended to compile with pthread,
> and if I recall the latest discussion correctly, the number of default
> workers was deliberately set to 1 due to issues with multithreaded
> r.mapcalc.
>
>
>
> Don`t know which was the latest discussion on this topic, but it has been
> discussed / explained in detail on the developer list, e.g.:
>
> https://lists.osgeo.org/pipermail/grass-dev/2012-June/058749.html
>
> https://lists.osgeo.org/pipermail/grass-dev/2008-November/041047.html
>
>
>
> Hope that helps a bit.
>
>
>
> Kind regards,
>
> Stefan
>
>
>
> *From:* grass-user [mailto:grass-user-boun...@lists.osgeo.org] *On Behalf
> Of *Lorenzo Bottaccioli
> *Sent:* 10. mars 2016 17:14
> *To:* GRASS user list 
> *Subject:* [GRASS-user] r.mapcalc multiprocess
>
>
>
> Hi every one,
>
> I have just compiled grass with phtreds but when I run r.mapcalc it runs
> in only with one theard. How ca I fix this? Is it possible to check if is
> correclty compiled with phtreads?
>
> Tnx
>
> Lorenzo
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] How to merge 3d vectors in one vector

2016-03-11 Thread Moritz Lennert

On 10/03/16 04:00, Alec Ventura wrote:

Just a simple question today =) I want to put all my 3d vectors in just
one, I tried to use v.patch but the result was not a 3d vector.


See https://trac.osgeo.org/grass/ticket/2433

Have you tried with grass71 ?

Moritz
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user