[Gdal-dev] OGR: TIGER/Line polygons

Schuyler Erle schuyler at nocat.net
Wed Oct 20 14:32:42 EDT 2004


* On 20-Oct-2004 at  8:22AM PDT, Curt, WE7U said:
> 
> Is there a chance that OGR will support TIGER/Line polygons at some
> point?  For that particular file format it looks like I'll have to
> do a lot of special coding just to get to the polygons, due to TIGER
> having represented them as polylines instead.  Seems OGR should hide
> the implementation details of various file formats from me, but in
> this case it doesn't.

Have you looked at the tigerpoly.py script that comes with GDAL in the
pymod/samples/ directory? Works great for me vis a vis extracting
polygons from TIGER/Line - the polygons are a little dirty, but
GRASS's v.clean fixes that up right away.

SDE



More information about the Gdal-dev mailing list