> I did exactly what you suggested. And it did something good, because
> the error was gone. Unfortunately, other error messages appeared. When
> ...
> Can't load requested DLL: gdal_ECW_JP2ECW.dll
> Can't load requested DLL: gdal_SDE.dll
- you did not uninstall properly the old version of OSGeo4W (those DLL
stayed in C:\OSGeo4W\ - delete the whole tree before reinstalling)
- or you have chosen in the installation also packages 'gdal' and/or
'gdal-ecw' and 'gdal-sde**'.
Please, DO NOT CHOOSE any other packages then 'gdal-dev' during installation!
> This was my command:
> C:\Documents and Settings\Bas>gdal2tiles --zoom=10-15 f:
> \iA_WebTrends_2007_2_1600x1024.gif --webviewer=google --
> googlekey=ABQIAAAASI9R9ZRkeu9yk_CFPnSkhhTwM0brOpm-
> All5BF6PoaKBxRWWERRFgw7Rp2PHFzTB88qDSTGmizTkIg
I guess what you are trying to process is this file:
http://bigpicture.typepad.com/comments/files/iA_WebTrends_2007_2_1600x1024.gif
It is not a map, it is just an image, so you would like to have pan
and zoom web interface for standalone picture without georeference.
That means you need tiles in profile "raster", overlay for Google Maps
or Google Earth does not make sense in this case.
Command would be:
gdal2tiles -p raster iA_WebTrends_2007_2_1600x1024.gif
It will again tell you:
> 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 -expand rgba f:
> \iA_WebTrends_2007_2_1600x1024.gif temp.vrt
> then run:
> gdal2tiles temp.vrt
Please just do what gdal2tiles is telling you to do, run command:
gdal_translate -of vrt -expand rgba iA_WebTrends_2007_2_1600x1024.gif temp.vrt
and then what you wanted:
gdal2tiles -p raster temp.vrt
This middle step would not be necessary later on in the stable
version. I am embedding the -expand rgba functionality directly into
the application right now.
> Is it possible to give me a command and an image file that should
> have the expected outcome? For example google map tiles?
For geodata you can have a look at the www.maptiler.org website and
links like "Source file: USGS DRG maps" or "Source file:NOAA RNCs".
Command for Google Maps overlay is just "gdal2tiles file.tif".
In case you are not familiar with geographic data, terms like geodetic
datum, map projection etc., please give up the testing of
GDAL2Tiles/MapTiler pre-versions and wait till January for more stable
version with the installer and GUI...
Thank you for your cooperation in testing...
Klokan
> My installation was probably too extended. Just installing the gdal-
> dev package as extra was doing th trick. Perhaps that can be explained
> on the betatest page somewhere?
What exactly do you suggest to add to the betatest page?
I still don't know what steps you did before.. can you please describe
me what you did that you ran into troubles during installation?
> I tried creating tiles and it works like a charm.
Nice to hear that.
> Thanks so much, and I can't wait to play around with the GUI tool.
I can't wait to have it finished but unfortunately it is a lot of work.
Best regards
Klokan
>> What exactly do you suggest to add to the betatest page?
> To suggest to just install as default after choosing for advanced, and to
> check the gdal-dev package from the lib tree as well.
I updated http://help.maptiler.org/betatest/, I hope it is more correct now.
>> I still don't know what steps you did before.. can you please describe
>> me what you did that you ran into troubles during installation?
> I did a full installation at first. After your feedback I did a full
> installation again, but removing some packages from the lib tree. >"Can you
> please have a look that the "libjpeg" package is selected and the
> "libjpeg-ipp" is NOT SELECTED in the "Libs" tree?"
When you select only "gdal-dev" package during the installation on
your computer is the "libjpeg-ipp" selected as well automatically? Do
you have to manually deselect that one to finish correct installation
of gdal-dev?
Because if yes we have to repair that in OSGeo4W installer... On my
computers "libjpeg-ipp" is not selected by default so the only thing I
have to do is to choose "gdal-dev" only. Nothing more nothing less.
Klokan