Mon, Mar 4 2002
07:07:02
|
|
Request created by guest
|
|
Subject: r.profile tcltkgrass options not up to date (not d.profile) - with fix
Platform: Linux/Intel
Linux distro: RedHat
linux cpu: AMD (K6, ...)
Xwindows manager: GNOME
grass downloaded at: Baylor site
grass binary for platform: I compiled the sources myself
grass sources source: no, I got a source code package from the server, grass5.0.0pre3
c compiler name: gcc
using tcltkgrass:
Raster -> Report Map -> Values on Transect Lines
This brings up a TCL dialog, with the sample command:
r.profile result=average map=sebastopol_dem line=514926,4250481,514674.38620798,4250179
It looks like this should be:
r.profile input=sebastopol_dem output=profile_test profile=514926,4250481,514674.38620798,4250179
I don't yet know how grass works, but it appears that the glitch is in:
/usr/local/src/grass5.0.0pre3/src/tcltkgrass/module/r.profile
Here is a new tcltkgrass/module/r.profile that works for me:
interface_build {
{r.profile} 0
{Outputs the raster map layer values lying on user-defined line(s).}
{entry input {Raster map to be queried:} 0 raster}
{entry output {Text File to be written:} 0 raster}
{entry profile {Profile coordinates (east,north,east,north[,...]):} 0 +xy}
{entry width {Profile width, in cells (odd number) [1]:} 0 ""}
{checkbox result {Raw results (default).} "" raw}
{checkbox result {Median result (a single value).} "" median}
{checkbox result {Average result (a single value).} "" average}
Cheers,
Rich Gibson |
|
Tue, Mar 5 2002
10:37:07
|
|
Mail sent by mneteler
|
|
Hi Rich,
thanks for hint and update.
As far as I see the current implemenation it must be something like
this:
interface_build {
{r.profile} 0
{Outputs the raster map layer values lying on user-defined line(s).}
{entry input {Raster map to be queried:} 0 raster}
{entry output {Text File to be written:} 0 raster}
{entry profile {Profile coordinates (east,north,east,north[,...]):} 0 +xy}
{entry res {Resolution along profile (default = curr. reg. res.):} 0 ""}
{checkbox -i {Interactively select End-Points} "" -i}
{checkbox -g {Output Geographic Coordinates} "" -g}
Perhaps you can test it, then I'll update in CVS.
Thanks,
Markus
|
|
Tue, Mar 5 2002
16:38:10
|
|
Mail sent by rich@testingrange.com
|
|
Return-Path |
<rich@testingrange.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Tue, 5 Mar 2002 07:38:51 -0800 (PST)
|
From |
Rich Gibson <rich@testingrange.com>
|
To |
Markus Neteler via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #940] (grass) r.profile tcltkgrass options not up to date (not d.profile) - with fix
|
In-Reply-To |
<20020305093707.4CA7213967@lists.intevation.de>
|
Message-ID |
<Pine.LNX.4.33.0203050735570.3122-200000@testingrange.com>
|
MIME-Version |
1.0
|
Content-Type |
MULTIPART/MIXED; BOUNDARY="-1463808512-1023345930-1015342731=:3122"
|
X-Spam-Status |
No, hits=0 required=5 tests= |
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---1463808512-1023345930-1015342731=:3122
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cool! I didn't know that it had the interactive feature.
It worked after I added a final }
File attached.
Thank you so much!
I am a perl programmer, and not a make master. Is there a way to _just_
build the tcltkgrass module/s? It takes a long time to make; make install
just to test a menu change!
On Tue, 5 Mar 2002, Markus Neteler via RT wrote:
Cheers,
Rich
> Hi Rich,
>
> thanks for hint and update.
> As far as I see the current implemenation it must be something like
> this:
>
> interface_build {
> {r.profile} 0
> {Outputs the raster map layer values lying on user-defined line(s).}
> {entry input {Raster map to be queried:} 0 raster}
> {entry output {Text File to be written:} 0 raster}
> {entry profile {Profile coordinates (east,north,east,north[,...]):} 0 +xy}
> {entry res {Resolution along profile (default = curr. reg. res.):} 0 ""}
> {checkbox -i {Interactively select End-Points} "" -i}
> {checkbox -g {Output Geographic Coordinates} "" -g}
>
> Perhaps you can test it, then I'll update in CVS.
>
> Thanks,
>
> Markus
>
>
> -------------------------------------------- Managed by Request Tracker
>
---1463808512-1023345930-1015342731=:3122
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="r.profile"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0203050738510.3122@testingrange.com>
Content-Description:
Content-Disposition: attachment; filename="r.profile"
aW50ZXJmYWNlX2J1aWxkIHsNCiAgICB7ci5wcm9maWxlfSAwDQogICAge091
dHB1dHMgdGhlIHJhc3RlciBtYXAgbGF5ZXIgdmFsdWVzIGx5aW5nIG9uIHVz
ZXItZGVmaW5lZCBsaW5lKHMpLn0NCiAgICB7ZW50cnkgaW5wdXQge1Jhc3Rl
ciBtYXAgdG8gYmUgcXVlcmllZDp9IDAgcmFzdGVyfQ0KICAgIHtlbnRyeSBv
dXRwdXQge1RleHQgRmlsZSB0byBiZSB3cml0dGVuOn0gMCByYXN0ZXJ9DQog
ICAge2VudHJ5IHByb2ZpbGUge1Byb2ZpbGUgY29vcmRpbmF0ZXMgKGVhc3Qs
bm9ydGgsZWFzdCxub3J0aFssLi4uXSk6fSAwICt4eX0NCiAgICB7ZW50cnkg
cmVzIHtSZXNvbHV0aW9uIGFsb25nIHByb2ZpbGUgKGRlZmF1bHQgPSBjdXJy
LiByZWcuIHJlcy4pOn0gMCAiIn0NCiAgICB7Y2hlY2tib3ggLWkge0ludGVy
YWN0aXZlbHkgc2VsZWN0IEVuZC1Qb2ludHN9ICIiIC1pfQ0KICAgIHtjaGVj
a2JveCAtZyB7T3V0cHV0IEdlb2dyYXBoaWMgQ29vcmRpbmF0ZXN9ICIiIC1n
fQ0KfQ0KDQo=
---1463808512-1023345930-1015342731=:3122--
|
|
Fri, Mar 8 2002
03:11:24
|
|
Mail sent by gclements
|
|
> I am a perl programmer, and not a make master. Is there a way to _just_
> build the tcltkgrass module/s? It takes a long time to make; make install
> just to test a menu change!
You don't need to (re)build anything. "tcltkgrass" is just Tcl/Tk scripts;
there aren't any binaries. "make" just copies them to the pre-installation
directory (<srcdir>/dist.<platform>/tcltkgrass/...).
You can just edit the scripts and copy them to the appropriate directory,
e.g. $GISBASE/tcltkgrass/module. Or edit them in-place and copy them to the
source directory when you're satisfied.
|
|
Fri, Mar 8 2002
05:47:19
|
|
Mail sent by rich@testingrange.com
|
|
Return-Path |
<rich@testingrange.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Thu, 7 Mar 2002 20:48:12 -0800 (PST)
|
From |
Rich Gibson <rich@testingrange.com>
|
To |
Glynn Clements via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #940] (grass) r.profile tcltkgrass options not up to date (not d.profile) - with fix
|
In-Reply-To |
<20020308021124.92BA813967@lists.intevation.de>
|
Message-ID |
<Pine.LNX.4.33.0203072047490.30950-100000@testingrange.com>
|
MIME-Version |
1.0
|
Content-Type |
TEXT/PLAIN; charset=US-ASCII
|
X-Spam-Status |
No, hits=0 required=5 tests= |
Thank you Glynn!
This is all starting to make some sense to me.
Cheers,
Rich
|
|
Sat, Mar 16 2002
06:09:02
|
|
Status changed to resolved by gclements
|
|