[Gdal-dev] TIGER lines
Frank Warmerdam
fwarmerdam at gmail.com
Mon May 16 10:08:13 EDT 2005
On 5/14/05, Schuyler Erle <schuyler at nocat.net> 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, 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