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 wrote: > Hi > I just did what you have told me and

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, 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 wrote: > Hi > THanks for the feedback I will try it right now. > Just one question: Is it pos

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 i

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, Please provide the whole command you used and the output of gdalinfo on your input file. On Fri, Oct 28, 2011 at 4:34 PM, katrin eggert wrote: > Hi > I have used gdal2tile.py like this > python gdal2tile.py -k [input] [output] and the tiels that are generated > are nothing to do with the in

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

2011-10-28 Thread katrin eggert
Hi I have used gdal2tile.py like this python gdal2tile.py -k [input] [output] and the tiels that are generated are nothing to do with the input image. It has changed the image by almost plotting random values pixels. Is there any limitation regarding inpu timage (e.g. it must be integer or somethin

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 wrote: > 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