Ticket #550 (closed defect: fixed)

Opened 4 years ago

Last modified 9 months ago

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:
Platform: Linux CPU: x86-32

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

in reply to: ↑ description   Changed 4 years ago by martinl

Replying to hamish:

also that failure left an empty map behind.

Fixed in r38297.

Martin

in reply to: ↑ description   Changed 4 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.

  Changed 9 months ago by neteler

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.