Space Time and the Universe  

Go Back   Space Time and the Universe > Space > Space Time and the Universe
Connect with Facebook

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-2009
tom tom is offline
Administrator
 
Join Date: Sep 2008
Posts: 1,518
Default Question: lat/long to pixel (maths)

Here's a maths question that may or may not be interesting:I have this image (a map) that will be displayed on a Computer.I need to display things (for which I have latitude and longitude) on the map.The basic question is: what's the best way to convert lat/long to pixels on the map?If I have exactly two reference points on the map (i.e. two pixels for which I know the lat/long) then it's a pretty trival exercise in scaling to find a pixel for any other lat/long.But the map is a flat projection of part of a not-quite-sphere (Earth), so I'd like to use more reference points. (e.g. let's say 4 pixels on the map, for which I know lat/long).So the deeper question is: what's the best way to convert a position from lat/long to pixel on an image, where an arbitrary number of such conversions are known in advance?Thanks,Note 1: This is not a scenario where I can use MS Virtual Earth nor Google Earth.Note 2: I can't quantify the average "error" that I'd get if I just used two reference points and my easy scaling method. i.e. I don't know if I'm wasting time with my "deeper" question.Note 3: It's just for a kind of human readable report. No aircraft will crash into mountains due to use (or misuse) of this map.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13