[gdal-dev] Help with OGDI vector driver usage
Carl Godkin
cgodkin at gmail.com
Thu Dec 2 06:00:29 PST 2021
Hi Even,
> try:
>
> ogrinfo gltp:/vrf/d:/users/carl/vvod
That works! I don't know why I didn't try that variation. Thank you so
much!
As I said, I'm using OSGeo4W to test this out. But for my real use case,
I will need to build OGDI into GDAL here. The instructions for the OGDI
library look a little strange for Windows, involving Cygwin and a very old
version of MS Visual Studio. Are there clearer instructions somewhere for
building OGDI for Windows and building GDAL with OGDI?
Thanks again,
carl
On Thu, Dec 2, 2021 at 3:00 AM Even Rouault <even.rouault at spatialys.com>
wrote:
>
> Le 02/12/2021 à 05:18, Carl Godkin a écrit :
>
> Hi,
> I've got some data that is in VPF (Vector Product Format) format and it
> appears that the OGDI vector should be able to consume it.
>
> I have GDAL 3.4.0 (the OSGeo4W build) and cannot figure out how to even
> run "ogrinfo" on the data set.
>
> From this page (https://gdal.org/drivers/vector/ogdi.html), it appears
> that the syntax should be
>
> ogrinfo
> gltp:[//<hostname>]/<driver_name>/<dataset_name>:<layer_name>:<family>
>
> but in all of the examples, the "driver_name" is "vrf" so I tried that (as
> well as "vpf" out of desperation) but I'm on Windows so I'm puzzled about
> the exact syntax.
>
> My data is in d:\users\carl\vvod (which contains the dht and lat files).
>
> >ogrinfo gltp:/vrf/d/users/carl/vvod
>
> try:
>
> ogrinfo gltp:/vrf/d:/users/carl/vvod
>
> ERROR 1: OGDI DataSource Open Failed: Can't open CAT file, invalid VRF
> database
>
> ERROR 1: OGDI DataSource Open Failed: Can't open CAT file, invalid VRF
> database
>
> FAILURE:
> Unable to open datasource `gltp:/vrf/d/users/carl/vvod' with the following
> drivers.
> <long list of drivers>
>
> There are indeed "cat" files in every sub-directory of vvod, by the way.
>
> And I won't bore you with the 50 variations I tried.
>
> If anyone has experience with this driver and can provide some guidance,
> it would be very helpful.
>
> Thanks very much,
>
> carl
>
>
>
>
> _______________________________________________
> gdal-dev mailing listgdal-dev at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211202/b6a37b89/attachment.html>
More information about the gdal-dev
mailing list