[gdal-dev] OT: Need help with proj definition

Jamie Adams jaadfoo at gmail.com
Thu May 13 16:58:53 EDT 2010


I quickly ran this in a python shell:

>>> from osgeo import osr

>>> wkt =
'GEOGCS["GCS_ITRF_2000",DATUM["D_ITRF_2000",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'

>>> srs = osr.SpatialReference()

>>> srs.ImportFromWkt(wkt)

>>> srs.ExportToProj4()
'+proj=longlat +ellps=GRS80 +no_defs '

- Jamie

On Thu, May 13, 2010 at 1:32 PM, Stephen Woodbridge <woodbri at swoodbridge.com
> wrote:

> Hi all,
>
> I have a shapefile with the following in the prj file:
>
>
> GEOGCS["GCS_ITRF_2000",DATUM["D_ITRF_2000",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
>
> Anyone know how to convert this to a proj4 definition?
>
> Thanks,
>  -Steve
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100513/3aece606/attachment.html


More information about the gdal-dev mailing list