Re: [OSM-dev] Using custom renderer with mod_tile
Skye Book skye.b...@gmail.com wrote: Thanks for the clear explanation.. That meshes well with what I understood from reading the wiki and cursory looks at source code http://wiki.openstreetmap.org/wiki/Tirex/Overview has a nice diagram about how the different modules communicate. It is possible to run different backends in parallel. Sven -- How to prevent Java from forking? Use a spoon. (Found on http://slashdot.org) /me is giggls@ircnet, http://sven.gegg.us/ on the Web ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Using custom renderer with mod_tile
Hi all, We're looking to setup mod_tile to serve arbitrary tiles (i.e: not OpenStreetMap). Is there a way to change out the use of Mapnik in favor of running another application/script/whatever to render the tile to disk? Thanks, -Skye ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Using custom renderer with mod_tile
Hi there, There's no need to swap out Mapnik - it's a general purpose renderer which can run on any kind of data. You might want to check out https://github.com/mapnik/mapnik/wiki/LearningMapnik for an intro of Mapnik it's styling language(s) Tom On Wed, Feb 29, 2012 at 2:14 PM, Skye Book skye.b...@gmail.com wrote: Hi all, We're looking to setup mod_tile to serve arbitrary tiles (i.e: not OpenStreetMap). Is there a way to change out the use of Mapnik in favor of running another application/script/whatever to render the tile to disk? Thanks, -Skye ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Using custom renderer with mod_tile
Hi Tom, Thanks for this, I only have a passing acquaintance with Mapnik.. didn't know it was flexible enough to do this sort of thing. Thanks for the quick response! -Skye On Feb 29, 2012, at 2:17 PM, Tom MacWright wrote: Hi there, There's no need to swap out Mapnik - it's a general purpose renderer which can run on any kind of data. You might want to check out https://github.com/mapnik/mapnik/wiki/LearningMapnik for an intro of Mapnik it's styling language(s) Tom On Wed, Feb 29, 2012 at 2:14 PM, Skye Book skye.b...@gmail.com wrote: Hi all, We're looking to setup mod_tile to serve arbitrary tiles (i.e: not OpenStreetMap). Is there a way to change out the use of Mapnik in favor of running another application/script/whatever to render the tile to disk? Thanks, -Skye ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev Skye Book (516) 816-4762 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Using custom renderer with mod_tile
Hi take a look at tirex, it's mod_tile's successor and it has a general interface to renderers (via UDP or Domain Sockets, afair). Peter Am 29.02.2012 20:14, schrieb Skye Book: Hi all, We're looking to setup mod_tile to serve arbitrary tiles (i.e: not OpenStreetMap). Is there a way to change out the use of Mapnik in favor of running another application/script/whatever to render the tile to disk? Thanks, -Skye ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Using custom renderer with mod_tile
Hi Peter, I was under the impression that Tirex sat behind mod_tile.. It's meant to replace it? On Feb 29, 2012 6:11 PM, Peter Körner osm-li...@mazdermind.de wrote: Hi take a look at tirex, it's mod_tile's successor and it has a general interface to renderers (via UDP or Domain Sockets, afair). Peter Am 29.02.2012 20:14, schrieb Skye Book: Hi all, We're looking to setup mod_tile to serve arbitrary tiles (i.e: not OpenStreetMap). Is there a way to change out the use of Mapnik in favor of running another application/script/whatever to render the tile to disk? Thanks, -Skye __**_ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.**org/listinfo/devhttp://lists.openstreetmap.org/listinfo/dev __**_ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.**org/listinfo/devhttp://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Using custom renderer with mod_tile
Skye Book wrote Hi Peter, I was under the impression that Tirex sat behind mod_tile.. It's meant to replace it? There is often a lot of confusion about the naming around mod_tile and what it is. mod_tile it self is an apache module that is responsible for serving tiles and deciding which tiles are out of date and need re-rendering. mod_tile however doesn't do any rendering itself and is thus agnostic to the underlying rendering. mod_tile talks to a rendering backend via a (tcp?) socket. Currently there are two different rendering backends, renderd and tirex. Renderd was the original rendering backend and its source directory lives in the mod_tile directory of the openstreetmap svn directory. Therefore mod_tile and renderd are often not properly distinguished. Renderd only supports mapnik as a renderer. Tirex is a replacement for renderd and works together with mod_tile. (Although there might also be a replacement component for mod_tile, I am not sure). Tirex is more flexible with respect to the actual renderer and it currently has plugins to render tiles via mapnik, mapserver or WMS. I am also currently working on a geojson vector renderer for tirex and it is relatively easy to extend it with further rendering plugins depending on your needs. tiles.osm.org however continues to use renderd for rendering. So in case you don't want to use mapnik for rendering, you are probably best off with the combination of mod_tile and tirex. Kai -- View this message in context: http://gis.19327.n5.nabble.com/Using-custom-renderer-with-mod-tile-tp5525843p5526495.html Sent from the Developer Discussion mailing list archive at Nabble.com. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Using custom renderer with mod_tile
Kai, Thanks for the clear explanation.. That meshes well with what I understood from reading the wiki and cursory looks at source code -Skye On Feb 29, 2012, at 7:50 PM, Kai Krueger wrote: Skye Book wrote Hi Peter, I was under the impression that Tirex sat behind mod_tile.. It's meant to replace it? There is often a lot of confusion about the naming around mod_tile and what it is. mod_tile it self is an apache module that is responsible for serving tiles and deciding which tiles are out of date and need re-rendering. mod_tile however doesn't do any rendering itself and is thus agnostic to the underlying rendering. mod_tile talks to a rendering backend via a (tcp?) socket. Currently there are two different rendering backends, renderd and tirex. Renderd was the original rendering backend and its source directory lives in the mod_tile directory of the openstreetmap svn directory. Therefore mod_tile and renderd are often not properly distinguished. Renderd only supports mapnik as a renderer. Tirex is a replacement for renderd and works together with mod_tile. (Although there might also be a replacement component for mod_tile, I am not sure). Tirex is more flexible with respect to the actual renderer and it currently has plugins to render tiles via mapnik, mapserver or WMS. I am also currently working on a geojson vector renderer for tirex and it is relatively easy to extend it with further rendering plugins depending on your needs. tiles.osm.org however continues to use renderd for rendering. So in case you don't want to use mapnik for rendering, you are probably best off with the combination of mod_tile and tirex. Kai -- View this message in context: http://gis.19327.n5.nabble.com/Using-custom-renderer-with-mod-tile-tp5525843p5526495.html Sent from the Developer Discussion mailing list archive at Nabble.com. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev