Re: [OpenMap Users] Additional DTEDLayer questions/problems.

From: Don Dietrick <dietrick_at_bbn.com>
Date: Sat, 28 Jun 2008 09:17:07 -0400

Davidian wrote:
> I've posted previously with questions as to why a DTEDLayer I was creating
> was not showing up in the map. That was a few weeks ago. Well, I've still
> yet to get it to work, so I'm back for more help. :)
>
> One of the solutions posted in response to my other post was "you're not
> zoomed to the right level. Zoom in/out".
>
> Well, I don't think that's it. As an experiment I created a DTEDLayer using
> the no-arg constructor in that class and added that layer to my map. When I
> zoom in/out and hit a certain threshold I see the following console message:
>
> "DTEDLayer: scale (1:4.492714E7) is smaller than minimum (1:2.0E7) allowed."
>
> Well, since I never passed any data to the layer, this message is obviously
> not generated by me zooming in/out passed the visible level of the layer's
> data. Which leads me to two questions:

It actually is. The DTEDLayer doesn't know about the data, it just
knows it shouldn't bother to do work if the scale is outside the
specified limit. If the projection passes the initial tests, it
forwards the request on to the DTEDCacheHandler to retrieve the data.


> 1) If the data were to be working (i.e., displaying on the map) it appears
> that this message would be spit out when I zoomed in/out passed the
> threshold. That seems really bad. I can see my log files getting clogged
> up pretty quickly since it happens with every projection change that is
> outside the accepted range. Shoudn't it be the case that the data displays
> when you are in its range, and doesn't when you are not. I don't see a need
> to log this message constantly.

I can see your point, but then if you were outside the scale limit you
wouldn't know that the layer isn't even trying to find your data.

- Don

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Sat Jun 28 2008 - 09:19:02 EDT

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