Opened 11 years ago

Closed 7 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)

comment:1 in reply to:  description Changed 10 years ago by martinl

Replying to hamish:

also that failure left an empty map behind.

Fixed in r38297.

Martin

comment:2 in reply to:  description Changed 10 years ago by martinl

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 Changed 7 years ago by neteler

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.