Re: [gdal-dev] Generating Lat, long Cordinates with bearing line and angle

2013-12-17 Thread Even Rouault
Selon Phil Scadden p.scad...@gns.cri.nz:


  I have a *lat, lon* coordinate with a known projection system I assume
  it a initial point. I want to generate a next Position with the an
  *angle* with (horizontal/vertical)  and *bearing length*  in lat,lon
  coordinates and complete it with angles and bearing lengths to form a
  polygon

 Try http://www.movable-type.co.uk/scripts/latlong.html#destPoint


 However, you need to be very careful with this as calculations are being
 done assuming a spherical earth. Fine is distances arent large enough
 for the ellipsoidal effects to affect accuracy. For large distances, you
 need to use Vincent' s_formula -
 http://en.wikipedia.org/wiki/Vincenty%27s_formulae which require iteration.

http://geographiclib.sourceforge.net/ has an implementation of it.



 Notice: This email and any attachments are confidential.
 If received in error please destroy and immediately notify us.
 Do not copy or disclose the contents.




___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] Generating Lat, long Cordinates with bearing line and angle

2013-12-16 Thread Phil Scadden


I have a *lat, lon* coordinate with a known projection system I assume 
it a initial point. I want to generate a next Position with the an 
*angle* with (horizontal/vertical)  and *bearing length*  in lat,lon 
coordinates and complete it with angles and bearing lengths to form a 
polygon


Try http://www.movable-type.co.uk/scripts/latlong.html#destPoint


However, you need to be very careful with this as calculations are being 
done assuming a spherical earth. Fine is distances arent large enough 
for the ellipsoidal effects to affect accuracy. For large distances, you 
need to use Vincent' s_formula - 
http://en.wikipedia.org/wiki/Vincenty%27s_formulae which require iteration.



Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev