The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: polygon creation from lat lon info
Replies: 2   Last Post: Feb 15, 2009 11:28 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Walter Roberson

Posts: 7,678
Registered: 1/20/06
Re: polygon creation from lat lon info
Posted: Feb 15, 2009 11:04 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

ulas im wrote:

> i am trying to create a polygon from four corners that i ve the lat lon info of.
> the object is to create the polygon first and then check if a number of
> points fall inside the polygon.

Which geoid model?

Do you have access to the symbolic toolbox? If not, then you will only
be able to run the calculations -approximately-, and you are going to get
the wrong answers for some points, especially if the polygon is extremely
close to or straddles the North Pole or South Pole.

Yes, the implication of my questions *is* that in order to solve this
problem, you *must* take into account the curvature of the Earth.
Latitude and Longitude are -spherical- measures, so the calculation of
what is "inside" or "outside" must be done in spherical space.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.