[Gdal-dev] GDT ASCII Conversion

Frank Warmerdam warmerdam at pobox.com
Wed Sep 22 09:40:43 EDT 2004


Randy Page wrote:
> Hi All,
> 
>  
> 
> I have national coverage of GDT ASCII formatted data that I need to get 
> into PostGIS/PostgreSQL.   I saw a reference in the news section of 
> gdal.maptools.org that OGR 1.2.0 has  “Added support for GDT ASCII 
> TIGER-like format.”   But, I can’t find any reference for how to use 
> this with tools like OGR2OGR.   I have tried specifying the input as 
> TIGER, but it does not recognize the GDT data.   Any suggestions?

Randy,

The GDT data sample I was provided for development included some subdirectories
with datasets that are roughly in TIGER/Line format.  For instance I have
a directory called USA/12/12057 which looks like this:

CPYRIGHT.TXX  D12057.TF7  D12057.TL2  D12057.TMA  D12057.TT7  D12057.TXE
D12057.AIR    D12057.TI7  D12057.TL7  D12057.TMI  D12057.TV1  DATUM.TXT
D12057.TA1    D12057.TK1  D12057.TL8  D12057.TP1  D12057.TV2  H12057X.TX1
D12057.TA2    D12057.TK2  D12057.TLA  D12057.TR1  D12057.TV7  H12057X.TX2
D12057.TA7    D12057.TK7  D12057.TLI  D12057.TR2  D12057.TV8  H12057X.TX3
D12057.TA8    D12057.TK8  D12057.TM1  D12057.TS1  D12057.TVA
D12057.TAA    D12057.TKA  D12057.TM2  D12057.TS2  D12057.TVI
D12057.TAI    D12057.TKI  D12057.TM7  D12057.TS4  D12057.TW1
D12057.TC7    D12057.TL1  D12057.TM8  D12057.TS5  D12057.TW2

This directory can be opened as a TIGER/Line dataset in OGR.  There are lots
of other directories of information in the GDT dataset that are not supported
by these tiger-like directories seem to hold the bulk of the road lines.

I'm not sure how this might change across GDT versions.

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    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list