Chris, Here is what the ogr docs say. Look in the directory structure of the VPF to see what layer names and family names you have:
gltp:[//<hostname>]/<driver_name>/<dataset_name>:<layer_name>:<family> Where <layer_name> is the OGDI Layer name, and <family> is one of: "line", "area", "point", or "text". Usage example 'ogrinfo': ogrinfo gltp:/vrf/usr4/mpp1/v0eur/vmaplv0/eurnasia 'watrc...@hydro(*)_line' In the dataset name 'gltp:/vrf/usr4/mpp1/v0eur/vmaplv0/eurnasia' the gltp:/vrf part is not really in the filesystem, but has to be added. The VPF data was at /usr4/mpp1/v0eur/. The 'eurnasia' directory should be at the same level as the dht. and lat. files. The 'hydro' reference is a subdirectory of 'eurnasia/' where watrcrsl.* is found. Usage examples VMAP0 to SHAPE conversion with 'ogr2ogr': ogr2ogr watrcrsl.shp gltp:/vrf/usr4/mpp1/v0eur/vmaplv0/eurnasia 'watrc...@hydro(*)_line' ogr2ogr polbnda.shp gltp:/vrf/usr4/mpp1/v0eur/vmaplv0/eurnasia 'polb...@bnd(*)_area' An OGR SQL query against a VMAP dataset. Again, note the careful quoting of the layer name. ogrinfo -ro gltp:/vrf/usr4/mpp1/v0noa/vmaplv0/noamer \ -sql 'select * from "polb...@bnd(*)_line" where use=26' Martin -----Original Message----- From: Christopher Barker [mailto:chris.bar...@noaa.gov] Sent: Thursday, January 14, 2010 2:22 PM To: chapm...@pixia.com Cc: 'gdal-dev' Subject: Re: [gdal-dev] reading VPF format NGA DNCs Martin Chapman wrote: > Do you have the OGDI driver built and configured into GDAL? well, orginfo tells me: FAILURE: Unable to open datasource `gltp:/vrf/a1611110' with the following drivers. -> ESRI Shapefile -> MapInfo File -> UK .NTF -> SDTS -> TIGER -> S57 -> DGN -> VRT -> REC -> Memory -> BNA -> CSV -> GML -> GPX -> KML -> GeoJSON -> Interlis 1 -> Interlis 2 -> GMT -> SQLite -> DODS -> ODBC -> PGeo -> OGDI -> PostgreSQL -> MySQL -> XPlane -> AVCBin -> AVCE00 -> Geoconcept OGDI is in there -- so I assume that it's built in -- how else can I tell? thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev