Opened 13 years ago

Closed 12 years ago

#1414 closed defect (fixed)

v.in.gshhs broken for data version 2.2.0

Reported by: dickeya Owned by: grass-dev@…
Priority: normal Milestone: 6.4.3
Component: Vector Version: svn-releasebranch64
Keywords: v.in.gshhs Cc:
CPU: x86-64 Platform: Linux

Description

I'm getting a failure when trying to run v.in.gshhs on the new version 2.2.0 data set. I downloaded the files from http://www.soest.hawaii.edu/pwessel/gshhs/.

v.in.gshhs in=gshhs_f.b out=gshhs_f_v220 --o

Using lat/lon bounds N=90.000000 S=-90.000000 E=180.000000 W=-180.000000
ERROR: Trying to import version 3, only GSHHS versions 4 to 8 (2.0) are supported.

The README file with the data mentions that greenwich flag in the header was expanded from 1 bit to 2. Maybe that is offsetting which value is getting read for the version info.

Attachments (1)

v.in.gshhs_gshhs.diff (3.7 KB ) - added by neteler 13 years ago.
Partial patch attached (updated to latest gshhs.h)

Download all attachments as: .zip

Change History (3)

comment:1 by martinl, 13 years ago

Keywords: v.in.gshhs added
Milestone: 6.4.2

by neteler, 13 years ago

Attachment: v.in.gshhs_gshhs.diff added

Partial patch attached (updated to latest gshhs.h)

comment:2 by hamish, 12 years ago

Milestone: 6.4.26.4.3
Resolution: fixed
Status: newclosed

fixed by mmetz in r56345.

Note: See TracTickets for help on using tickets.