[gdal-dev] trying to change regionator image resampling to nearest-neighbor

Mary Jo Brodzik brodzik at nsidc.org
Thu Nov 19 17:20:39 EST 2009



> I would suggest you try out gdal2tiles.py which does something similar
> to regionator but with many more options.
>
>  http://www.gdal.org/gdal2tiles.html
>

Frank recommended that I try gdal2tiles.  I (think) I now have a working 
version of it, and I've looked at the man page to find this usage:

gdal2tiles.py [-title "Title"] [-publishurl http://yourserver/dir/]
                      [-nogooglemaps] [-noopenlayers] [-nokml]
                      [-googlemapskey KEY] [-forcekml] [-v]
                      input_file [output_dir]

Unfortunately, the man page has no description of the expected format for 
input_file.  My input file is a .png image of an area of the Himalayas in 
a lat/lon projection.  I have corner points, of course, but they're not in 
the .png (as far as I know!) My question now is how do I go about telling 
gdal2tiles how to georeference my image?  I want to generate the kml 
superoverlay information, so isn't it going to need that to produce the 
superoverlay?

Thanks,
Mary Jo

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mary Jo Brodzik, Manager of Science Programmers, 303-492-8263
NSIDC/CIRES, Univ. of Colo. at Boulder, 449 UCB, Boulder, CO 80309-0449
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^



More information about the gdal-dev mailing list