[OSM-dev] [GSoC] Data tile example site
Ander Pijoan
ander.pijoan at deusto.es
Mon Aug 20 09:09:21 BST 2012
Hi! I have a big question:
Imagine I download one of the tiles and keep it in my hard drive or in
a cache or send it to a client to open it in a program. The tiles
bounding box or X,Y,Zoom values are not in it so it won't be able to
know where to place that tile.
I know that when asking for the tile I have those X,Y and Zoom values
so I can calculate its position but if it is not written anywhere in
the tile. I made some tests with Kothic's tiles allocated at
Osmonimski.ru and those tiles at least have their bounding box and
also their X,Y and Zoom values explicit in them.
2012/8/17, Michael Daines <michael at mdaines.com>:
> Hi everyone,
>
> An example data tile server covering the British Isles is now online:
>
> http://data-tiles.mdaines.com/
>
> The library I have been working on is rendering tiles as a Tirex backend
> using OpenStreetMap data. The map is drawn using Kothic JS over top of image
> tiles rendered with Mapnik which show land polygons (basically the contents
> of the layer-shapefiles.xml.inc file in OSM's Mapnik stylesheet).
>
> Here is an example data tile:
>
> http://data-tiles.mdaines.com/render/16/32744/21792.js
>
> The data in the tileset is defined by this configuration file which uses a
> DSL that works sort of like CSS selectors:
>
> https://github.com/mdaines/cover/blob/master/config/render.rb
>
>
> -- Michael
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
--
Ander Pijoan Lamas
Ingeniero Técnico en Informática de Gestión
Universidad de Deusto
Contacto:
Email: ander.pijoan at deusto.es
Móvil: +34 664471228
More information about the dev
mailing list