Re: Upper and Lower Latitudes ...

From: PRADEEP RAMACHANDRAN <arpradeep@lycos.com>
Date: Fri Sep 07 2001 - 23:21:41 EDT

Hello Don,

Thanks a lot for giving it a looke over ...

Regards,
Pradeep.

--
On Fri, 7 Sep 2001 16:07:01   
 Donald Dietrick wrote:
>Hi Pradeep,
>
>Looking into the zooming out issue, I found that the minimum size of the 
>MapBean was being set to the measurements set in the openmap.properties 
>file.  The ToolPanel also affects whether the screen can be made narrow 
>enough to create a map dimension ratio that allows all 180 degrees of 
>latitude to be made visible.  I think what you are seeing is normal 
>behavior given the limitations we've set on the projections.
>
>As for the issue with getting the scale from the ProjMath object, I see 
>the problem you're talking about, but I'm not sure what's causing it.  
>The NavMouseModes use the method, too, and it generally has worked 
>pretty well, although obviously not in your case.  Looks like something 
>for the bug list.
>
>- Don
>
>On Friday, September 7, 2001, at 08:20 AM, PRADEEP RAMACHANDRAN wrote:
>
>> Hello Don,
>>
>> Forgot to add this info in the prev mail ...
>>
>> The changes are preceded by the comment
>> //pradeep  and occur in the init() and
>> updatePerform() methods ...
>>
>> Thanks,
>> Pradeep.
>>
>>
>>
>> --------- Forwarded Message ---------
>>
>> DATE: Fri, 07 Sep 2001 17:35:58
>> From: "PRADEEP RAMACHANDRAN" <arpradeep@lycos.com>
>> To: openmap-users@bbn.com
>>
>> Hello Don,
>>
>> I had the foll. change in the openmap.properties file for
>> mercator:
>> openmap.Width=640
>> openmap.Height=640
>>
>> This only increased the span to 80/-80 for center 0,0.
>>
>> Don, when you increased the height did you resize the window
>> by pulling the upper edge. The only way I get a 90/-90 in
>> other words a complete 180 degrees span for the latitudes if
>> I resize the window like that. But that certainly seems that
>> users with smaller size monitors would find this an inhibition,
>> for the resize buttons and the widgets would be cut off when
>> they do that, I have this problem !
>>
>> Also, the track on using ProjMath.getScale() is related to
>> this. I have attached the source and class files for the DemoLayer.java 
>> with some changes to illustrate the point. Whats changed there is a set 
>> of BitMaps are created and put into the GraphicList based on hard coded 
>> lat/lon values, when a timer
>> expires it calls the MAX/MIN of these lat/lon, determines a
>> bounding box and then the scale using ProjMath.getScale() and
>> then recenters the map.
>>
>> The behaviour seen is that the latitudes span the box had does
>> not match what should appear.
>>
>> Could you please test this if you can spare a moment. I would
>> like to know if I have missed any detail or if there is some
>> feature problem or restriction.
>>
>> Thanks,
>> Pradeep.
>>
>> --
>>
>> On Thu, 6 Sep 2001 15:44:16
>>  Donald Dietrick wrote:
>>> OK, now I'm lost.  I'm not sure what the question is, I guess.  For me,
>>> the mercator projection is stretching 360 degrees across, with the
>>> latitude span limited by the height of the window.  The CADRG 
>>> projection
>>> doesn't stretch 360 degrees unless the width of the window is big
>>> enough, but the latitude span works the same way (depends on the height
>>> of the window).
>>>
>>> - Don
>>>
>>>
>>>
>>> On Thursday, September 6, 2001, at 01:04 PM, PRADEEP RAMACHANDRAN 
>>> wrote:
>>>
>>>> No Don ... the Mercator isn't working that way , its the
>>>> behaviour with Mercator that I was mentioning about when
>>>> I try and change the window dimensions to square like ...
>>>>
>>>> With CADRG the areas covered with a sqaure-like dimension
>>>> appear to be lesser ...
>>>>
>>>>
>>>> --
>>>>
>>>> On Thu, 6 Sep 2001 11:59:38
>>>>  Donald Dietrick wrote:
>>>>> Hi Pradeep,
>>>>>
>>>>> On Thursday, September 6, 2001, at 11:12 AM, PRADEEP RAMACHANDRAN
>>>>> wrote:
>>>>>
>>>>>> Thanks Don,
>>>>>>
>>>>>> But isn't the Viewer app showing 360 degrees across ?
>>>>>
>>>>> I would have expected it to, but upon looking into it, the CADRG
>>>>> projection min scale is limited to a pixel ratio.  I can't remember 
>>>>> why
>>>>> it's written differently than the Mercator projection, but think it 
>>>>> has
>>>>> to do with the CADRG projection being pixel/degree based, and those
>>>>> ratios are specified in the RPF specification.  It was written to
>>>>> support RPF raster charts, so probably wasn't intended to provide a
>>>>> whole earth look.
>>>>>
>>>>>> And by trying to make the window square like it, assumes
>>>>>> more of the look CADRG projection for the default height, width
>>>>>> for the viewer app, even lesser area appears to be covered ?
>>>>>
>>>>> But the mercator projection is working as expected, no?
>>>>>
>>>>> - Don
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Pradeep.
>>>>>>
>>>>>> --
>>>>>>
>>>>>> On Thu, 6 Sep 2001 10:40:32
>>>>>>  Donald Dietrick wrote:
>>>>>>> Hi Predeep,
>>>>>>>
>>>>>>> The upper/lower bounding that you are seeing may be a result of the
>>>>>>> projections limiting the minimum scale to whatever allows only 360
>>>>>>> degrees across the map window.  If you make the window more
>>>>>>> square-like,
>>>>>>> more of the latitudes will appear.
>>>>>>>
>>>>>>> - Don
>>>>>>>
>>>>>>> On Wednesday, September 5, 2001, at 09:34 AM, PRADEEP RAMACHANDRAN
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> The differene between the upper and lower latitudes for
>>>>>>>> both Mercator and CADRG projections seem restricted to
>>>>>>>> be within a certain range viz., approximately 135 degrees,
>>>>>>>> with the min. scale.
>>>>>>>>
>>>>>>>> To simulate this the map center for the OpenMap viewer
>>>>>>>> application was set to 0,0. The upper/lower bounding
>>>>>>>> latitudes for the min scale ( 207,476,976 for Mercator and
>>>>>>>> 389,940,928
>>>>>>>> for CADRG ) were less than 70/-70 respectively.
>>>>>>>>
>>>>>>>> Is this the normal behaviour for OpenMap ?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Pradeep.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Get 250 color business cards for FREE!
>>>>>>>> http://businesscards.lycos.com/vp/fastpath/
>>>>>>>>
>>>>>>>> --
>>>>>>>> [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"]
>>>>>>>>
>>>>>>>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>Donald F. Dietrick, dietrick@bbn.com
>BBN Technologies, 10 Moulton Street, Cambridge, MA 02138
>617.873.3031 FAX 2794
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Get 250 color business cards for FREE!
>>>>>> http://businesscards.lycos.com/vp/fastpath/
>>>>>>
>>>>>> --
>>>>>> [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"]
>>>>>>
>>>>> --
>>>>> [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"]
>>>>>
>>>>
>>>>
>>>> Get 250 color business cards for FREE!
>>>> http://businesscards.lycos.com/vp/fastpath/
>>>>
>>>
>>
>>
>> Get 250 color business cards for FREE!
>> http://businesscards.lycos.com/vp/fastpath/
>> --------- End Forwarded Message ---------
>>
>>
>>
>> Get 250 color business cards for FREE!
>> http://businesscards.lycos.com/vp/fastpath/
><Attachment missing>
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
--
[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 Sep 7 23:23:37 2001

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