Opened 15 years ago
Closed 15 years ago
#1064 closed defect (duplicate)
v.in.mapgen fails to load coastline from NOAA's National Geophysical Data Center
Reported by: | vesnikos | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 7.0.0 |
Component: | Vector | Version: | svn-trunk |
Keywords: | v.in.mapgen, mapgen, NOAA | Cc: | |
CPU: | x86-32 | Platform: | Linux |
Description
when im trying to input a costline in mapgen format taken from the said site, I encounter the following:
v.in.mapgen input=/home/nikos/datagis/coastline/6888.dat output=coastline
Traceback (most recent call last): File "/home/nikos/grass7/grass-7.0.svn/scripts/v.in.mapgen", line 198, in <module> main() File "/home/nikos/grass7/grass-7.0.svn/scripts/v.in.mapgen", line 129, in main outf.write(" %.8f %.8f %.8f\n" % tuple(map(float,point))) ValueError: invalid literal for float(): # GRASS 7.0.svn (wsg84):~/grass7/bin > v.in.mapgen input=/home/nikos/datagis/coastline/6888.dat output=coastline Traceback (most recent call last): File "/home/nikos/grass7/grass-7.0.svn/scripts/v.in.mapgen", line 198, in <module> main() File "/home/nikos/grass7/grass-7.0.svn/scripts/v.in.mapgen", line 170, in main user = user, host = host) File "/usr/lib/python2.6/string.py", line 172, in substitute return self.pattern.sub(convert, self.template) File "/usr/lib/python2.6/string.py", line 162, in convert val = mapping[named] KeyError: 'proj'
with the following command:
v.in.mapgen -f input=/home/nikos/datagis/coastline/6888.dat output=coastline
Traceback (most recent call last): File "/home/nikos/grass7/grass-7.0.svn/scripts/v.in.mapgen", line 198, in <module> main() File "/home/nikos/grass7/grass-7.0.svn/scripts/v.in.mapgen", line 129, in main outf.write(" %.8f %.8f %.8f\n" % tuple(map(float,point))) ValueError: invalid literal for float(): #
Im attaching the said coastline for further investigation.
Note:
See TracTickets
for help on using tickets.
oops I've duplicated it by mistake.
here's the other : http://trac.osgeo.org/grass/ticket/1065