Jody wrote: "We have a renderer for features if that is what you mean.

It is configured with an SLD file.
You can configure an SLD file to pick up symbols based on your feature
attributes... I think that is what you are trying to ask?"


Nope. I'm not actually working with features just yet. I've got a low
level object that represents a Waypoint parsed from a GPX file. It can
have a Symbol associated with it. So I was thinking of an interface
that might look something like this:

public Interface CartographicSymbol
{
   public abstract List<java.awt.Shape> getSymbolAsJava2DShape();

   public abstract void String getSymbolAsSVG();

   public abstract String getSymbolName();

   public abstract String getSymbolDescription();

   public abstract java.awt.Image getSymbolAsImage();

   public abstract boolean isAvailableAsShapes();

   public abstract boolean isAvailableAsSvg();

   public abstract boolean isAvailableAsImage();

   public abstract boolean canBeScaled();
}

Landon

On Thu, Jun 19, 2008 at 1:12 PM, Jody Garnett <[EMAIL PROTECTED]> wrote:
> Sunburned Surveyor wrote:
>>
>> A GPX waypoint object can have a "link" attribute and a "symbol"
>> attribute. At this time I'm representing both of these attributes as
>> Strings in my waypoint object. I was thinking about upgrading these
>> attributes to more "intelligent" objects.
>>
>> I can use the java.net.URL object for my link attribute, but I wanted
>> to see if there was another existing class used to represent a Link in
>> GeoTools that I should use instead. I can also cook up my own
>> CartographicSymbol interface, or find something on the web. But I
>> thought GeoTools might have something in this area as well.
>>
>
> We have a renderer for features if that is what you mean. It is configured
> with an SLD file.
> You can configure an SLD file to pick up symbols based on your feature
> attributes... I think that is what you are trying to ask?
>
> Jody
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to