[mapserver-users] Extracting one polygon from a file

Allan Panitch allanp at campeb.org
Fri Aug 9 17:14:06 EDT 2002


I hope this is simple.
I have a shp file of the USA which is just a bunch of polygons in a shp
file with a dbf of the attributes.

I would like to just display michigan from this file.
So in my map file I have a layer which displays that and the surrounding
states, I would like to omit the other polygons (states).

So in that layer I added   
LABELITEM "STATE_NAME"  which is the valid label in the .dbf file.
and the value is "michigan"
So I tried something under class like  EXPRESSION STATE_NAME=michigan
but that did not seem to do the trick.
Any ideas on how to extract a polygon for 1 layer?

Thanks
al


On Thu, 11 Jul 2002, Al wrote:

> I am hoping and thinking this is a simple question.
> How would I increase the thicknes of a layer of lines..like roads?
> It looks to default to a single pixel, but I would like the lines to be
> around 4-5 pixels thick.
> tx
> al
> 
> 
> 




More information about the mapserver-users mailing list