[postgis-commits] svn - r3816 - trunk
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Mon Mar 9 10:19:54 PDT 2009
Author: mcayland
Date: 2009-03-09 10:19:54 -0700 (Mon, 09 Mar 2009)
New Revision: 3816
Modified:
trunk/spatial_ref_sys.sql
Log:
Fix the OSGB 27700 SRID definition in spatial_ref_sys.sql since it is missing a datum parameter. We can't backpatch this since it is only available in newer versions of PROJ, and we don't have any PROJ version detection capability in 1.3 branch.
Modified: trunk/spatial_ref_sys.sql
===================================================================
--- trunk/spatial_ref_sys.sql 2009-03-09 16:20:03 UTC (rev 3815)
+++ trunk/spatial_ref_sys.sql 2009-03-09 17:19:54 UTC (rev 3816)
@@ -9654,7 +9654,7 @@
---
--- EPSG 27700 : OSGB 1936 / British National Grid
---
-INSERT INTO "spatial_ref_sys" ("srid","auth_name","auth_srid","srtext","proj4text") VALUES (27700,'EPSG',27700,'PROJCS["OSGB 1936 / British National Grid",GEOGCS["OSGB 1936",DATUM["OSGB_1936",SPHEROID["Airy 1830",6377563.396,299.3249646,AUTHORITY["EPSG","7001"]],AUTHORITY["EPSG","6277"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4277"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",49],PARAMETER["central_meridian",-2],PARAMETER["scale_factor",0.9996012717],PARAMETER["false_easting",400000],PARAMETER["false_northing",-100000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","27700"]]','+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.999601 +x_0=400000 +y_0=-100000 +ellps=airy +units=m +no_defs ');
+INSERT INTO "spatial_ref_sys" ("srid","auth_name","auth_srid","srtext","proj4text") VALUES (27700,'EPSG',27700,'PROJCS["OSGB 1936 / British National Grid",GEOGCS["OSGB 1936",DATUM["OSGB_1936",SPHEROID["Airy 1830",6377563.396,299.3249646,AUTHORITY["EPSG","7001"]],AUTHORITY["EPSG","6277"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4277"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",49],PARAMETER["central_meridian",-2],PARAMETER["scale_factor",0.9996012717],PARAMETER["false_easting",400000],PARAMETER["false_northing",-100000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","27700"]]','+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.999601 +x_0=400000 +y_0=-100000 +ellps=airy +units=m +no_defs +datum=OSGB36');
---
--- EPSG 28191 : Palestine 1923 / Palestine Grid
---
More information about the postgis-commits
mailing list