[OpenMap Users] Fill a shape file Polygon based on its attribute

From: Christian Weaves <christian.weaves@robresint.co.uk>
Date: Fri Oct 31 2003 - 10:14:25 EST

Hopefully this should be straight forward enough,

How would I (from a properties file) fill just one polygon with a
certain color based on an attribute?

* I want to color the caspian sea blue, here's my properties snippet:

Coastline.class=com.bbn.openmap.layer.shape.ShapeLayer
Coastline.prettyName=Coastline
Coastline.shapeFile=data/shape/semi_detailed_world.shp
Coastline.spatialIndex=data/shape/semi_detailed_world.ssx
Coastline.lineColor=ff000000
Coastline.fillColor=ffbdde83

The attribute for the caspian sea is CTRY25M=550, So I need something
like this:
Coastline.CTRY25M.fillColor=eeff0093 where value=550

How do I write this in a properties file?? Is it possible?

Thanks very much, chris.!!

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Oct 31 10:20:10 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT