Details Ticket 3747


Comment | Reply | Take | Resolve


Serial Number 3747
Subject v.in.ascii: table is not created if cat= and z= are both given
Area grass6
Queue grass
Requestors hamish_nospam@yahoo.com
Owner none
Status open
Last User Contact Tue Jul 4 15:10:39 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Jul 4 15:10:39 2006 (2 yr ago)
Created Mon Oct 17 11:02:34 2005 (3 yr ago)

Transaction History Ticket 3747


Mon, Oct 17 2005 11:02:34    Request created by hbowman  
Subject: v.in.ascii: table is not created if cat= and z= are both given

If you use cat=1 -z z=4 then no table is created and seting columns='transect
int, value1 double, value2 double, value3 double' is ignored.  ?!

If you don't define -z z=4, it works as expected.

If you define cat=1 x=1 (x is int) you can make a table. But that's not common
or what we want.


something here? (in.c)
[note columns all -=1 earlier in the code]

	    /* Create table */
	    make_table = 0;
	    for ( i = 0 ; i < ncols; i++ ) {
		if ( xcol != i && ycol != i && zcol != i && catcol != i ) {
		    make_table = 1;
		    break;
		}
	    }



circuitous work-around:
 v.in.ascii cat=0
 v.reclass col=
 db.copy
 v.db.connect key=
 g.remove tmp_map



also: isn't the -z flag redundant as always 3D when z option != 0 ?


?
Hamish
Tue, Jul 4 2006 15:10:39    Mail sent by mneteler  
Hamish,

still a problem?

Markus
Comment | Reply | Take | Resolve

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