Rename: Getting DBF data for symbology

Hayden Fisher support at BIZEASSET.COM.AU
Thu Oct 11 22:46:51 PDT 2007


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/20071012/ea739da4/attachment.htm>


More information about the MapServer-users mailing list