+ Reply to Thread
Results 1 to 2 of 2

Thread: dynamically draw by attributes

  1. #1
    chen yue
    Join Date
    Aug 2010
    Posts
    5
    Points
    0
    Answers Provided
    0


    0

    Question dynamically draw by attributes

    I have a polygon with multipal values in one field, and the values will be changed from time to time. How can I draw this polygon dynamically (I mean dynamic colors) base on this field?

  2. #2
    Leo Donahue
    Join Date
    Apr 2010
    Posts
    960
    Points
    232
    Answers Provided
    30


    0

    Default Re: dynamically draw by attributes

    You can try a spatial query.

    We dynamically symbolize polygon data as points in our .axl file so they are easier to find.

    Code:
    <LAYER type="featureclass" name="C-2" visible="false" id="87">
     <DATASET name="DATABASE.OWNER.VW_ZONING" type="polygon" workspace="sde_ws-0" />
       <SPATIALQUERY where="DATABASE.OWNER.VW_ZONING.ZONE='C-2'" />
         <SIMPLERENDERER>
           <SIMPLEMARKERSYMBOL type="star" color="121,83,49" outline="172,144,120" width="14" />
         </SIMPLERENDERER>
    </LAYER>
    http://planning.maricopa.gov/PlanNet
    In the Individual Zoning folder.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts