[GRASSLIST:5937] Re: loading VMAP0 data with v.in.ogr?

Markus Neteler neteler at itc.it
Mon Feb 28 08:34:28 EST 2005


On Fri, Feb 25, 2005 at 06:52:20PM +1300, Hamish wrote:
> Hi,
> 
> I'm trying to load some VMAP0 data (Digital Chart of the World) into
> GRASS 6.0beta2 with v.in.ogr .. can't quite seem to get it to work.
> 
> VMAP0:
>   http://www.mapability.com/info/vmap0_index.html
> 
> 
> going back to ogrinfo, it finds the datasource but gives an "Illegal
> instruction" error:
> 
> $ ogrinfo gltp:/vrf/var/local/TopoData/VMAP0/v0sas/vmaplv0/sasaus 'watrcrsl at hydro(*)_line'
> Illegal instruction
>
> 
> I have batch renamed everything ending with a '.' in the v0sas/ tree, as
> per  http://article.gmane.org/gmane.comp.gis.freegis/315  but still the
> error. File system is local, system is Debian/testing with self compiled
> OGDI driver and GDAL/OGR.

Is it a recent OGDI driver? I tried a few months ago, successfully.
 

> $ ls /var/local/TopoData/VMAP0/v0sas/vmaplv0/sasaus/hydro/watrcrsl.*
> /var/local/TopoData/VMAP0/v0sas/vmaplv0/sasaus/hydro/watrcrsl.lft
> /var/local/TopoData/VMAP0/v0sas/vmaplv0/sasaus/hydro/watrcrsl.lfx

AFAIK it dislikes the caps in the path (bad luck).

I was also cleaning the trailing dots, such as:

mv ./view/viewsas/env. ./view/viewsas/env
mv ./view/viewsas/themes. ./view/viewsas/themes
mv ./vmaplv0/dht. ./vmaplv0/dht
mv ./vmaplv0/lat. ./vmaplv0/lat
mv ./vmaplv0/rference/cat. ./vmaplv0/rference/cat
mv ./vmaplv0/rference/dbref/cnd. ./vmaplv0/rference/dbref/cnd
mv ./vmaplv0/rference/dbref/csi. ./vmaplv0/rference/dbref/csi
mv ./vmaplv0/rference/dbref/ebr. ./vmaplv0/rference/dbref/ebr
mv ./vmaplv0/rference/dbref/edg. ./vmaplv0/rference/dbref/edg
mv ./vmaplv0/rference/dbref/edx. ./vmaplv0/rference/dbref/edx

...

Then it should work...

Good luck

 Markus




More information about the grass-user mailing list