[Proj] Coordinate transformation assistance

Frank Warmerdam warmerdam at pobox.com
Fri Apr 13 07:04:07 PDT 2007


Bjørn Krangnes wrote:
> Frank,
> The expected result is Easting:200049.410 Northing: 199965.743 (sorry,
> typo error in my previous answer)
> I forgot to mention that I still get returncode 6 from ImportFromEPSG.
> Also adding the EPSG file for both ITM and IG.
> # IRENET95 / Irish Transverse Mercator
> <2157> +proj=tmerc +lat_0=53.5 +lon_0=-8 +k=0.999820 +x_0=600000
> +y_0=750000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs  <>
> # TM75 / Irish Grid
> <29903> +proj=tmerc +lat_0=53.5 +lon_0=-8 +k=1.000035 +x_0=200000
> +y_0=250000 +a=6377340.189 +b=6356034.447938534 +units=m +no_defs  <>

Bjørn

Note that OGR's ImportFromEPSG() method does not read the PROJ.4 epsg
init file.  It reads the gcs.csv and pcs.csv files from the GDAL
distribution ... a more direct dump of the EPSG parameters.  Adding a
new projection to the PROJ.4 epsg file won't generally help OGR.

As Tamas suggests, I'd encourage you to directly import as a PROJ.4
string.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Proj mailing list