Re: [GRASS-user] accumulation map from directions map

2009-11-19 Thread Achim Kisseler
Hello again, I am still searching a method to generate a flow accumulation map from a flow direction map. I got the direction map from an arcgis user. In arcgis the module FLOWACCUMULATION(FLOW_DIR) would do this, but I want to use an open source solution. If anyone could give me a hint, where

[GRASS-user] computation in a location based on infos from another location

2009-11-19 Thread Patrice Dumas
Hello, I have 2 locations, one with a lambert projection with a 1 km grid (comes from hydro1k), covering africa, and the other with a longitude latitude projection with a 0.5 decimal degrees grid (covering the world). I have a raster map on the lambert location that has values of 1 for a given

Re: [GRASS-user] computation in a location based on infos from another location

2009-11-19 Thread Achim Kisseler
Hi, why dont you import one map from one location to another? Some information will be lost, that would be the same like r.resamp.stats. http://grass.itc.it/grass64/manuals/html64_user/r.proj.html Achim Patrice Dumas schrieb: Hello, I have 2 locations, one with a lambert projection with a

[GRASS-user] help with g.pnmcomp

2009-11-19 Thread Alberto Pettazzi
Hi everybody, I want to write a script that creates an image of raster A superposed to raster B. I want that raster A have an opacity of 0.6. I tried with the command: g.pnmcomp input=raster_A,raster_B opacity=0.60,1 output=image_C width=800 height=640 but it appear the following error

Re: [GRASS-user] accumulation map from directions map

2009-11-19 Thread Jarosław Jasiewicz
Achim Kisseler pisze: Hello again, I am still searching a method to generate a flow accumulation map from a flow direction map. I got the direction map from an arcgis user. In arcgis the module FLOWACCUMULATION(FLOW_DIR) would do this, but I want to use an open source solution. If anyone

Re: [GRASS-user] accumulation map from directions map

2009-11-19 Thread Achim Kisseler
Thanks, Jaroslaw for response, there shoud be no problem if you have oryginal DEM I know, but I do NOT have the DEM. Thats the problem. Achim Jarosław Jasiewicz schrieb: Achim Kisseler pisze: Hello again, I am still searching a method to generate a flow accumulation map from a flow

Re: [GRASS-user] accumulation map from directions map

2009-11-19 Thread Achim Kisseler
Hi Silvia, thank you very much. I will use h.tca from JGRASS to get the desired. Best, Achim Silvia Franceschi schrieb: Hi Achim, if you are trying to use an open source GIS for hydrological applications consider to take a look at JGrass. There are a lot of geomorphological modules. Best

Re: [GRASS-user] accumulation map from directions map

2009-11-19 Thread Markus Neteler
2009/11/19 Achim Kisseler a...@jupiter.uni-freiburg.de: Thanks, Jaroslaw for response, there shoud be no problem if you have oryginal DEM I know, but I do NOT have the DEM. Thats the problem. Ah, now I understand is there a way in GRASS to build an accumulation map from a directions map

Re: [GRASS-user] accumulation map from directions map

2009-11-19 Thread Achim Kisseler
Dear Markus, I follow Silvias suggestion and use h.tca in JGRASS. BTW: Isn't is possible to integrate the horton-tools into grass? Thanks, Achim Markus Neteler schrieb: 2009/11/19 Achim Kisseler a...@jupiter.uni-freiburg.de: Thanks, Jaroslaw for response, there shoud be no problem if you

Re: [GRASS-user] computation in a location based on infos from another location

2009-11-19 Thread Patrice Dumas
On Thu, Nov 19, 2009 at 01:17:13PM +0100, Achim Kisseler wrote: Hi, why dont you import one map from one location to another? Some information will be lost, that would be the same like r.resamp.stats. http://grass.itc.it/grass64/manuals/html64_user/r.proj.html Problem is that the

Re: [GRASS-user] accumulation map from directions map

2009-11-19 Thread Markus Neteler
On Thu, Nov 19, 2009 at 2:35 PM, Achim Kisseler a...@jupiter.uni-freiburg.de wrote: Dear Markus, I follow Silvias suggestion and use h.tca in JGRASS. BTW: Isn't is possible to integrate the horton-tools into grass? If the license is compliant to GPL (I guess so), yes. Markus

Re: [GRASS-user] accumulation map from directions map

2009-11-19 Thread Silvia Franceschi
BTW: Isn't is possible to integrate the horton-tools into grass? If the license is compliant to GPL (I guess so), yes. Hi Markus, Horton Machine licence is LGPL and written in Java... Silvia ___ grass-user mailing list

[GRASS-user] least cost path analysis question

2009-11-19 Thread Maxime Phaneuf
Hi guys. I want to use r.walk or r.cost, followed by r.drain to create least cost paths. I've got no problem doing that with only 1 starting point and 1 stopping point. My problem is when I try to use multiple starting and stopping points. I saw that the coordinate and stop_coordinate were

Re: [GRASS-user] computation in a location based on infos from another location

2009-11-19 Thread Achim Kisseler
Once I was in the same situation. Lambert projection is good for some analyzes, because of the equal size of the grid cells. To get the size of the grid cells, you could convert a N-S row of the rastermap into vector polygons and get the size. Not a very direct way, but it sould work. Achim

Re: [GRASS-user] computation in a location based on infos from another location

2009-11-19 Thread Patrice Dumas
On Thu, Nov 19, 2009 at 04:01:24PM +0100, Achim Kisseler wrote: Once I was in the same situation. Lambert projection is good for some analyzes, because of the equal size of the grid cells. To get the size of the grid cells, you could convert a N-S row of the rastermap into vector polygons

Re: [GRASS-user] least cost path analysis question

2009-11-19 Thread Markus Metz
Hi, I think you have to determine each path separately and at the end patch them all together to get the path pts1 - pts2 - pts3 - pts4 - pts1. The least costly path from e.g. pts1 to pts3 may not go through pts2, that's why the complete path needs to be forced through pts2, pts3, and pts4

Re: [GRASS-user] computation in a location based on infos from another location

2009-11-19 Thread Achim Kisseler
Hi, use r.to.vect to map every cell to a polygon, project it to the lambert map, do the calculation on the polygon, reproject it back to the you dont need to project it to lambert: just run v.to.db -p option=area map=... then you get the size for every lines cell. To get the raster-map:

Re: [GRASS-user] computation in a location based on infos from another location

2009-11-19 Thread Patrice Dumas
On Thu, Nov 19, 2009 at 04:30:55PM +0100, Achim Kisseler wrote: Hi, use r.to.vect to map every cell to a polygon, project it to the lambert map, do the calculation on the polygon, reproject it back to the just run v.to.db -p option=area map=... then you get the size for every lines

Re: [GRASS-user] help with g.pnmcomp

2009-11-19 Thread Glynn Clements
Alberto Pettazzi wrote: I want to write a script that creates an image of raster A superposed to raster B. I want that raster A have an opacity of 0.6. I tried with the command: g.pnmcomp input=raster_A,raster_B opacity=0.60,1 output=image_C width=800 height=640 but it appear the

Re: [GRASS-user] computation in a location based on infos from another location

2009-11-19 Thread Markus Metz
Patrice Dumas wrote: Right now I am stuck at the first projection since it triggered an assertion... That assertion, your ticket #818, does not happen in grass7, but in grass6.x. I think this not the solution, however, the imported vector is corrupt. I'm not an expert on projections, but

Re: [GRASS-user] accumulation map from directions map

2009-11-19 Thread Jarek Jasiewicz
Markus Neteler pisze: On Thu, Nov 19, 2009 at 2:35 PM, Achim Kisseler a...@jupiter.uni-freiburg.de wrote: Dear Markus, I follow Silvias suggestion and use h.tca in JGRASS. BTW: Isn't is possible to integrate the horton-tools into grass? If the license is compliant to GPL (I guess

[GRASS-user] GRASS6.4 in Linux

2009-11-19 Thread Luis Lisboa
Greetings all I want to install GRASS in a LINUX machine where I will develop a few scripts and functions (in C). According to http://grass.itc.it/download/index.php if I want to develop I should download source code and compile Can I just install a binary, develop my functions/scripts and

Re: [GRASS-user] GRASS6.4 in Linux

2009-11-19 Thread Jarek Jasiewicz
Luis Lisboa pisze: Greetings all I want to install GRASS in a LINUX machine where I will develop a few scripts and functions (in C). According to http://grass.itc.it/download/index.php if I want to develop I should download source code and compile Can I just install a binary, develop my

RE: [GRASS-user] time dependent variable

2009-11-19 Thread Carbonari, Katie (IS)
I'm not so interested in making a movie; I want to be able to explore different layers of my maps as I see the data progresses. From the wiki page, there doesn't appear to be a way to do this, though. Thanks, Katie -Original Message- From: Micha Silver [mailto:mi...@arava.co.il]