Details Ticket 921


Comment | Reply | Take | Open


Serial Number 921
Subject tcltkgrass3.2 dted extraction west input error
Area bug
Queue grass
Requestors rommel_mandapat@wintec-inc.com
Owner none
Status resolved
Last User Contact Thu Feb 28 13:43:32 2002 (6 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Sun Mar 3 21:12:51 2002 (6 yr ago)
Created Fri Feb 15 18:21:02 2002 (7 yr ago)

Transaction History Ticket 921


Fri, Feb 15 2002 18:21:02    Request created by guest  
Subject: tcltkgrass3.2 dted extraction west input error 

Platform: Linux/Intel
Linux distro: RedHat
linux cpu: Intel (i486, i586, pentium ...)
Xwindows version: Xfree 4.0.x
Xwindows manager: GNOME
TclTk version: tcl/tk 8.3
grass downloaded at: Baylor site
grass binary for platform: Linux/Intel binaries

When trying to extract DTED files into binary raster using the option under Misc->DEM/DTED->DTED
Extraction, the resulting pop-up menu which requires the file and region coordinates
to be inputted, has the last input line wrong.  It is labeled as North longitude
region when it should be West longitude region.  Whatever is inputted here is
reflected in the above North latitude input box.  Thus, when you hit run, the
resulting error message says that "required parameter <west> not set".  This
needs to be corrected before DTED files can be read in successfully using Tcltkgrass.
Thu, Feb 28 2002 11:22:05    Mail sent by mneteler  
Hi,

I am not familiar with DTED but try to follow the problem.

The tcltkgrass line is something like this:
 m.dem.extract input=dted output=out blocksize=22 start=1 end=1999

right?

And the help tells me:
m.dem.extract help
m.dem.extract input=name [output=name] [blocksize=value] [start=value]
   [end=value]
 
Parameters:
      input   Input device or file
     output   Output raster map (examine only if none specified)
  blocksize   Blocksize of tape data
              default: 10240
      start   First file to look at
              default: 1
        end   Last file to look at
              default: 9999999

Now I cannot see anything with West here. Is it a module internal problem?
(I have currently no DTED data)

Markus
Thu, Feb 28 2002 13:43:32    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15486.9308.80741.129183@cerise.nosuchdomain.co.uk>
Date Thu, 28 Feb 2002 12:36:44 +0000
To Markus Neteler via RT <grass-bugs@intevation.de>
Cc rommel_mandapat@wintec-inc.com, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #921] (grass) tcltkgrass3.2 dted extraction west input error
In-Reply-To <20020228102205.A19AF139CA@lists.intevation.de>
References <20020228102205.A19AF139CA@lists.intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
X-Spam-Status No, hits=0 required=5 tests=
Markus Neteler via RT wrote:

> I am not familiar with DTED but try to follow the problem.
> 
> The tcltkgrass line is something like this:
>  m.dem.extract input=dted output=out blocksize=22 start=1 end=1999
> 
> right?

You're looking at the wrong menu option. The original report said:

> When trying to extract DTED files into binary raster using the option
> under Misc->DEM/DTED->DTED Extraction, the resulting pop-up menu which

This runs "m.dted.extract".

You're looking at:

	Misc->DEM/DTED->DEM Extraction

The error is obvious enough; the last line of
src/tcltkgrass/module/m.dted.extract should be changed from:

    {entry north {North longitude of region to extract (ddd:mm:ss{E|W}):} 0 ""}
to:
    {entry west {West longitude of region to extract (ddd:mm:ss{E|W}):} 0 ""}
I'll commit a fix.

-- 
Glynn Clements <glynn.clements@virgin.net>


Sun, Mar 3 2002 21:12:51    Status changed to resolved by gclements  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request