[gdal-dev] Missing EPSG Codes and importFromUrl

Jean-Claude Repetto jrepetto at free.fr
Fri Feb 3 02:34:41 EST 2012


On 02/03/12 00:31, David Baker (Geoscience) wrote:
> All,
>
> Working in C#... I have need for EPSG:4418. Per
> http://www.epsg-registry.org/ this is the code for “ProjectedCRS [NAD27
> / BLM 18N (ftUS)]”. This code does not seem to be in the GDAL/OGR/Prog4
> database in FWTools2.4.7. Executing the line:
>
> var i = src.ImportFromEPSG(4418);
>
> This call returns an error indicating the code is invalid.

Hello,

In GDAL 1.9, it is not missing. Have you tried epsg_tr.py ?

$ epsg_tr.py 4418
PROJCS["NAD27 / BLM 18N (ftUS)",
     GEOGCS["NAD27",
         DATUM["North_American_Datum_1927",
             SPHEROID["Clarke 1866",6378206.4,294.9786982138982,
                 AUTHORITY["EPSG","7008"]],
             AUTHORITY["EPSG","6267"]],
         PRIMEM["Greenwich",0,
             AUTHORITY["EPSG","8901"]],
         UNIT["degree",0.0174532925199433,
             AUTHORITY["EPSG","9122"]],
         AUTHORITY["EPSG","4267"]],
     PROJECTION["Transverse_Mercator"],
     PARAMETER["latitude_of_origin",0],
     PARAMETER["central_meridian",-75],
     PARAMETER["scale_factor",0.9996],
     PARAMETER["false_easting",1640416.67],
     PARAMETER["false_northing",0],
     UNIT["US survey foot",0.3048006096012192,
         AUTHORITY["EPSG","9003"]],
     AXIS["X",EAST],
     AXIS["Y",NORTH],
     AUTHORITY["EPSG","4418"]]


Regards,
Jean-Claude


More information about the gdal-dev mailing list