try to render S-57 with MapServer.

Since the COLOR attributes in S-57 are encoded with integer.
1 white
2 black          
3 red   
4 red ....etc

How can I smartly set the corresponding color in mapfile

LAYER
    NAME LIGHTS
    TYPE POINT
    STATUS ON
    CONNECTIONTYPE OGR
    CONNECTION "./data/S-57/XXXXX.000"
    DATA "LIGHTS"
    PROJECTION
      "init=epsg:4326"
    END
    CLASS
        STYLE
          COLOR ??set corresponding color according to [COLOR]??
        END
    END
END

thanks!!
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/make-a-color-lookup-table-tp5265616p5265616.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to