Re: [OpenMap Users] RPF Visibility

From: Don Dietrick <>
Date: Wed, 23 Mar 2005 14:28:55 -0500

Doh! I knew that!

Thanks for letting me know, I have to put that one at the top of the
pile for next time.

- Don

On Mar 23, 2005, at 1:34 PM, Chris Allport wrote:

> Problem Solved...although I am still not getting any debug messages!
> Here was the tip off: by changing NOTHING but the jar file I could
> make it
> work (v4.6) or fail (v4.6.2). So I started inspecting variables.
> Strangely, everything seemed correct in v4.6, but the projections kept
> returning as Mercator in v4.6.2. After discovering that there were no
> projections loaded and Mercator was merely the default, I found that I
> needed to call ProjectionFactory.loadDefaultProjections().
> Thanks for all the help!
> -Chris
> -----Original Message-----
> From: Don Dietrick []
> Sent: Wednesday, March 23, 2005 10:35 AM
> To:
> Cc: OpenMap Users
> Subject: Re: [OpenMap Users] RPF Visibility
> On Mar 23, 2005, at 10:05 AM, Chris Allport wrote:
>> On Mar 23, 2005, at 9:10 AM, Don Dietrick wrote:
>>> The projection code has been updated (since the deprecation of the
>>> "old
>>> method"). The init code looks like the following:
>>> --mapHandler.add(new LayerHandler());
>> So, what are the values of the projection when you expect to see RPF
>> data, and what kind of RPF data do you have?
>> * Sorry, I don't understand. We have a bunch of disks from NIMA/NGA
>> in my
>> lab, and we just started using those. Since this "just worked" in
>> v4.6, we
>> never questioned it. The maps cover much of the eastern seaboard, so
>> I
>> expect to see maps all around 37N 77W (southern Maryland) at most map
>> scales. I tried reverting back to the deprecated projection code and
>> that
>> does not work either.
> I was wondering if the scale of the map projection matched the scales
> required by the chart types you have.
> If the maps worked before, they should work now.
>>> I have also tried turning on debug (via command line) for RPF and
>>> receive no
>>> messages.
>> -Ddebug.rpf
>> If you aren't seeing any messages from that, then it sounds like the
>> layer isn't getting connected to the map. Are you adding a
>> LayerHandler to the MapHandler? That's the thing that connects the
>> layers to the MapBean, depending on their visibility.
>> * Before adding any layers to the mapHandler, I add a LayerHandler.
>> Just to
>> make sure I am rendering layers, I added one of my custom layers and I
>> am
>> able to see the data it renders to the screen. In addition, I created
>> a VPF
>> Layer, and aside from some error messages, it too appeared to work. I
>> add
>> the vpfLayer with the same calls (except for also calling vpf's load
>> function). Regardless of using the -Ddebug.rpf, Debug.output and
>> Debug.error messages are printed.
> I would focus on this. The fact that -Ddebug.rpf doesn't produce any
> messages tells me the layer isn't active, it isn't being added to the
> MapBean.
> - Don
>> Do you have any other indication that the layer is being added to the
>> MapBean? LayersMenu, LayersPanel?
>> * If I fail to supply a path name or supply a wrong path name, I do
>> get an
>> error from RpfLayer. My application does not have any layer control
>> GUI's.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick,
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> --
> [To unsubscribe to this list send an email to ""
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]

Don Dietrick,
BBN Technologies, Cambridge, MA

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Mar 23 2005 - 14:31:01 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT