[gdal-dev] Problem with readraster in C#

2009-11-29 Thread patsv
Hi, I am trying to read GDEM data from the ASTER dataset. But all I get is a buffer with zeroes, is there something wrong with my code or is it something with the readraster function. Part of my code: Band band = ds.GetRasterBand(1); short[] DEM = new short[band.XSize * band.Y

[gdal-dev] BSB borders

2009-07-28 Thread patsv
Hi, I am having some problems with finding information about the size of the map without the borders in the BSB dataset. Is this information available or should I use the GCP points. Regards Patrik Svensson ___ gdal-dev mailing list gdal-d

[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