[OSM-talk] mapnik and openlayers?
Tom Hughes
tom at compton.nu
Wed Oct 22 16:22:58 BST 2008
Lukasz Szybalski wrote:
> ok so I kind of got this url working:
>
> http://www.openlayers.org/dev/examples/tms.html
>
> url:http://tile.openstreetmap.org/
> image:png
> layer_name: .. (two dots because 1.0.0 gets added to the url
> "http://tile.openstreetmap.org/1.0.0/...)
>
> I've been told that mapnik/openstreetmap.org uses "flipped TMS"
> instead of TMS and if you want to use TMS with openstreetmap.org you
> need to create a custom get url function...
>
> Is there a way to configure mapnik to use proper TMS?
Mapnik is just a rendering engine - where you put the tiles that it
generates and how your web server maps URLs to those tiles is nothing to
do with mapnik.
Our mapnik tile server uses mod_tile to server the mapnik generated
tiles, which uses the google style URL scheme, not a TMS URL scheme.
If you want to configure a web server to use a TMS URL scheme instead
then it is perfectly possible.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the talk
mailing list