Convert pixel coordinates to LAT/LON [message #58293] |
Thu, 24 January 2008 10:12 |
Gary
Messages: 4 Registered: January 2008
|
Junior Member |
|
|
Many apologies for what might be an entirely newbie question, which I
am. I am trying to determine the lat/lon of a given position on a
radar image. I have the lat/lon of the center point of the image. The
image space covers less than a full degree of longitude and covers
double the latitude. The difference in the meters/degree of latitude
over the range is ~6m, so I linearly scale latitude over the range of
pixels. For the longitude, I determine the meters/degree longitude for
the given latitude (determine from the linear scaling). I then
multiply the pixel coordinates by the meters/degree, and determine the
degree offset from the edge of the image and add this to the lat or
lon of the edge of the image. I understand all of this might be
tedious and better served by using IDL's mapping functions, however,
I'm trying to do all of this in as simple a fashion as possible in a
GUI I've cobbled together which is already growing. I'm looking for
some validation of this as a method that will provide reasonable
results. Of course, I recognize I may have failed to supply addequate
info, so please let me know if anything else is required. Thanks
|
|
|