[Gdal-dev] Extent of a set of tiles
Dear all, I have a set of tiles. I would like to know the polygon coordinates which describe the extent of this set of tiles. Is there a way to make this with GDAL? I saw the possibility to make a rectangular extent but here it is more a polygon (as the set of tiles doesn't represent necessary a rectangle) thanks Pascal -- View this message in context: http://n2.nabble.com/Extent-of-a-set-of-tiles-tp3684624p3684624.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[Gdal-dev] Problem resampling with gdal_warp
HEllo, I have a 45GB BIGTIFF file at 1m/pixel With gdal_warp I am trying to resample it to 2m/pixel. The process start but block at 0%. I have changed the lanczos resampling algo to cubic in order to go faster but the status, after more than 2 days of processing is still 0% and the output file is already at 46GB but no more progressing Any clue of what I am doing wrong or if the input file is too big? thanks Pascal -- View this message in context: http://n2.nabble.com/Problem-resampling-with-gdal_warp-tp2643694p2643694.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[Gdal-dev] Changing a color in palette
Hello I have a set of geotiff 8bits file. I would like to change 1 color of the palette: puting the color 255,255,255 in the index 123 instead of color 255,0,255. While not touching anything else. Is there a way to do this? because I have a big set of files and I did not find any tool which permit batch processing and keep the geo information. thanks for help -- View this message in context: http://n2.nabble.com/Changing-a-color-in-palette-tp2205904p2205904.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [Gdal-dev] Changing a color in palette
If I have to do a script in Python, I will do it! So yes please, I would like to see an example thanks Frank Warmerdam wrote: darrepac wrote: Hello I have a set of geotiff 8bits file. I would like to change 1 color of the palette: puting the color 255,255,255 in the index 123 instead of color 255,0,255. While not touching anything else. Is there a way to do this? because I have a big set of files and I did not find any tool which permit batch processing and keep the geo information. Darre, It should be quite practical to do this with a small python script, but, you may need to use the trunk version of GDAL to get this functionality. There was recently a bunch of work done to support more dynamic altering of tiff colormaps that you might require. I could provide a sample script to do this if you are interested. Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| Geospatial Programmer for Rent ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev -- View this message in context: http://n2.nabble.com/Changing-a-color-in-palette-tp2205904p2206046.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [Gdal-dev] Is Gdal2tiles working somewhere?
Hello Klokan Klokan Petr Přidal wrote: In case you would like to only add WMS map to the generated OpenLayers viewer with TMS tiles please check the OpenLayers project documentation and the example http://www.openlayers.org/dev/examples/spherical-mercator.html, which includes both TMS and WMS layer. The example HTML viewer generated by old GDAL2Tiles is using pixel based coordinates, but there is commented section with sample of projected coordinate specification in the code as well. Just play a bit with the JavaScript code... I will repair that in the new version of GDAL2Tiles... You get it! I would like to see the same example of Grand Canyon but with openlayers. I tried to play with the commented section of the generated openlayers html but without success so far. -- View this message in context: http://www.nabble.com/Is-Gdal2tiles-working-somewhere--tp20056950p20085245.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[Gdal-dev] Is Gdal2tiles working somewhere?
Hello, Little bit provoking subject because I really like Gdal2tiles but I do not see any way to get rid of the pixel viewer in openlayers and be able to combine a non-world raster map layer created by Gdal2tiles and an other classical WMS layer... I never saw any example of this working. Even example of Kolkan, like this nice one: http://www.maptiler.org/example-usgs-drg-grand-canyon-gtiff/ has been generated for Google Maps! Am I oblige to use Google Maps?? Or to use Microsoft Map Cruncher and to make the necessary code to make it work inside Openlayers? Shame no? thanks for any help or news about Gdal2tiles -- View this message in context: http://www.nabble.com/Is-Gdal2tiles-working-somewhere--tp20056950p20056950.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev