[OSM-dev] FW: [OSM-newbies] Calculating bounding box of a clipped rectangle

Sascha Silbe sascha-ml-gis-osm-dev at silbe.org
Fri May 9 17:09:29 BST 2008

On Fri, May 09, 2008 at 03:07:38PM +0100, Andy Robinson 
(blackadder-lists) wrote:

> The bounding box seem to be ok but not accurate. Each location within 
> the
> box is off by quite a tens of meters (20-30).
I'm using Vincenty's algorithm. There's a JavaScript implementation on 
[1] that I translated to Python, pyrex and even C for use on an AVR 

[1] http://www.movable-type.co.uk/scripts/latlong-vincenty-direct.html

CU Sascha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080509/1384eecc/attachment.pgp>

More information about the dev mailing list