[GRASS-user] v.in.geonames not importing txt file in GRASS 7.0.0beta3 Windows
RichardCooper
richtcooper at hotmail.com
Fri Oct 10 02:53:24 PDT 2014
Hi,
I'm getting the following error on attempting to import geonames into GRASS
7.0.0beta3 on Windows7.
I've tried to import via the GUI and command console without success.
However, it does import with GRASS 7svn[57721] on Linux.
Richard
(Fri Oct 10 16:47:43 2014)
v.in.geonames input=C:\Users\rcooper\Desktop\TH.txt output=geonames_th
Converting 171472 place names...
cat: =0: No such file or directory
cat: output=geonames_th: No such file or directory
cat: y=5: No such file or directory
cat: input=C:\Users\rcooper\grassdata7/chula_4326/asiapoptha
i/.tmp/unknown/408.0: No such file or directory
cat: columns=geonameid integer,name varchar(200),asciiname
varchar(200),alternatename varchar(4000),latitude double
precision,longitude double precision,featureclass
varchar(1),featurecode varchar(10),countrycode
varchar(2),cc2 varchar(60),admin1code varchar(20),admin2code
varchar(20),admin3code varchar(20),admin4code
varchar(20),population integer,elevation varchar(5),gtopo30
integer,timezone varchar(50),modification date: File or path
name too long
Description:
Creates a vector map from an ASCII points file or ASCII
vector file.
Keywords:
vector, import, ASCII
Usage:
v.in.ascii [-zentbr] input=name output=name [format=string]
[separator=character] [skip=value] [columns=string]
[x=value]
[y=value] [z=value] [cat=value] [--overwrite] [--help]
[--verbose]
[--quiet]
Flags:
-z Create 3D vector map
-e Create a new empty vector map and exit. Nothing is
read from input.
-n Don't expect a header when reading in standard format
-t Do not create table in points mode
-b Do not build topology in points mode
-r Only import points falling within current region
(points mode)
--o Allow output files to overwrite existing files
--h Print usage summary
--v Verbose module output
--q Quiet module output
Parameters:
input Name of input file to be imported
'-' for standard input
output Name for output vector map
format Input file format
options: point,standard
default: point
point: simple x,y[,z] list
standard: GRASS vector ASCII format
separator Field separator
Special characters: pipe, comma, space, tab,
newline
default: pipe
skip Number of header lines to skip at top of input
file (points mode)
default: 0
columns Column definition in SQL style (points mode)
For example: 'x double precision, y double
precision, cat int, name varchar(10)'
x Number of column used as x coordinate (points
mode)
First column is 1
default: 1
y Number of column used as y coordinate (points
mode)
First column is 1
default: 2
z Number of column used as z coordinate (points
mode)
First column is 1. If 0, z coordinate is not
used
default: 0
cat Number of column used as category (points
mode)
First column is 1. If 0, unique category is
assigned to each row and written to new column 'cat'
default: 0
ERROR: Required parameter <input> not set:
(Name of input file to be imported)
ERROR: Required parameter <output> not set:
(Name for output vector map)
*ERROR: Vector map <geonames_th> not found*
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/v-in-geonames-not-importing-txt-file-in-GRASS-7-0-0beta3-Windows-tp5166832.html
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list