Re: [gdal-dev] elevation profile

2010-02-16 Thread Michele Sanges
resting article, I think that bilinear interpolation can be enough simple to implement. Regards. -- Michele Sanges ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] elevation profile

2010-02-11 Thread Michele Sanges
Hello all, opening a raster file with values of elevation (for example DEM or DTED files), is there a GDAL C++ API to get all the values of elevation between two places (elevation profile)? Thanks. Best regards. -- Michele Sanges ___ gdal-dev

[gdal-dev] data resampling at runtime

2008-11-04 Thread Michele Sanges
Is there a way to resampling at runtime (i.e., when the map is drawn) the data of a raster map from full resolution to an another fixed resolution without reopen the dataset (i.e. without using the rasterio method)? Thanks. ___ gdal-dev mailing list gdal-

Re: [gdal-dev] images with different resolution.

2008-09-19 Thread Michele Sanges
Hi, thanks for your replies. Suppose that in my application the region is empty, there are not maps loaded. The user opens a map with a its own resolution; now the region is the whole map. Then the user opens another map with resolution different from the previous one. In order to represent simu

[gdal-dev] images with different resolution.

2008-09-18 Thread Michele Sanges
Hello all, what is the best way to represent two raster images with different resolution? In other words, how do I calculate the offset respect to the upper left corner of the region that includes both the images? Is there a code example? Thanks. Michele Sanges