[OSM-dev] rendering: mad ideas

Erik Johansson erjohan at gmail.com
Sat Mar 25 17:39:39 GMT 2006


On 3/25/06, Mikel Maron <mikel_maron at yahoo.com> wrote:
>
> Remember the subject of this thread is "mad ideas"!

Ok Mad idea; use tiles for everything. e.g. generate "static" osm XML
tiles, and when you want to update a tile you http PUT the new text
(or diff) on the server. This would speed up the api alot.  And you
would be able to use redirectors to load balance writes and reads
completely transparent

HTTP GET  http://openstreetmap.org/mapapi/59.3-17.9.osm
returns all nodes in that BBX, and the data associated with them

HTTP PUT http://openstreetmap.org/mapapi/59.3-17.9.osm
updates that that file.

You could use that same scheme for rendered tiles.
HTTP GET  http://openstreetmap.org/streetmap/59.3-17.9.jpg
returns an image of that tile.

....
same to put a new image as well..

--
/Erik




More information about the dev mailing list