Re: [gdal-dev] Generate a KML-overlay from a Geotiff file

2011-10-31 Thread Chaitanya kumar CH
Kat, Do you want your browser to load the whole image in your window as a single image? If so, you need to be running a WMS server. If not, please explain. On Mon, Oct 31, 2011 at 2:35 PM, katrin eggert katrineggert1...@gmail.comwrote: Hi THanks for the feedback I will try it right now. Just

Re: [gdal-dev] Generate a KML-overlay from a Geotiff file

2011-10-31 Thread katrin eggert
Hi I just did what you have told me and I got this error: usage: Usage: gdal2tiles.py [options] input_file(s) [output] gdal2tiles.py: error: Please convert this file to RGB/RGBA and run gdal2tiles on the result. From paletted file you can create RGBA file (temp.vrt) by: gdal_translate -of vrt

Re: [gdal-dev] Generate a KML-overlay from a Geotiff file

2011-10-31 Thread Chaitanya kumar CH
Kat, The method suggested by the message is the quick and clean method. After creating the temp.vrt file with gdal_translate, you can use it with the gdal2tiles script in place of the original tif. On Mon, Oct 31, 2011 at 7:29 PM, katrin eggert katrineggert1...@gmail.comwrote: Hi I just did

Re: [gdal-dev] Generate a KML-overlay from a Geotiff file

2011-10-28 Thread katrin eggert
Hi Gdalinfo reproject.tif Driver: GTiff/GeoTIFF Files: reprojected.tif Size is 3700, 3500 Coordinate System is: GEOGCS[WGS 84, DATUM[WGS_1984, SPHEROID[WGS 84,6378137,298.257223563, AUTHORITY[EPSG,7030]], AUTHORITY[EPSG,6326]], PRIMEM[Greenwich,0],

Re: [gdal-dev] Generate a KML-overlay from a Geotiff file

2011-10-28 Thread Chaitanya kumar CH
Kat, Your input image is of 32-bit float type. Whereas KML tiles are supposed to be png format that should be viewable on browsers. The corrupted pixels are a result of clipping the float valued pixels to the range [0,255]. I suggest scaling the pixel values to byte type using the -scale option

Re: [gdal-dev] Generate a KML-overlay from a Geotiff file

2011-10-25 Thread Chaitanya kumar CH
Kat, gdal2tiles.py script should help you. http://www.gdal.org/gdal2tiles.html On Mon, Oct 24, 2011 at 5:48 PM, katrin eggert katrineggert1...@gmail.comwrote: Greetings Is there any tool in GDAL to generate KML-overlay maps from a Geotiff file (with a single raster map)? Thanks Kat

[gdal-dev] Generate a KML-overlay from a Geotiff file

2011-10-24 Thread katrin eggert
Greetings Is there any tool in GDAL to generate KML-overlay maps from a Geotiff file (with a single raster map)? Thanks Kat ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev