[GRASS-user] Importing a SDTS/DLG files?

Maciej Sieczka tutey at o2.pl
Wed Nov 29 14:39:53 EST 2006


James McManus wrote:

> When I issue the "g.region vect=BHroads" or "v.info BHroads" I get the
> following error message:
> 
> ERROR: Cannot open old vector BHroads at PERMANENT on level 2

This means the file lacks topology, *maybe* due a segfault during
import with v.in.ogr. You would need to try importing it again, but
from the GRASS terminal, to spot if v.in.ogr crashes, as the GUI still
hides the eventuall segfaults from the user. Just a guess, hope this
sheds some light.

If the segfault is not the case, run v.build on the imported vector.
This will build the topology. Now GRASS commands should be able to use
 your vector. Run g.region vect=the_map, d.vect, v.info -t ane let us
now the outcome.

Cheers,
Maciek

P.S. - for the devs

The message "ERROR: Cannot open old vector BHroads at PERMANENT on level
2" is missleading. Why "old vector"? Looks like some lagacy stuff.
Could this be fixed?

Maciek




More information about the grass-user mailing list