Do you have the OGDI driver built and configured into GDAL? Martin -----Original Message----- From: Christopher Barker <chris.bar...@noaa.gov> Date: Thu, 14 Jan 2010 13:08:46 To: 'gdal-dev'<gdal-dev@lists.osgeo.org> Subject: [gdal-dev] reading VPF format NGA DNCs
Hi folks, I'm trying to use gdal(ogr) to read NGA vector nautical charts, which are in the vector product format. However, I"m having no luck. I tried this a while ago (and posted to this list) but gave up before I got it workign then. Here is that thread: http://n2.nabble.com/OGR-and-VPF-td2033115.html I have gotten a chart from: http://www.nga.mil/portal/site/dnc/ It looks like have the right directory stgructure after unpacking it: $ ls -l A1611290/ total 32 -r--r--r-- 1 cbarker cbarker 1117 Jan 15 2009 CAT dr-xr-xr-x 50 cbarker cbarker 1700 Jan 15 2009 CUL dr-xr-xr-x 22 cbarker cbarker 748 Jan 15 2009 DQY dr-xr-xr-x 44 cbarker cbarker 1496 Jan 15 2009 ECR dr-xr-xr-x 18 cbarker cbarker 612 Jan 15 2009 ENV -r--r--r-- 1 cbarker cbarker 848 Jan 15 2009 GRT dr-xr-xr-x 39 cbarker cbarker 1326 Jan 15 2009 HYD dr-xr-xr-x 33 cbarker cbarker 1122 Jan 15 2009 IWY dr-xr-xr-x 29 cbarker cbarker 986 Jan 15 2009 LCR -r--r--r-- 1 cbarker cbarker 1214 Jan 15 2009 LHT dr-xr-xr-x 9 cbarker cbarker 306 Jan 15 2009 LIBREF dr-xr-xr-x 54 cbarker cbarker 1836 Jan 15 2009 LIM -r--r--r-- 1 cbarker cbarker 188 Jan 15 2009 LINEAGE.DOC dr-xr-xr-x 29 cbarker cbarker 986 Jan 15 2009 NAV dr-xr-xr-x 45 cbarker cbarker 1530 Jan 15 2009 OBS dr-xr-xr-x 29 cbarker cbarker 986 Jan 15 2009 POR dr-xr-xr-x 22 cbarker cbarker 748 Jan 15 2009 REL dr-xr-xr-x 13 cbarker cbarker 442 Jan 15 2009 TILEREF but I can't get orginfo to recognize it: $ ogrinfo A1611290/ FAILURE: Unable to open datasource `A1611290/' with the following drivers. ... -> OGDI so I do have the OGDI driver installed (I'm using teh Kyng Chaos build on OS-X) I've also tried all of these: $ ogrinfo gltp:/vrf/A1611290 $ ogrinfo gltp:/vrf/A1611290/ $ ogrinfo gltp:/vrf/A1611290/DAT $ ogrinfo gltp:/vrf/a1611110 note that I lower-cased that one If I try gdalinfo, I get the following error: $ gdalinfo gltp:/vrf/a1611110 ERROR 1: Can't open CAT file, invalid VRF database gdalinfo failed - unable to open 'gltp:/vrf/a1611110'. there is indeed a CAT file there. Any ideas? Thanks, -Chris PS: I can send you that chart as a 644kb zip file, if anyone wants to try it. -- 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
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev