Opened 16 years ago

Closed 12 years ago

#550 closed defect (fixed)

v.to.3d: column name case sensitive

Reported by: hamish Owned by: grass-dev@…
Priority: minor Milestone: 6.4.0
Component: Vector Version: svn-develbranch6
Keywords: v.to.3d Cc:
CPU: x86-32 Platform: Linux

Description

Hi,

just had need to use v.to.3d for the first time. It's nice!

minor issue: the imported shapefile created columns named as:

INTEGER|cat
DOUBLE PRECISION|EASTING
DOUBLE PRECISION|NORTHING
DOUBLE PRECISION|ELEVATION

(using dbf driver)

I tried to use 'v.to.3d column=elevation' but it exited with the message:

ERROR: Column <elevation> not found in table <bathymetry_point>

It needed to see 'column=ELEVATION'. G_strcasecmp() or tolower() needed?

also that failure left an empty map behind.

thanks, Hamish

Change History (3)

in reply to:  description comment:1 by martinl, 15 years ago

Replying to hamish:

also that failure left an empty map behind.

Fixed in r38297.

Martin

in reply to:  description comment:2 by martinl, 15 years ago

Replying to hamish:

It needed to see 'column=ELEVATION'. G_strcasecmp() or tolower() needed?

It seems to be related to the db drivers, not v.to.3d.

comment:3 by neteler, 12 years ago

Resolution: fixed
Status: newclosed

The fix has been backported to G6 long time ago, closing.

Note: See TracTickets for help on using tickets.