Re: [OpenMap Users] Writing out VPFLayer properties

From: Don Dietrick <dietrick@bbn.com>
Date: Fri Jan 24 2003 - 09:09:40 EST

Hi Lonnie,

On Thursday, January 23, 2003, at 03:05 PM, Lonnie D. Goad wrote:

> Hey Don,
> For the VPFLayer properties I just grabbed the feature type data
> from the layer and created the String for the vmap.featureTypes
> property
> in the properties file and I got the remaining properties from the
> DrawingAttributes for the layer.

OK, cool. I'm glad it was that easy.

> I then looked at the DTEDLayer and
> found the 4 properties I wanted to store to be protected. These were
> dtedLevel, viewType, slopeAdjust and bandHeight. I wrote a subclass to
> DTEDLayer to add get methods for these properties and was wondering if
> these get methods can be added to DTEDLayer in the future. In
> addition,
> I found that when the properties are read back all is well except that
> the slider for the contrast defaults to 3. I found in the getGUI code
> for the DTEDLayer that the JSlider initial setting for the contrast is
> statically set to 3 rather than the slopeAdjust property. As a note
> the
> JSlider for the bandHeight has its initial setting set to the
> bandHeight
> property.

Thanks for the heads-up. I'll look into these issues and make the
changes.

- Don

>
> Thanks
>
> - Lonnie
>
> -----Original Message-----
> From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]
> On Behalf Of Don Dietrick
> Sent: Tuesday, January 14, 2003 10:52 AM
> To: Lonnie D. Goad
> Cc: openmap-users@bbn.com
> Subject: Re: [OpenMap Users] Writing out VPFLayer properties
>
>
> Hi Lonnie,
>
> The warehouse is the thing that controls rendering, so that's the thing
> you should be asking for the rendering properties. The warehouse
> should implement the PropertyConsumer interface so you can ask it for
> it's properties - unfortunately, it's not now, but will be upgraded in
> a future version as part of an effort to upgrade the VPFLayer to be a
> good PropertyConsumer itself. The RPFLayer, which is a good
> PropertyConsumer, has sub-components that are also good
> PropertyConsumers which can answer those types of queries. I think the
> VPFLayer package components should follow that example.
>
> I don't have a time estimation for when the upgrades to the VPFLayer
> will be implemented, but there are many things that could be done for
> the layer to make it more user-friendly, and more interactive for
> configuration and feature filtering.
>
> - Don
>
>
> On Thursday, January 9, 2003, at 11:32 AM, Lonnie D. Goad wrote:
>
>> Hey Don,
>> I want to save the properties from my VPFLayers to the
>> environment and eventually to a properties file. The problem I am
>> encountering is that the drawing attributes for the layer are not part
>> of the actual properties for the layer. I can work around this but is
>> there any reason why these can't be a part of the VPFLayer properties?
>> What I can't work around are the show(edges, text, area, epoint and
>> cpoint) enabling. I could write them out as properties but I don't
> see
>> them being read in as properties. Thanks for the help.
>>
>> ************************
>> Lonnie Goad - Programmer
>> OptiMetrics Inc.
>> 2107 Laurel Bush Rd. Suite 209
>> Bel Air, Md. 21015
>> LGoad@OptiMetrics.org
>> http://www.OptiMetrics.org
>> (410)569-6081 ext: 105
>> fax: (410)569-6083
>>
>> --
>> [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, BBN Technologies, dietrick@bbn.com
> 10 Moulton Street, Cambridge, MA 02138
> 617-873-3031 [fax]-2794
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> [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, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 Jan 24 09:11:07 2003

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