Solving an annoying equation

  • Context: Undergrad 
  • Thread starter Thread starter MexWave
  • Start date Start date
Click For Summary
SUMMARY

The forum discussion centers on solving the equation for "sinLatitude" in the context of converting pixel coordinates to geographical latitude-longitude using Microsoft's Virtual Earth. The original equation presented is a = (1 + sinLatitude) / (1 - sinLatitude). The solution provided by a community member confirms that sinLatitude can be expressed as (a - 1) / (a + 1). This solution has been validated through testing, providing a definitive answer to the user's query.

PREREQUISITES
  • Understanding of trigonometric functions, specifically sine.
  • Familiarity with coordinate systems and geographical data representation.
  • Basic knowledge of algebraic manipulation of equations.
  • Experience with Microsoft's Virtual Earth API and its documentation.
NEXT STEPS
  • Research the mathematical principles behind coordinate transformations in geospatial applications.
  • Explore advanced trigonometric identities and their applications in programming.
  • Learn about the Microsoft Virtual Earth API and its capabilities for geolocation tasks.
  • Investigate other methods for converting between pixel coordinates and geographical coordinates.
USEFUL FOR

Software developers, geospatial analysts, and anyone working with mapping technologies who need to understand coordinate transformations and trigonometric applications in programming.

MexWave
Messages
2
Reaction score
0
[SOLVED] Solving an annoying equation... please help

Hi,

I'm playing with the code used to convert between on-screen pixel co-ordinates and geographical lat-lon in Microsoft's Virtual Earth. They have a page that explains how to go one way (including example code) at http://msdn2.microsoft.com/en-us/library/bb259689.aspx" but it only explains how to get the pixel co-ordinate from a lat-lon and not the other way around.

I decided it shouldn't be too difficult to solve myself so I started on it. I'm now stuck at the following point:

a = (1 + sinLatitude) / (1 - sinLatitude)

I need to calculate "sinLatitude" in terms of "a" but I don't seem to be able to do it. Can anyone please give me some pointers, or do I need to approach the whole thing another way?

Many thanks,

Mark
 
Last edited by a moderator:
Mathematics news on Phys.org
Is sinLatitude = (a-1)/(a+1) the answer you are looking for?
 
After running a few tests, it certainly seems to be!

Many thanks for your help!

Mark
 
Last edited:

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 37 ·
2
Replies
37
Views
5K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
1
Views
3K