Opened 16 years ago

Last modified 16 years ago

#292 closed defect (fixed)

TIGER driver requires a folder name, not a single file name

Reported by: martin.daly@… Owned by: warmerdam
Priority: high Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc: martin.daly@…

Description

Here is some output from ogrinfo:

> ogrinfo -ro "S:\NMAs\US Census\Tiger\Washington"

INFO: Open of `S:\NMAs\US Census\Tiger\Washington'
using driver `TIGER' successful.
1: CompleteChain (Line String)
2: AltName (None)
3: FeatureIds (None)
4: ZipCodes (None)
5: Landmarks (Point)
6: AreaLandmarks (None)
7: KeyFeatures (None)
8: Polygon (None)
9: EntityNames (Point)
10: IDHistory (None)
11: PolyChainLink (None)
12: PIP (Point)
13: TLIDRange (None)
14: ZipPlus4 (None)

> ogrinfo -ro "S:\NMAs\US Census\Tiger\Washington\TGR11001.rt1"
FAILURE:
Unable to open datasource `S:\NMAs\US Census\Tiger\Washington\TGR11001.rt1' 
with the following drivers.
  -> ESRI Shapefile
  -> UK .NTF
  -> SDTS
  -> TIGER
  -> IHO S-57 (ENC)
  -> MapInfo File
  -> DGN
  -> GML
  -> AVCBin

Change History (2)

comment:1 Changed 16 years ago by warmerdam

Martin,

What version of GDAL/OGR are you using?  I see in the CVS log that I made it
possible to give an RT1 file (or in fact, any of the .rt? files) on January
13th.  I just tried the following and it worked:

warmerda@gdal2200[101]% ogrinfo -ro 2002/tst35006.rt2
INFO: Open of `2002/tst35006.rt2'
using driver `TIGER' successful.
1: CompleteChain (Line String)
2: AltName (None)
3: FeatureIds (None)
4: ZipCodes (None)
5: Landmarks (Point)
6: AreaLandmarks (None)
7: Polygon (None)
8: PolygonCorrections (None)
9: EntityNames (Point)
10: PolygonEconomic (None)
11: IDHistory (None)
12: PolyChainLink (None)
13: PIP (Point)
14: TLIDRange (None)
15: ZeroCellID (None)
16: OverUnder (None)
17: ZipPlus4 (None)

Note, I did just correct a bug with giving a filename and no path components.

comment:2 Changed 16 years ago by martin.daly@…

Fair enough.  I'm using 1.1.8, plus selected fixes, which pre-dates your fix
(es).  In future, I'll try and be more diligent in checking the current CVS 
first; which is just what you're thinking right now...

Martin
Note: See TracTickets for help on using tickets.