[MI-L] Re: MapServer, IIS and ASP
Fawcett, David
David.Fawcett at STATE.MN.US
Mon Oct 15 07:05:53 PDT 2007
Hayden,
What do you mean by 'it is not working'? It is a little tough to help
you with such general symptoms.
Another thing to try: If your column Assettype is a string, I don't
think that your expression is correctly formed. If it is a string, you
also need to quote the column name.
Try something like: EXPRESSION ('[Assettype]'="Unknown")
David.
-----Original Message-----
From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Hayden Fisher
Sent: Thursday, October 11, 2007 11:12 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] [MI-L] Re: MapServer, IIS and
ASP
Hi All,
Have MapServer MapScript running! I have MapInfo tables with DBF
data files. I am now trying to place different symbology for each asset
type. I have placed the layer portion of my MapFile below. This is what
I've tried so far, could someone take a look, as it is not working.
Also polygons on top of polygons, is there a way to make it so
you can see both?
LAYER
NAME "wsregn"
STATUS default
TYPE polygon
MINSCALE 0.1
MAXSCALE 50000
CONNECTIONTYPE OGR
CONNECTION
"C:\Inetpub\wwwroot\biz_e_asset_new\AMS_Final\WS\REGIONS\CORE\wsregn.tab
"
PROJECTION
auto
END
CLASSITEM "assettype"
CLASS
EXPRESSION ([Assettype]="Unknown")
STYLE
COLOR 100 0 100
OUTLINECOLOR 0 0 100
SYMBOL 0
END
END
CLASS
EXPRESSION ([Assettype]="Building")
STYLE
COLOR 0 100 100
OUTLINECOLOR 0 0 100
SYMBOL 0
END
END
CLASS
EXPRESSION ([Assettype]="Land")
STYLE
COLOR 100 100 0
OUTLINECOLOR 0 0 100
SYMBOL 0
END
END
END
Regards,
Hayden Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071015/fa971b75/attachment.htm>
More information about the MapServer-users
mailing list