Hi there! I have a really basic question here.<div><br></div><div>I have a point and from there I would like to get another 2 points to create a triangle. That's pretty basic trigonometry stuff.</div><div><br></div><div>
The only issue, is that I'm trying to get it to work with the lat/lon coordinate system.</div><div><br></div><div>What I want is given a point A (10,10) and a radius in meters, for example 30 meters I want to find the pair of points that are 30 degrees up and 30 degrees down.</div>
<div><br></div><div>Normally I would do is x1 = x+r*cos(30)</div><div><br></div><div>problem is while x is in a decimal lat, r is in meters. </div><div><br></div><div>I'm converting 1meter in decimal as follow:</div>
<div>
<div><br></div><div>value = 1d/(30.9)*Math.cos(Math.toRadians(Math.abs(latitude)));</div><div>return value/3600;</div></div><div><br></div><div>But when I add the markers on the map they are way closer than supposed to be. I'm using OSM and first I create the LonLat on decimal format (all points) and then I transform them.</div>
<div><br></div><div>Any ideas on what am i missing here?</div><div><br></div><div>Regards</div><div><br></div><div><br></div><div><br></div><div><br>-- <br>The intuitive mind is a sacred gift and the<br>rational mind is a faithful servant. We have<br>
created a society that honors the servant and<br>has forgotten the gift.<br><br>
</div>