[OSM-dev] [Mapnik-users] Rendering places of worship

Jon Burgess jburgess777 at googlemail.com
Tue Dec 4 22:17:46 GMT 2007


On Tue, 2007-12-04 at 19:11 +0000, Artem Pavlenko wrote:
> On 4 Dec 2007, at 19:08, Martijn van Oosterhout wrote:
> 
> > On Dec 4, 2007 8:03 PM, Artem Pavlenko  
> > <artem.mapnik at googlemail.com> wrote:
> >> Yes, you're right, we can do better than just one church symbol.   
> >> Is there
> >> consensus on how different places of worship should be represented?
> >> Should we adopt osmrender approach for now?
> >
> > osmarender has four symbols at the moment
> > (religion=jewish|cristian|moslim|other), I think we can easily do
> > those.
> >
> Yep. I think we might need to modify osm2pgsql to process 'religion'  
> tag from the planet.
> > Have a nice day,
> > -- 
> > Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
> 
> 
> Artem

I've added religion into the list of exported tags in r5901 so it'll be
in the database after the import tomorrow. We can then update the
osm.xml afterwards to use it.

Index: output-pgsql.c
===================================================================
--- output-pgsql.c      (revision 5900)
+++ output-pgsql.c      (working copy)
@@ -72,6 +72,7 @@
     {"place",    "text", 0},
     {"railway",  "text", 0},
     {"ref",      "text", 0},
+    {"religion", "text", 0},
     {"residence","text", 0},
     {"route",    "text", 0},
     {"sport",    "text", 1},


Jon






More information about the dev mailing list