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.
I am using OMGrid to render the layer.
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 8 12:03:44 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT