View Single Post

  #1 (permalink)  
Old 09-02-2004
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Converting Lat/Long to x,y Pixels

Hi all:

I have a number of pushpins with their associated lat/long values within mappoint. I want to select a map portion and copy it to the clipboard. I will know the four corners of the map's lat/long coordinates. I will also know the altitude. After I save the map from the clipboard memory as a bitmap or jpeg, I would like to somehow convert the Lat/Long pushpins into x,y coordinates. The lat/long will change periodically and I need an algorithm that will yield good x,y pixel values taking into account the earth's curvature etc.

Any help would be appreciated.

Thanks
Robert
Reply With Quote