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

Hermann Peifer peifer at gmx.eu
Fri May 14 06:10:48 EDT 2010

On 13/05/2010 22:32, Stephen Woodbridge 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

One option could be to simply convert the shapefile into GMT format.

# -fid 0 keeps the GMT file small
ogr2ogr -f GMT yourfile.gmt yourfile.shp -fid 0

You'll find something like this in the GMT file:
# @Jp"+proj=longlat +ellps=GRS80 +no_defs "


More information about the gdal-dev mailing list