[OSM-talk] religion and places_of_worship
Frederik Ramm
frederik at remote.org
Fri Nov 2 22:40:29 GMT 2007
Hallo,
> I know this was brought up before, but it's quite embarassing. This, for
> example:
>
> http://informationfreeway.org/?lat=51.45897059702661&lon=-0.3747563319696479&user=marinheiro&zoom=17&layers=B000F000
>
> is the largest mosque in Hounslow. The Sikh Gurdwara is similarly topped
> with a cross.
I am very surprised. The Osmarender z17 stylesheet looks like this:
<?xml version="1.0"?>
<rule e="node" k="amenity" v="place_of_worship">
<rule e="node" k="denomination|religion" v="jewish">
<symbol href="#synagogue" width="2px" height="2px" transform="translate(-1,-1)"/>
</rule>
<else>
<rule e="node" k="denomination|religion" v="muslim">
<symbol href="#mosque" width="2px" height="2px" transform="translate(-1,-1)"/>
</rule>
<else>
<symbol href="#church" width="1px" height="2px" transform="translate(-0.5,-1)"/>
</else>
</else>
</rule>
So it should really render a mosque differently if tagged with
religion=muslim! As for the Sikh thingie, if anyone can come up with a
suitable SVG symbol and tells me which religion values exactly it
should apply to, I'm happy to fix that (anyone with an svn account can
do it, btw).
Just checked and I see that the mosque in question is tagged
"religion=moslem" which I don't recognize as a valid English name of
the religion but correct me if I'm wrong.
Maybe the Osmarender code should be changed to allow a wide range of
misspelled religion names, and in the end should not default to the
church symbol but something else.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00.09' E008°23.33'
More information about the talk
mailing list