[gdal-dev] OGR and VPF

Frank Warmerdam warmerdam at pobox.com
Mon Feb 4 21:04:58 EST 2008


Christopher Barker wrote:
> Frank Warmerdam wrote:
>  >> but some archived emails lead me to believe that maybe the OGDI 
> Vectors format was somehow related.
> 
>  > OGDI is indeed the key.  You need to build OGDI which is *another*
>  > multiformat geospatial library, then build GDAL/OGR with OGDI support
>  > and then you can read VPF.
> 
> I'm running the Kyng Chaos build, which appears to have OGDI support, 
> but I can't figure out what file to point ogrinfo at. I downloaded a 
> chart (or thought I did), and got a zip file that had a dir in it named 
> "DNC26". in there is:
> 
> COA26A DHT    LAT
> 
> in the COA26A dir is:
> 
> CAT         ECR         HYD         LHT         LINEAGE.DOC POR
> CUL         ENV         IWY         LIBREF      NAV         REL
> DQY         GRT         LCR         LIM         OBS         TILEREF
> 
> and a bunch of stuff in those dirs -- I'm lost!
> 
> Maybe I didn't actually download a chart!
> 
> I'll poke at it more, but if you have any suggestions, I'm all ears!

Chris,

It looks like c0a26a is your target.  Try using something like:

   gltp:/vrf/path_to_c0a26a

Note that the VRF driver in OGDI is very sensitive to case.
You may need to write a script to turn all the filenames
into lower case or something perverse like that.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list