[GRASS-dev] [GRASS GIS] #1065: v.in.mapgen fails to load coastline
from NOAA's National Geophysical Data Center
GRASS GIS
trac at osgeo.org
Tue May 11 18:32:51 EDT 2010
#1065: v.in.mapgen fails to load coastline from NOAA's National Geophysical Data
Center
---------------------------------------+------------------------------------
Reporter: vesnikos | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Keywords: v.in.mapgen, mapgen, NOAA | Platform: Linux
Cpu: x86-32 |
---------------------------------------+------------------------------------
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(): #
}}}
The file can be reached at :
http://hotfile.com/dl/42431518/c2e8072/6888.dat.gz.html (~780 kb)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1065>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list