Eric,
I have in my own version of JUMP a filter based styling mechanism where
you can define styles based on attributes of the feature (e.g. different
style for two lane paved v.s. one lane gravel road). It also then allows
you to turn on/off rendering of specific filter styles in the layer menu.
Unfortunately there was a clash with the filter theme styles and I
haven't had chance to do the refactoring to allow this to work nicely.
Hopefully I'll get a chance at some point.
We can then look at fancier styling such as adding edges to lines so you
could have a different fill portion for a line.
Paul
*Paul Austin*
/President/CEO/
Revolution Systems Inc.
+1 (604) 288-4304 x201
www.revolsys.com <http://www.revolsys.com>
Eric Jarvies wrote:
Hello,
with OJ, is there a way to separate a vector object's geometry from
it's appearance(easily)? handling appearance by a class called
OJDrawingStyle, which is a tree of graphical attributes and
drawing behaviors that can be attached to the vector objects. objects
can share styles, so changing the style alters the appearance of all
the objects sharing that style, for example. alternatively, a 1:1
relationship between objects and styles could also be adhered to(more
conventional for a vector application). however, it would be nice to
take styles beyond fill of path and stroke, supporting any number
of components. making sure styles define what is drawn, and in what
order.
it would be wonderful to select a 4 lane highway from the menu, or a
dirt road, or a 2-lane with dirt frontage road on the left side(add
long list of visually fun possibilities here), and apply that to an
existing path/linestring. or some yellow bricks(yellow brick road),
or whatever. so please consider this when considering decorations
for roads, because at the present time, most all gis apps have really
boring single-line, single-color decorations to apply to lines.
eric
On Apr 3, 2008, at 9:51 AM, Paul Austin wrote: supporting multiple
strokes with different line, dash attributes, along with width and colors.
All,
I'm wondering if there is a better way for users to select the
decoration styles. What I was thinking is we can divide them into the
following categories.
1. Start
2. End
3. Segment
4. Vertex (also applies to Point)
Then each style implementation would implement say LineStartStyle
interface to indicate the kind of style it is.
The UI would then have 4 sections where you select the style for each
one. The decision there would be if that was a multiple selection or
a single selection.
What do people think of this idea?
Paul
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel