I'm having difficulty troubleshooting why a number of my mapfile layers aren't rendering. I'm a GIS noob, so I'm probably missing something obvious and apologize in advance; I just don't know where else to turn to.
I built a map project in QGIS and arranged the layers how I'd like; everything displays fine there. But when I attempt to query MapServer for those same layers, only some of them are rendering.
To illustrate, here's an example of how I'm using the mapfile:
MAP
NAME "WASHINGTON_COUNTY"
SIZE 800 600
EXTENT 721132.369589 1497660.070845 825840.827167 1814625.359158
UNITS METERS
SHAPEPATH "geo"
TEMPLATEPATTERN "washington"
IMAGECOLOR 255 255 255
IMAGETYPE PNG
WEB
HEADER templates/header.html
TEMPLATE "set in index.html"
FOOTER templates/footer.html
MINSCALE 1000
MAXSCALE 2550000
IMAGEPATH "C:/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
LAYER
NAME tiger_counties
DATA "tiger_counties"
STATUS OFF
TYPE POLYGON
CLASS
NAME "county"
STYLE
COLOR 200 200 200
OUTLINECOLOR 222 222 222
END
END
END
LAYER
NAME ny_washington_centerlines
DATA "ny/washington/centerlines"
STATUS OFF
TYPE LINE
CLASS
NAME "road"
STYLE
COLOR 255 255 0
OUTLINEWIDTH 1
OUTLINECOLOR 0 0 0
END
END
END
END
And here's the image rendered from the query string:
"map_size=592+886&img.x=441&img.y=257&mode=browse&layer=ny_washington_centerlines&layer=parcels&zoomdir=0&zoomsize=2&imgxy=400.0+300.0&imgext=718662.996883+1676819.127354+824362.189500+1756060.449478&map=C%3A%2Fms4w%2Fapps%2Fwashington_county_mapserver%2Fwashington_county.map&root=%2Fwashington_county_mapserver%2F&map_web=+TEMPLATE+washington_main.html"
:
Now here's a map of the same region, as rendered in QGIS:
What is QGIS doing by default that MapServer doesn't?
TRANSPARENT ON
just above theIMAGECOLOR 255 255 255
part? See mapserver.org/mapfile/map.html for what that does.