Community of VE/MapPoint Users and Developers
This is a discussion on Converting Lat/Long to x,y Pixels within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi all: I have a number of pushpins with their associated lat/long values within mappoint. I want to select a ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Converting Lat/Long to x,y Pixels 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 |
| |||
|
Ok, so you're generating a map and saving it as an image somewhere. When you say that you want to convert lat/long to X,Y coords, are you talking about X,Y coords within the map you generated I assume? You can get the location object of the lat/long you have with the GetLocation method: http://msdn.microsoft.com/library/de...etLocation.asp Then you might look into the LocationToX and LocationToY methods: http://msdn.microsoft.com/library/de...ocationToX.asp http://msdn.microsoft.com/library/de...ocationToY.asp This should give you the X,Y coords of the locations you have visible on your map. Did that helps? -TG |
![]() |
| Tags |
| converting, lat or long, pixels |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| converting lat lon to x y | Dazzer | MapPoint 2006/2009 Discussion | 6 | 08-14-2008 05:03 AM |
| Converting my Windows app. to ASP | BobFromBoston | MapPoint 2006/2009 Discussion | 7 | 10-17-2005 12:43 PM |
| Converting XY to Lat Long | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-22-2004 02:35 AM |
| Converting to PDF for large printing | jhnywall | MapPoint 2006/2009 Discussion | 3 | 11-10-2003 08:21 AM |
| Converting Zip Codes to Lat/Long | Anonymous | MapPoint 2006/2009 Discussion | 2 | 06-01-2003 12:27 PM |
Ski Package Holidays
Search the latest ski package holidays in just a few clicks. The Holiday Hypermarket ski holiday search will show you what the top travel brands have to offer you.
Flights to Greece
Find cheap flights to Greece on Travel Counsellors. A personal Travel Counsellor can help you plan flights and find accommodation in Greece.
Cheap Flights to Cape Town
Here at dealchecker.co.uk we’ll shop around for cheap flights to Cape Town so you don’t have to. Find and Compare prices from over twenty UK travel agents with just one search.
Egypt Holidays
Visit one of the most spectacular sightseeing destinations in the world with The Holiday Place. Egypt holidays provide a fantastic break!
Turkey
Before booking a holiday to Turkey check out the ULookUBook travel guide. Find out about the rich culture in Turkey before you go there to help you to make the most of your holiday.
Travel Guides
As far as travel guides are concerned, your best move would be to check out our website at Travel.co.uk
Cheap Holidays in Gran Canaria
Would you like to visit the Canary Islands, but you're on a budget? Get information on cheap holidays in Gran Canaria at On The Beach.