Details Ticket 1766


Comment | Reply | Open


Serial Number 1766
Subject v.out.e00 inconsistency
Area bug
Queue grass
Requestors A.C.Lange@GMX.net
Owner alange
Status resolved
Last User Contact Mon Mar 31 09:21:42 2003 (5 yr ago)
Current Priority 60
Final Priority 70
Due No date assigned
Last Action Fri Aug 8 11:37:39 2003 (5 yr ago)
Created Thu Mar 27 15:58:14 2003 (5 yr ago)

Transaction History Ticket 1766


Thu, Mar 27 2003 15:58:14    Request created by alange  
Subject: v.out.e00 inconsistency

v.out.e00 does not work with binary vector files outside the current mapset
e. g. when in mapset andreas, v.out.e00 input=test@PERMANENT output=test.e00
does not work. This is in accordance with the user manual, which states the
mapset=... parameter. But this is inconsistent. 

tcltkgrass has no enty field for input of mapset= parameter.

I'll look into this another time.

Andreas
Thu, Mar 27 2003 17:03:45    Mail sent by egm2@jps.net  
Return-Path <egm2@jps.net>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 27 Mar 2003 08:07:12 -0800
From "Eric G. Miller" <egm2@jps.net>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #1766] (grass) v.out.e00 inconsistency
Message-ID <20030327160712.GB29787@calico.local>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
References <20030327145815.574C713B5A@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20030327145815.574C713B5A@lists.intevation.de>
User-Agent Mutt/1.5.4i
Sender "Eric G. Miller" <egm2@jps.net>
X-Spam-Status No, hits=-3.3 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.44
X-Spam-Level
On Thu, Mar 27, 2003 at 03:58:15PM +0100, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=1766
> -------------------------------------------------------------------------
> 
> Subject: v.out.e00 inconsistency
> 
> v.out.e00 does not work with binary vector files outside the current mapset
> e. g. when in mapset andreas, v.out.e00 input=test@PERMANENT output=test.e00
> does not work. This is in accordance with the user manual, which states the
> mapset=... parameter. But this is inconsistent. 
> 
> tcltkgrass has no enty field for input of mapset= parameter.
> 
> I'll look into this another time.


Haven't looked it over completely, but it needs a change like the following
"+/-" lines ...


int main( int argc, char *argv[]) 
{
    char *infile, *outfile;	/* name of output files */
    char msg[128];		/* for error messages */
-    char name[32], mapsetname[128], nm[32], *p;	/* name of cover */
+    char *name, *mapsetname, nm[32], *p;	        /* name of cover */
    char nnu[32], nid[32];
...   
    infile = parm.input->answer;
    outfile = parm.output->answer;
-   strcpy( mapsetname,  parm.mapset->answer);

-   if( strcmp( mapsetname, "" ) == 0 )
-     strcpy( mapsetname, G_mapset() );

+   mapsetname = G_find_vector (infile, parm.mapset->answer)
    
-   strncpy( name, infile, 27);  /* is there a reason for 27 chars? */
+   name = G_strdup (infile);

...

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


Mon, Mar 31 2003 09:21:42    Mail sent by egmiller  
I think this is fixed now in the CVS head.
Fri, Aug 8 2003 11:37:39    Status changed to resolved by bernhard  
Comment | Reply | 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