Re: Link Layer problem?

From: Don Dietrick <dietrick@bbn.com>
Date: Fri Mar 08 2002 - 17:55:24 EST

Hi Russ,

So you created a LinkServer that reads VPF data? I think that's
probably where you need to look, particularly where the LinkGraphics are
created.

On Wednesday, March 6, 2002, at 12:09 PM, S. Russell Berckmoes wrote:

> Hello,
>
> I am working on a project where we are using VPF data (level 0 and
> level 1).
> Using the application that comes with OpenMap, I can change the line
> width/color of edge level data.
>
> In our custom application, I am using a LinkLayer to communicate with a
> server that reads the VPF data. One problem found was that the line
> color
> had to be set in the Link properties (using LPC_LINECOLOR) and not in
> the
> VPF properties. Now I want to change a line width, and I can't do it. I
> have
> modified both the VPF properties and the Link properties (using
> LPC_LINEWIDTH), but nothing happens. It still uses the default line
> width.
> This here is a small code snippet...
>

Is this client code? You still have to use it in the server, and load
the LinkGraphics with the drawing attributes sent in the request.

- Don

> Properties props = new Properties();
> LinkProperties lp = new LinkProperties();
> .
> .
> .
> // transportation properties
> props.setProperty("trans.coverageType", "trans");
> props.setProperty("trans.featureTypes", "edge");
> props.setProperty("trans.edge", "runwayl");
> props.setProperty("trans.lineColor", "ff55ff");
> props.setProperty("trans.lineWidth", "3f");
> // link properties
> lp.setProperty(LinkProperties.LPC_LINEWIDTH, "3f");
> lp.setProperty(LinkProperties.LPC_LINECOLOR, "ff55ff");
> .
> .
> .
>
> Any Ideas?
>
>          \\|//
>         (- o)
> -----oOOo-(_)-oOOo------
> Russ Berckmoes
> Sr Software Engineer
> Radix Technologies, Inc.
> 329 N. Bernardo Ave.
> Mountain View, CA 94043
> (650) 988-4700
> (650) 988-8713 FAX
> (650) 944-1524 Direct
> berck@radixtek.com
> ------------------------
>
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Mar 8 17:57:42 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT