Re: [gdal-dev] Using GDAL.Transformer from C#

2008-10-16 Thread Tamas Szekeres
Hi, Here is an example extracted from the gdalinfo.cs sample application (http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALInfo.cs) private static string GDALInfoGetPosition(Dataset ds, double x, double y) { double[] adfGeoTransform = new double[6]; double dfGeoX, d

[gdal-dev] Using GDAL.Transformer from C#

2008-10-16 Thread Reed Copsey, Jr.
I'm looking for the best approach to figuring out the specific projected coordinate of a raster read via the GDAL C# wrappers. If I open a dataset using Gdal.Open(...) which has projection information, what is the best way in C# to determine the actual coordinate of a specific pixel? For example,