> -----Original Message----- > From: gdal-dev-boun...@lists.osgeo.org > [mailto:gdal-dev-boun...@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 _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev