[GRASS-dev] gis.m: cannot get profile from profile tool
Michael Barton
michael.barton at asu.edu
Mon Jul 31 15:17:55 EDT 2006
Eric,
You failed to select a raster map to profile.
I just committed an update which does a better job of trapping this kind of
error and giving you a more meaningful error message. I also made the
profiler default to the currently selected raster map to profile and also
found a way of making the elevation ranges calculated within the currently
displayed region, using r.univar. The primary drawback of this is that it is
a bit slow to get started with enormous maps.
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: "Patton, Eric" <epatton at nrcan.gc.ca>
> Date: Mon, 31 Jul 2006 12:52:01 -0300
> To: 'Moritz Lennert ' <mlennert at club.worldonline.be>, 'Michael Barton '
> <michael.barton at asu.edu>
> Cc: 'Grass Developers List ' <grass-dev at grass.itc.it>
> Subject: RE: [GRASS-dev] gis.m: cannot get profile from profile tool
>
> Hi guys,
>
> I tried the porfiling tool with July 31 cvs, and I can't get it to work. The
> y-axis gets assigned correct values for the profile I've drawn, but no lines
> get drawn in the profile window. A tcltk window reports "Error: can't read
> "cumdist": no such variable"
>
> You can view the output on my ftp site:
>
> ftp://agc.bio.ns.ca/outgoing/Patton/Grass/Bug%20Reports/
>
> ~ Eric.
>
>
> -----Original Message-----
> From: grass-dev-bounces at grass.itc.it
> To: Michael Barton
> Cc: Grass Developers List
> Sent: 7/27/2006 2:33 AM
> Subject: Re: [GRASS-dev] gis.m: cannot get profile from profile tool
>
> Michael Barton wrote:
>> Hi Moritz,
>>
>> Did you select a raster to profile?
>
> Yes, as you can see in the screenshot, it says in the bottom left:
> "Profile for srtm_be".
>
>
>> Third button from the left on the
>> profiler toolbar.
>> Rather like d.profile, the profiler differentiates between
>> a map you use as a background to the profiling line (what is shown in
> the
>> map display) and the map that you actually use to compute profile
> values.
>
>
> I understand that, but I still don't get a profile. Actually, I
> sometimes do not even get the straight blue line you see in the
> screenshot (http://moritz.homelinux.org/grass/gism_profile.png), just an
>
> empty graph.
>
> The min and max of the heights on the y axis seem correct, though.
>
> Moritz
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
More information about the grass-dev
mailing list