Monali Lodha wrote:
Here is the mapfile:MAP NAME "Maryland" UNITS dd SIZE 640 480 IMAGECOLOR 255 255 255 IMAGETYPE gif SHAPEPATH "C:/ms4w/apps/prj/data/24_MARYLAND/" EXTENT -79.487651 37.886605 -74.986282 39.723037 WEB TEMPLATE 'C:/ms4w/apps/prj/htdocs/home.html' IMAGEPATH 'C:/ms4w/Apache/htdocs/tmp/' IMAGEURL '/tmp/' END LAYER NAME "state" DATA "tl_2009_24_state" STATUS on TYPE line CLASS STYLE OUTLINECOLOR 0 0 0 END END END LAYER NAME "counties" DATA "tl_2009_24_county" STATUS on TYPE line LABELITEM 'NAME' CLASS NAME "Counties" STYLE COLOR 212 192 100 END LABEL COLOR 0 0 0 SIZE small END END END END I am using the data for Maryland, downloaded from ftp://ftp2.census.gov/geo/tiger/TIGER2009/24_MARYLAND/ For displaying the counties, we use tl_2009_24_county.* files. Thanks! Monali
You might want to check out the WMS Benchmarking mapfile, which uses TIGER2008 data for the state of Texas, tiled by county (http://svn.osgeo.org/osgeo/foss4g/benchmarking/mapserver/shapefile-county.map). You can download the data used in that mapfile at: http://wiki.osgeo.org/wiki/Benchmarking_2009#Download
Also, an older but still good example can be found on the tile4ms documentation page: http://www.mapserver.org/utilities/tile4ms.html
Hope that helps. -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
