Hi, I believe I could repeat the behaviour with a bit smaller image (the original was 27 gigabytes). Environment: - Windows Xp and Windows Vista - Gdal2tiles.py from FWTools 2.0.6 (Windows) (Note: gdal2tiles does not work for me with FWTools 2.2.8 and 2.3.0. I am getting just an error: gdal2tiles.py: error: This version of GDAL is not supported. Please upgrade to 1.6+. Those FWTools versions seem to contain gdal version 1.7dev) - Image: Plain tiff image with tfw file. Is is in epsg:2393 projection, but gdal does not know it. - Command: gdal2tiles c:\data\test.tif - Result: Directory with tile structure and files googlemap.html, openlayers.html and tilemapresource.xml. Double clicking googlemaps.htlm shows map controls and map in Firefox (version 3.0.8). Double clicking openlayers.html shows Openlayers controls, header line etc. but no map. I installed Firebug but I do not know yet what to read from it. Firefox itseld does not report any errors. I may be able to give you a link tomorrow. About googlemaps API key, i was able to add it to googlemaps.html afterwards and then I can access the tile presentation also through the net without problems.
Regards, -Jukka Rahkonen- Klokan Petr Pridal wrote: Hi Jukka, openlayers.html should run directly from the disk same as googlemaps.html is running... Did you specify Google Maps API key during generation of the code? Can you please send me command you used for generation of the tiles and if possible also a link to the presentation which is not running? Firebug always help with debugging... but as I know there are no problems with generated OpenLayers presentation. Best, Klokan On Thu, Apr 16, 2009 at 9:05 AM, Jukka Rahkonen <[email protected]> wrote: > Hi, > > I had a try with gdal2tiles and split an image with it. It worked fine, as > well > as the automatically created Googlemaps application. However, the also > automatically created OpenLayers.html does not show the tiles for me when > opened > with browser. Is it supposet to work in a similar way than the googlemaps.html > or should I be doing some extra steps, like reading the openlayers.html > through > web server and not directly from local file? > > -Jukka Rahkonen- > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- http://blog.klokan.cz/ http://www.maptiler.org/ http://www.oldmapsonline.org/ _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
