[GRASSLIST:9404] Re: Reading and converting VMAP0

William Kyngesburye woklist at kyngchaos.com
Fri Dec 9 17:31:26 EST 2005


Unless OGDI is hacked to behave like the examples (my GIS Libs  
package is, but Lorenzo uses his own build), that 'vrf' part must be  
spelled out so it can find the library.  Normally the OGDI format  
code looks for the standard unix .so extension for libraries.  Try  
using libvrf.dylib instead of vrf.  If that doesn't work, it needs a  
location to find the library: set DYLD_LIBRARY_PATH in your shell to  
wherever Lorenzo has his libraries (I think it's /usr/local/grasslib/ 
lib).  For the tcsh shell:

setenv DYLD_LIBRARY_PATH /usr/local/grasslib/lib


On Dec 9, 2005, at 3:11 PM, Nick Cahill wrote:

> I am trying to import vmap0 files into GRASS using the very useful  
> article by Marks Neteler in GRASS Newsletter 3, with Lorenzo  
> Moretti's binaries on Mac OSX (Grass 6.1cvs of Nov. 22). I removed  
> all the trailing periods, lowercased the filenames, but I can't get  
> anything to read the files. When I run ogrinfo
>
> [Nick:local/grasslib/bin] nick% ./ogrinfo -ro -summary gltp:/vrf/ 
> Users/nick/v0eur/vmaplv0/eurnasia 'polbnda at bnd(*)_area'
> FAILURE:
> Unable to open datasource `gltp:/vrf/Users/nick/v0eur/vmaplv0/ 
> eurnasia' with the following drivers.
>   -> ESRI Shapefile
>   -> UK .NTF
>   -> SDTS
>   -> TIGER
>   -> S57
>   -> MapInfo File
>   -> DGN
>   -> VRT
>   -> AVCBin
>   -> REC
>   -> Memory
>   -> CSV
>   -> GML
>   -> ODBC
>   -> OGDI
>   -> PostgreSQL
>   -> MySQL
>
>
> Nothing I've tried seems to work. Has anybody had success with  
> this? Is it possible that there is something wrong with the  
> binaries? ogrinfo works fine with shapefiles, but doesn't seem to  
> like VPFs.
>
> Thanks for any help you can offer,
>
> Nick Cahill
>

-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin




More information about the grass-user mailing list