[Gdal-dev] Projection issues with OGR/Proj.4.

Frank Warmerdam warmerdam at pobox.com
Fri Apr 7 19:26:52 EDT 2006


Ed McNierney wrote:
> Rostic -
> 
> It seems that Frank's observation is correct - please see the following
> discussion concerning this apparent error in the EPSG database:
> 
> http://www.nabble.com/nad27-vs.-epsg-defn-of-CA-State-Plane-zone-VII-t16
> 6935.html
> 
> 	- Ed

Rostic,

I have modified stateplane.csv in gdal/data to point California VII (NAD27)
to EPSG:26799 instead of the old code.  It seems that EPSG corrected their
database, but the normal way they do this is by deprecating old codes and
adding a new fixed code.  They did this, but I didn't realize it and hadn't
updated stateplane.csv which is used by the SetStatePlane() method to turn
a state plane zone into an EPSG code.

With this change the result match the other software output.

*** stateplane.csv.~1.2.~	2006-02-28 00:19:22.000000000 -0500
--- stateplane.csv	2006-04-07 19:22:34.647688600 -0400
***************
*** 135,141 ****
   10404,CALIFORNIA,IV,2,NAD27,404,26744
   10405,CALIFORNIA,V,2,NAD27,405,26745
   10406,CALIFORNIA,VI,2,NAD27,406,26746
! 10407,CALIFORNIA,VII,2,NAD27,407,26747
   10501,COLORADO,NORTH,2,NAD27,501,26753
   10502,COLORADO,CENTRAL,2,NAD27,502,26754
   10503,COLORADO,SOUTH,2,NAD27,503,26755
--- 135,141 ----
   10404,CALIFORNIA,IV,2,NAD27,404,26744
   10405,CALIFORNIA,V,2,NAD27,405,26745
   10406,CALIFORNIA,VI,2,NAD27,406,26746
! 10407,CALIFORNIA,VII,2,NAD27,407,26799
   10501,COLORADO,NORTH,2,NAD27,501,26753
   10502,COLORADO,CENTRAL,2,NAD27,502,26754
   10503,COLORADO,SOUTH,2,NAD27,503,26755

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list