Re: [Google Maps API v3] Re: Find the given Point lie inside a polygon in serverside C#

2012-09-07 Thread Andrew Leach
On 7 September 2012 21:08, Blagoja Chavkoski wrote: > > I have one question, what are you taking as a x,y values of a point? For the algorithm I linked to, and with short side-lengths, it's sufficient to use the lat/long of the point itself. -- You received this message because you are subscrib

Re: [Google Maps API v3] Re: Find the given Point lie inside a polygon in serverside C#

2012-09-07 Thread Blagoja Chavkoski
That was my point. Im not sure till what distance this will be the correct way, but if you are saying that this works pretty ok for "small" distances then thats a way to go... I have one question, what are you taking as a x,y values of a point? In a caucasian system the values would be: x = r*co

Re: [Google Maps API v3] Re: Find the given Point lie inside a polygon in serverside C#

2012-09-07 Thread Andrew C Leach
On 7 September 2012 19:15, Blagoja Chavkoski wrote: > Well my question was more related to people who have used this 2D > calculation, > and what are the resoults there getting? Dose actully created polygon from a > latlng(s) > and a given random point(latlng) returns correct outcome. 2D and 3D i

Re: [Google Maps API v3] Re: Find the given Point lie inside a polygon in serverside C#

2012-09-07 Thread Blagoja Chavkoski
Well my question was more related to people who have used this 2D calculation, and what are the resoults there getting? Dose actully created polygon from a latlng(s) and a given random point(latlng) returns correct outcome. I dont know how to use this methods as can be seen all are taking a int val

[Google Maps API v3] Re: Find the given Point lie inside a polygon in serverside C#

2012-09-07 Thread Rossko
> so the 2D solutions will be > close to correct You'd have to define what you would call a "correct" 3D solution. Imagine a circle drawn on a sphere with a point marked within it. Is the point inside the circle or not from your viewpoint? It is above the plane of the circle, so could be conside