v.in.arc: error reading file
Markus Neteler
neteler at geog.uni-hannover.de
Wed Mar 8 13:23:34 EST 2000
Hi David,
this might be related to G_strip commands used there.
Please try if you change G_strip to G_squeeze.
Reason could the the changes from gets to fgets
and related stuff.
Hope this helps (if you get it, please send me
the diffs for the CVS).
Markus Neteler
-----------------------------------------------------------------
Geographisches Institut | Schneiderberg 50
+ Physische Geographie 30167 Hannover, Germany
& Landschaftsoekologie + Tel: ++49-(0)511-762-4494
Universitaet Hannover Fax: ++49-(0)511-762-3984
neteler at geog.uni-hannover.de
-----------------------------------------------------------------
On Wed, Mar 08, 2000 at 05:02:30PM +0000, D D Gray wrote:
> Can anyone tell me what is wrong with the included text file[s].
>
> I am trying to import a simple ungen file set with v.in.arc. But when
> I run v.in.arc with the text file option it doesn't import giving the
> error:
>
> ++++++++++++++++++++++
>
> v.in.arc: Coverage type = polygon
>
>
> The LABEL-TEXT file has been scanned. There are 15
> lines in the file and 3 columns in the file
>
> Working...
> ERROR: Reading LABEL-TEXT or LABEL-POINTS file
>
> ++++++++++++++++++++++
>
> It imports the lines file OK (without the text_in option.)
>
> The command is:
>
> v.in.arc lines_in=simple.pol points_in=simple.lab \
> text_in=simple.txt vector_out=simple idcol=1 catcol=3 type=polygon
>
> I've tried both GRASS4.2.1 and GRASS5beta6, also with
> an optional 'END' line on each file in all combinations.
>
> Also it says 15 lines: I count 14. . .
>
> Any help appreciated.
>
> D Gray
More information about the grass-user
mailing list