TatukGIS menu

Knowledge Base





KB10526 - Creating thematic layer to display different color based on attribute field values

This code will add a rendering section to the layer to render shape using Color (or other properties like OutlineWidth)  based on query value 

Layer.ParamsList.Add
Layer.Params.Query = "VELOCITY < 30"
Layer.Params.Marker.Color = YELLOW

Layer.ParamsList.Add
Layer.Params.Query = "VELOCITY BETWEEN 30 and 70"
Layer.Params.Marker.Color = GREEN

Layer.ParamsList.Add
Layer.Params.Query = "VELOCITY > 70"
Layer.Params.Marker.Color = RED


Created: April 22, 2004, Modified: July 06, 2012