From: Jody G. <jga...@re...> - 2005-12-14 23:09:21
|
Brent Owens wrote: > Maybe an added "fit" tag could do it. Where the image is stretched > (shrunk) to fit the line length when the image is too large for the > line, and then tiled when the image is smaller than the line length. > Of course a single pixel representing a line breaks this, and most > solutions I believe. I don't think we need to think on this one - what does the spec say? MapServer bends graphics along a line ... making nice looking roads and "pipes". > A possibility would be to have the full image, a portion of the image, > or a different image altogether, displayed when the line turns into a > point (because of zooming out). That way when your line shrinks, your > graphic could turn into just an arrow head, instead of an arrow head > plus a line tail. The idea of a line graphic does not work for a point > geometry, because the line graphic is designed for a line. Maybe an > alternate lower-dimentionality image substitute would work. By arrow Jesse means something like: ____/\____/\_____/\_____/\_____ Rather then: =======================> Here let me look it up for you guys: > There are three basic types of strokes: solid-color, GraphicFill > (stipple), and repeated linear GraphicStroke. A repeated linear > graphic is plotted linearly and has its graphic symbol bent around the > curves of the line string, and a graphic fill has the pixels of the > line rendered with a repeating area-fill pattern. If neither a > GraphicFill nor GraphicStroke element is given, then the line > symbolizer will render a solid color. Later, Jody |