
Using GDAL you could do something like the following: open the dataset and get the geo transform matrix ds gdal.Open ('final.tif') xoffset, pxw, rot1, yoffset, pxh, rot2 ds.GetGeoTransform () supposing x. I tried copy this file to and also to org/geotoolkit/referencing/factory/epsg but nothing changed. You need to transform pixel coordinates to geographic space using the GeoTransform matrix that is associated to your raster files. I was looking at the class ThreadedEpsgFactory ( ) and it seems that it tries to create a datasource reading a file EPSG-DataSource.properties, but I could not make it work. I can get the authority factory and prints its class, but I cannot set it: CRSAuthorityFactory f=.getAuthorityFactory(false) MathTransform mathTransform = .findMathTransform( This is a pice of code I use to convert: CoordinateReferenceSystem sourceCRS = ĬoordinateReferenceSystem targetCRS =

I would like to configure the library to read the codes from a database and not from the file epsg.properties (org/geotoolkit/referencing/factory/epsg). I am using geotk-bundle-referencing-3.1.2.jar to perform crs conversions.
