This does seem confusing; what does the SLD specification say anchor point is. I belive anchor point is defined relative to "the_geom" (ie centroid of a polygon or linestring, or the actual point). Try creating one using the styleFactory if you have to; and then fill in the blanks.
My guess would be Expression x and Expression y are actually: sb.createAnchorPoint(Expression offsetX, Expression offesetY) And the main reason to do an expression is so you can do something like sin( angle )*distance, cose( angle )*distance where angle and distance are other attributes of your feature.... Jody > Hi, I want to plot the values of an attribute of a point shape file at > each point. > I am stumped by: > AnchorPoint anchorPoint = sb.createAnchorPoint(Expression x, Expression y) > I want to take the information from "the_geom" and use it in the > AnchorPoint expression, but I just can't see it... > Thax! > > gaby > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
