[Gdal-dev] TIGER lines

Aleksey Naumov naumov at buffalo.edu
Wed May 18 09:51:11 EDT 2005


Schuyler and Frank, 

Thank you for the pointers, ogr2ogr does exactly what I need. Appreciate your 
info on -where and the layer name, made my work much easier.

Frank and all the developers, thank you for the great piece of software!

Best regards,
Aleksey


On Monday 16 May 2005 14:08, Frank Warmerdam wrote:
> 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,

-- 
Aleksey Naumov
Department of Geography
SUNY-Buffalo



More information about the Gdal-dev mailing list