Drawing TIGER file Polygons

Chris Hackel cvhackel at YAHOO.COM
Fri Apr 22 09:09:59 PDT 2005


How does one extract polygon data from TIGER files in
a directory? I can't find any good documentation and
the only reference I have is the snippet below.
I understand the script for the most part, but this is
coming from a database, whereas I just have a
directory with the RT1, RT2, RT3.. etc files in it.
Thanks!

LAYER
        NAME "TIGER/Line Polygons"
        PROJECTION "proj=latlong" END
        STATUS DEFAULT

        CONNECTIONTYPE postgis
        CONNECTION "dbname=tigertest"
        DATA "wkb_geometry from sf_poly"
        TYPE POLYGON
        CLASSITEM "ZCTA5"

        CLASS
            NAME "Water"
            EXPRESSION /HH$/
            COLOR 128 192 255
        END
        CLASS
            NAME "Land"
            EXPRESSION /[^H]$/
            COLOR 255 255 192
        END
    END



More information about the MapServer-users mailing list