[gdal-dev] a complete list of GDAL supported EPSG codes

Markus Neteler neteler at osgeo.org
Wed Jun 25 10:18:39 EDT 2008


On Wed, Jun 25, 2008 at 4:04 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Maciej Sieczka wrote:
>>
>> Hi
>>
>> I need to produce a complete list of GDAL supported EPSG codes. How to
>> do it? I tried parsing the *.csv files in share/gdal dir, but eg. none
>> of them includes code 900913, which is however recognized by epsg_tr.py
>> as "Google Maps Global Mercator". This SRS is mentioned only in
>> cubewerx_extra.wkt. Which other SRSs need special handling so that I
>> don't miss them?
>
> Maciej,
>
> 900913 is not really an EPSG code.
>
> Do you want real EPSG codes or also every other crappy thing someone has
> pushed into the EPSG name space for some special purpose?

Frank,

not sure about crappy:

[neteler at markus gdal]$ grep 900913 data/*
data/cubewerx_extra.wkt:900913,PROJCS["Google Maps Global
Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Mercator_2SP"],PARAMETER["standard_parallel_1",0],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],EXTENSION["PROJ4","+proj=merc
+a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0
+units=m +nadgrids=@null +wktext  +no_defs"]]

[neteler at markus proj]$ grep 900913 nad/*
nad/esri.extra:<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0
+lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext
+no_defs <>

Best regards,
Markus


More information about the gdal-dev mailing list