Re: [OpenMap Users] OMGrid

From: Don Dietrick <dietrick@bbn.com>
Date: Mon Mar 15 2004 - 17:05:37 EST

HI Michael,

On Mar 8, 2004, at 11:17 AM, Michael Johnson wrote:

> Greetings,
>
> I have a layer class, that uses a 2D integer array to set the color to
> display on the map.  The array contains data that should be rendered
> in multiple places on the map.  However what appears to be happening
> is that the rendered data is in one quadrant of the map beginning with
> the lower latitude and left longitude.  Whenever a zoom is done to a
> particular area then the data appears to be rendered properly.

This is key. I wonder if the OMGrid is being generated with the latest
projection when it is created?

>
> I am using OMGrid to render the layer. 

So the layer is rendering the OMGrid? What kind if layer?

- Don

>
>  
>
>
>  
>
> Initial Map Area:
>
>  
>
> projection: Mercator
>
>  
>
> upperLat = 73.2644
>
> lowerLat = -73.2644
>
> leftLon = -153.7459
>
> rightLon = 153.7459
>
>  
>
> numPixels X = 560
>
> numPixels Y = 400
>
>  
>
> horizontal Resolution = 0.5490
>
> verticalResolution = 0.3663
>
>  
>
>
> A class to handle the Mercator projection was written by another
> developer. As mentioned previously the data is being rendered properly
> whenever a user zooms to an area.
>
> Does anyone have any idea or suggestions as to what is causing the 
> data to be displayed in one quadrant of the map?  Could the problem be
> caused by rendering data that spans hemispheres or greater than a 180
> degrees?  Similar to the restrictions listed in the Projection class
> documentation regarding Polygons and lines?
>
>  
>
>
>  
> Michael Johnson
> Senior System Analyst
> Diamond Data Systems
> Stennis Space Center, MS
> (228) 688 - 3309
> (228) 688 - 6531  (fax)
>  
>  

--
[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 Mon Mar 15 17:05:58 2004

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