[GRASS-user] real distance analysis

Dear All,

I am trying to solve the following problem, maybe does somebody an idea and
can help me.. (thanx in advance)

I would like to examine from an exact point that territory, which is inside
an determinated distance from the exact point. BUT I don't want to use the
map projected distance (=Buffer zone), but the datas of a DEM.

I would like to measure the "really" surface, the climbing etc. For example
I need the maximum distance "cirlce" (30km or 30 mph doeas not matter)
around a point, but measured in the "filed"(=DEM) not on the map (=projected
area).

Does somebody have an idea, who can I start with it?

Many thanx

Regards

Andras

Bödőcs András

ELTE Institute of Archaeology

1088 Budapest, Múzeum krt 4/B.

Hungary

T: +36-1-411-65-54,4855200/2916

F: +36-1-411-65-53

On Thu, 1 Jun 2006 22:26:32 +0200
Bödõcs András <bodocs@ludens.elte.hu> wrote:

BUT I don't want to use the map projected distance (=Buffer zone),
but the datas of a DEM.

I would like to measure the "really" surface,

r.surf.area, r.volume?

Maciek

--------------------
W polskim Internecie s± setki milionów stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/

If I'm not mistaken, you mean the distance as it would be measured on the
ground, rather than in plan. In mountainous areas, 1km in plan is a lot
different from 1km on the ground. I've wondered how to approach this as
well, and would like to hear what others think.

Andrew

-----Original Message-----
From: grassuser-bounces@grass.itc.it
[mailto:grassuser-bounces@grass.itc.it]On Behalf Of Maciek Sieczka
Sent: June 1, 2006 2:16 PM
To: bodocs@ludens.elte.hu
Cc: grassuser@grass.itc.it
Subject: Re: [GRASS-user] real distance analysis

On Thu, 1 Jun 2006 22:26:32 +0200
Bödõcs András <bodocs@ludens.elte.hu> wrote:

BUT I don't want to use the map projected distance (=Buffer zone),
but the datas of a DEM.

I would like to measure the "really" surface,

r.surf.area, r.volume?

Maciek

--------------------
W polskim Internecie s± setki milionów stron. My przekazujemy Tobie tylko
najlepsze z nich!
http://katalog.panoramainternetu.pl/

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

Bödõcs wrote:

I would like to examine from an exact point that territory, which is
inside an determinated distance from the exact point. BUT I don't want
to use the map projected distance (=Buffer zone), but the datas of a
DEM.

I would like to measure the "really" surface, the climbing etc. For
example I need the maximum distance "cirlce" (30km or 30 mph doeas
not matter) around a point, but measured in the "filed"(=DEM) not on
the map (=projected area).

Andrew wrote:

If I'm not mistaken, you mean the distance as it would be measured on
the ground, rather than in plan. In mountainous areas, 1km in plan is
a lot different from 1km on the ground. I've wondered how to approach
this as well, and would like to hear what others think.

GRASS 6.1:
r.walk

GRASS 6.0 or by hand:
r.cost + "r.mapcalc distance=costmap*map_resolution"

http://grass.ibiblio.org/grass61/manuals/html61_user/r.cost.html
http://grass.ibiblio.org/grass61/manuals/html61_user/r.walk.html

It works well.

IIRC, the leics GRASS tutorial had an example using r.cost. (GRASS 4.2)
http://www.geog.le.ac.uk/assist/grass/seeds/
?

Hamish

Hamish’s reply is the closest to what you want I think. However, to actually derive a buffer to define equal ground distance around a point, I think you might need a bit more explanation.

First create a slope map of your dem (r.slope.aspect). Then, as Hamish says, run r.cost. This will calcuate a ‘cost’ based on the slope of the map. He implies that the cost value in the cost map = the ground distance to traverse each pixel (i.e., higher on steep slopes where the ground distance is greater and less on flat terrain where the ground distance is lower). I don’t know if this is how the algorithm works or not (or also includes other factors), but the references he lists will clarify. If not, you can use trig in the mapcalculator to figure ground distance using—as he says—the resolution of the map (i.e., the horizontal distance to traverse each cell) and the slope of the cell.

Assuming that r.cost on a slope map * resolution = ground distance. You can use the resultant map to create a buffer around a point that represents equal ground distance in all directions.

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


From: Bödőcs András bodocs@ludens.elte.hu
Reply-To: bodocs@ludens.elte.hu
Date: Thu, 1 Jun 2006 22:26:32 +0200
To: grassuser@grass.itc.it
Subject: [GRASS-user] real distance analysis

Dear All,

I am trying to solve the following problem, maybe does somebody an idea and can help me…. (thanx in advance)

I would like to examine from an exact point that territory, which is inside an determinated distance from the exact point. BUT I don’t want to use the map projected distance (=Buffer zone), but the datas of a DEM.
I would like to measure the „really” surface, the climbing etc. For example I need the maximum distance „cirlce” (30km or 30 mph doeas not matter) around a point, but measured in the „filed”(=DEM) not on the map (=projected area).
Does somebody have an idea, who can I start with it?

Many thanx
Regards
Andras

Bödőcs András
ELTE Institute of Archaeology
1088 Budapest, Múzeum krt 4/B.
Hungary
T: +36-1-411-65-54,4855200/2916
F: +36-1-411-65-53

On Friday 02 June 2006 10:30, Michael Barton wrote:

Hamish’s reply is the closest to what you want I think. However, to
actually derive a buffer to define equal ground distance around a point, I
think you might need a bit more explanation.

First create a slope map of your dem (r.slope.aspect). Then, as Hamish
says, run r.cost. This will calcuate a ‘cost’ based on the slope of the
map. He implies that the cost value in the cost map = the ground distance
to traverse each pixel (i.e., higher on steep slopes where the ground
distance is greater and less on flat terrain where the ground distance is
lower). I don’t know if this is how the algorithm works or not (or also
includes other factors), but the references he lists will clarify. If not,
you can use trig in the mapcalculator to figure ground distance using—as he
says—the resolution of the map (i.e., the horizontal distance to traverse
each cell) and the slope of the cell.

Assuming that r.cost on a slope map * resolution = ground distance. You can
use the resultant map to create a buffer around a point that represents
equal ground distance in all directions.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Bödőcs András <bodocs@ludens.elte.hu>
Reply-To: <bodocs@ludens.elte.hu>
Date: Thu, 1 Jun 2006 22:26:32 +0200
To: <grassuser@grass.itc.it>
Subject: [GRASS-user] real distance analysis

Dear All,

I am trying to solve the following problem, maybe does somebody an idea and
can help me…. (thanx in advance)

I would like to examine from an exact point that territory, which is inside
an determinated distance from the exact point. BUT I don’t want to use the
map projected distance (=Buffer zone), but the datas of a DEM.
I would like to measure the „really” surface, the climbing etc. For example
I need the maximum distance „cirlce” (30km or 30 mph doeas not matter)
around a point, but measured in the „filed”(=DEM) not on the map
(=projected area).
Does somebody have an idea, who can I start with it?

Many thanx
Regards
Andras

Bödőcs András
ELTE Institute of Archaeology
1088 Budapest, Múzeum krt 4/B.
Hungary
T: +36-1-411-65-54,4855200/2916
F: +36-1-411-65-53

An example calculation (minus the multiplication by resolution) of distance
from trail to points of interest, via a slope cost map here:

http://169.237.35.250/~dylan/temp/r.cost_example.png

This will be part of the GRASS talk at the Where 2.0 conference, I will be
sure to post a link to the finished presentation.

Cheers,

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

Dylan,

Looks very nice.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Dylan Beaudette <dylan.beaudette@gmail.com>
Reply-To: <dylan.beaudette@gmail.com>
Date: Fri, 2 Jun 2006 12:09:26 -0700
To: <grassuser@grass.itc.it>
Cc: Michael Barton <michael.barton@asu.edu>
Subject: Re: [GRASS-user] real distance analysis

On Friday 02 June 2006 10:30, Michael Barton wrote:

Hamish’s reply is the closest to what you want I think. However, to
actually derive a buffer to define equal ground distance around a point, I
think you might need a bit more explanation.

First create a slope map of your dem (r.slope.aspect). Then, as Hamish
says, run r.cost. This will calcuate a ‘cost’ based on the slope of the
map. He implies that the cost value in the cost map = the ground distance
to traverse each pixel (i.e., higher on steep slopes where the ground
distance is greater and less on flat terrain where the ground distance is
lower). I don’t know if this is how the algorithm works or not (or also
includes other factors), but the references he lists will clarify. If not,
you can use trig in the mapcalculator to figure ground distance using—as he
says—the resolution of the map (i.e., the horizontal distance to traverse
each cell) and the slope of the cell.

Assuming that r.cost on a slope map * resolution = ground distance. You can
use the resultant map to create a buffer around a point that represents
equal ground distance in all directions.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Bödőcs András <bodocs@ludens.elte.hu>
Reply-To: <bodocs@ludens.elte.hu>
Date: Thu, 1 Jun 2006 22:26:32 +0200
To: <grassuser@grass.itc.it>
Subject: [GRASS-user] real distance analysis

Dear All,

I am trying to solve the following problem, maybe does somebody an idea and
can help me…. (thanx in advance)

I would like to examine from an exact point that territory, which is inside
an determinated distance from the exact point. BUT I don’t want to use the
map projected distance (=Buffer zone), but the datas of a DEM.
I would like to measure the „really” surface, the climbing etc. For example
I need the maximum distance „cirlce” (30km or 30 mph doeas not matter)
around a point, but measured in the „filed”(=DEM) not on the map
(=projected area).
Does somebody have an idea, who can I start with it?

Many thanx
Regards
Andras

Bödőcs András
ELTE Institute of Archaeology
1088 Budapest, Múzeum krt 4/B.
Hungary
T: +36-1-411-65-54,4855200/2916
F: +36-1-411-65-53

An example calculation (minus the multiplication by resolution) of distance
from trail to points of interest, via a slope cost map here:

http://169.237.35.250/~dylan/temp/r.cost_example.png

This will be part of the GRASS talk at the Where 2.0 conference, I will be
sure to post a link to the finished presentation.

Cheers,

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

Dear Dylan, Eric, Hamish, Maciek, Michael ,

Many tahnx for your advices!!

That is what I need!!!

Regards
Andras

Bödõcs András
ELTE Institue of Archaeology
1088 Budapest, Múzeum krt 4/B.
T: +36-1-411-65-54,4855200/2916
F: +36-1-411-65-53

-----Original Message-----
From: grassuser-bounces@grass.itc.it [mailto:grassuser-bounces@grass.itc.it]
On Behalf Of Michael Barton
Sent: Friday, June 02, 2006 11:57 PM
To: dylan.beaudette@gmail.com; grassuser@grass.itc.it
Subject: Re: [GRASS-user] real distance analysis

Dylan,

Looks very nice.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Dylan Beaudette <dylan.beaudette@gmail.com>
Reply-To: <dylan.beaudette@gmail.com>
Date: Fri, 2 Jun 2006 12:09:26 -0700
To: <grassuser@grass.itc.it>
Cc: Michael Barton <michael.barton@asu.edu>
Subject: Re: [GRASS-user] real distance analysis

On Friday 02 June 2006 10:30, Michael Barton wrote:

Hamish's reply is the closest to what you want I think. However, to
actually derive a buffer to define equal ground distance around a point,

I

think you might need a bit more explanation.

First create a slope map of your dem (r.slope.aspect). Then, as Hamish
says, run r.cost. This will calcuate a 'cost' based on the slope of the
map. He implies that the cost value in the cost map = the ground distance
to traverse each pixel (i.e., higher on steep slopes where the ground
distance is greater and less on flat terrain where the ground distance is
lower). I don't know if this is how the algorithm works or not (or also
includes other factors), but the references he lists will clarify. If

not,

you can use trig in the mapcalculator to figure ground distance using-as

he

says-the resolution of the map (i.e., the horizontal distance to traverse
each cell) and the slope of the cell.

Assuming that r.cost on a slope map * resolution = ground distance. You

can

use the resultant map to create a buffer around a point that represents
equal ground distance in all directions.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Bödõcs András <bodocs@ludens.elte.hu>
Reply-To: <bodocs@ludens.elte.hu>
Date: Thu, 1 Jun 2006 22:26:32 +0200
To: <grassuser@grass.itc.it>
Subject: [GRASS-user] real distance analysis

Dear All,

I am trying to solve the following problem, maybe does somebody an idea

and

can help me.. (thanx in advance)

I would like to examine from an exact point that territory, which is

inside

an determinated distance from the exact point. BUT I don't want to use

the

map projected distance (=Buffer zone), but the datas of a DEM.
I would like to measure the "really" surface, the climbing etc. For

example

I need the maximum distance "cirlce" (30km or 30 mph doeas not matter)
around a point, but measured in the "filed"(=DEM) not on the map
(=projected area).
Does somebody have an idea, who can I start with it?

Many thanx
Regards
Andras

Bödõcs András
ELTE Institute of Archaeology
1088 Budapest, Múzeum krt 4/B.
Hungary
T: +36-1-411-65-54,4855200/2916
F: +36-1-411-65-53

An example calculation (minus the multiplication by resolution) of

distance

from trail to points of interest, via a slope cost map here:

http://169.237.35.250/~dylan/temp/r.cost_example.png

This will be part of the GRASS talk at the Where 2.0 conference, I will be
sure to post a link to the finished presentation.

Cheers,

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser