From d6636b805e0e8136f427ca79c57b21d421539169 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Mon, 26 Nov 2007 00:21:59 +0000 Subject: Modified PJ structure to hold a_orig, es_orig, ellipsoid definition before adjustment for spherical projections. Modified pj_datum_transform() to use the original ellipsoid parameters, not the ones adjusted for spherical projections. Modified pj_datum_transform() to not attempt any datum shift via geocentric coordinates if the source *or* destination are raw ellipsoids (ie. PJD_UNKNOWN). All per PROJ bug #1602, GDAL bug #2025. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1406 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 73c70727..22cffc98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2007-11-25 Frank Warmerdam + + * pj_transform.c: Do ellipsoid comparisons using the _orig ellipse + values rather than the adjusted one. Use these original values for + any conversion to/from geocentric coordinates. + + Also, only do pj_datum_transform if neither the source nor destination + is PJD_UNKNOWN. This means we will no longer attempt via-geocentric + adjustments for coordinate systems lacking a datum definition (having + only an ellipsoid. + + * projects.h, pj_init.c: added a_orig and es_orig values in the PJ + structure so we can distinguish between the originally requested + ellipsoid, and the ellipsoid after adjustment for spherical projections + + Todays changes courtesy of bug 1602. + 2007-09-28 Frank Warmerdam * nad/esri.extra: Add "900913" code for google mercator. -- cgit v1.2.3