Fw: Re: [Gdal-dev] TIGER lines

Hamish <[email protected]> Tue, 17 May 2005 16:49:23 +1200
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
fyi, here are details about converting TIGER data into shapefiles.


regards,
Hamish



Begin forwarded message:

Date: Mon, 16 May 2005 10:08:13 -0400
From: Frank Warmerdam <[email protected]>
To: gdal-dev <[email protected]>
Cc: 
Subject: Re: [Gdal-dev] TIGER lines


On 5/14/05, Schuyler Erle <[email protected]> wrote:
> * On 13-May-2005 at  9:36PM PDT, Aleksey Naumov said:
> >
> > Does anyone know of a way to import line features from TIGER files
> > in GDAL? The tigerpoly.py script builds a shapefile of polygon
> > features, but how do I extract linear features, e.g. roads?
> 
> ogr2ogr will do this directly. You can use the -where option to filter
> line features by CFCC.

Aleksey,

Schuyler is correct.  In particular, the linear features are the
CompleteChain
layer.  So to get them all you would do:

  ogr2ogr out.shp TGR10001.RT1 CompleteChain

Best regards,
-- 
---------------------------------------+-------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam,
[email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
_______________________________________________
Gdal-dev mailing list
[email protected]
http://xserve.flids.com/mailman/listinfo/gdal-dev


_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d