Generally: If you have suggestions to improve the manual pages, please
don't hesitate to suggest text replacements/additions!
Markus,
I'll do that. It was my reading too quickly rather than any ambiguity in
the man page.
Next problem:
GRASS 6.4.0svn (sitesLCC):/usr4/grassbase > v.in.ascii
input=/usr4/keypoints/sites_lcc.txt output=sites format=point columns='x
double precision, y double precision, name varchar(24)' x=1 y=2
Scanning input for column types...
Maximum input row length: 47
Maximum number of columns: 3
Minimum number of columns: 3
ERROR: x column is not of number type
Did you skip the first line with the option skip=1
Daniel
On Sat, Nov 28, 2009 at 3:27 PM, Rich Shepard <rshepard@appl-ecosys.com> wrote:
On Sat, 28 Nov 2009, Markus Neteler wrote:
Generally: If you have suggestions to improve the manual pages, please
don't hesitate to suggest text replacements/additions!
Markus,
I'll do that. It was my reading too quickly rather than any ambiguity in
the man page.
Next problem:
GRASS 6.4.0svn (sitesLCC):/usr4/grassbase > v.in.ascii
input=/usr4/keypoints/sites_lcc.txt output=sites format=point columns='x
double precision, y double precision, name varchar(24)' x=1 y=2
Scanning input for column types...
Maximum input row length: 47
Maximum number of columns: 3
Minimum number of columns: 3
ERROR: x column is not of number type
Generally: If you have suggestions to improve the manual pages, please
don't hesitate to suggest text replacements/additions!
Markus,
I'll do that. It was my reading too quickly rather than any ambiguity in
the man page.
Next problem:
GRASS 6.4.0svn (sitesLCC):/usr4/grassbase > v.in.ascii
input=/usr4/keypoints/sites_lcc.txt output=sites format=point columns='x
double precision, y double precision, name varchar(24)' x=1 y=2
Scanning input for column types...
Maximum input row length: 47
Maximum number of columns: 3
Minimum number of columns: 3
ERROR: x column is not of number type
No, that's defined via "column" parameter (like this you can define names
which differ from the first line [if present]).
Markus,
That does clear it all up. Instead of having 'longitude|latitude|name' in
the header line I specify those (along with the data type) in the 'columns'
paramter.
That does clear it all up. Instead of having
'longitude|latitude|name' in
the header line I specify those (along with the data type)
in the 'columns' paramter.
you can keep that line there (months later that meta-data Will save you
a lot of headaches!), just use skip=1 or start the line with a '#'
character to tell v.in.ascii it shouldn't count that line as data.
skip=1 has the advantage of saving the skipped header lines into the
vector map's metadata for later reference.