[gdal-dev] projection transformation

Kralidis,Tom [Ontario] Tom.Kralidis at ec.gc.ca
Fri Jul 9 14:05:24 EDT 2010


 

> -----Original Message-----
> From: gdal-dev-bounces at lists.osgeo.org 
> [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of ahmet temiz
> Sent: Friday, 09 July 2010 13:58
> To: gdal-dev
> Subject: [gdal-dev] projection transformation
> 
> hello
> 
> I want to do projection transformation in gdal-java.
> 
> from epsg:32636 (UTM) to epsg:4326
> 
> which commands should I use ?
> 

Check out
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/OSRTransfor
m.java for an example using proj4 defs.  For EPSG codes, you would use
SpatialReference.ImportFromEPSG(code), where code would be the EPSG
code, without the EPSG namespace (i.e. 4326, not 'EPSG:4326').

..Tom


More information about the gdal-dev mailing list