[Proj] Coordinate transformation assistance
Bjørn Krangnes
bkr at devonor.com
Mon Apr 23 00:26:35 PDT 2007
Frank,
Importing as a PROJ.4 string is working fine. Thank you !
Where can I find documentation on syntax for proj4 string. eg:
+units= xx, what are the available units?
Bjørn
> 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
>
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
>
Bjørn Krangnes
Devonor AS
Telephone: +47 32 29 96 90
Direct Line: +47 32 29 96 91
Mobile: +47 45035640
E-mail: bkr at devonor.com
Web: www.devonor.com
More information about the Proj
mailing list