[gdal-dev] Gdal2tiles generated Openlayers.html

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Sun Apr 19 17:32:21 EDT 2009


Hi,

Problem was mostly in too old version of gdal2tiles.py I was using.  I made another try with MapTiler, and it created a working openlayers.html file.  There were differences at least in the bounds and projections.
It is a bit confusing that new FWTools version comes with gdal2tiles that does not work.

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
<jukka.rahkonen at mmmtike.fi> 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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
http://blog.klokan.cz/
http://www.maptiler.org/
http://www.oldmapsonline.org/



More information about the gdal-dev mailing list