Re: [gdal-dev] Maps with GCP in C#

2009-06-27 Thread Tamas Szekeres
Patrik, You could do something like: GCP[] GCPs = dataset.GetGCPs(); double[] adfGeoTransform= new double[6]; Gdal.GCPsToGeoTransform(GCPs, adfGeoTransform, 0); // apply the transformation dfGeoX = adfGeoTransform[0] + adfGeoTransform[1] * X + adfGeoTransform[2] * Y; dfGeoY = adfGeoTransform[3]

[gdal-dev] Maps with GCP in C#

2009-06-27 Thread patsv
Hi, all this is my first post to this list. I am fiddling with some gps data that I want to plot onto a .BSB chart. I think I have understood howto project the gps data to geo-coordinates with the spatialreference and transformpoints. And then it seems possible to translate from screen to geo-c