Hi Steve

Not sure why, but your post's got mixed up in another thread. You might 
want to repost so it doesn't get missed by others.

Steve Chilton wrote:
> Have submitted mapnik patches to SVN to render locks but unfortunately there 
> isn't a standard way of tagging that makes it easy to be comprehensive.
> I have dealt with what I think are the two most logical options, which are:
>  
> two nodes with waterway=lock_gate at either end of a way tagged 
> waterway=canal;lock=yes
>  
> and
>  
> single node with waterway=lock OR lock=yes (with lock-gates not mapped)
>  
> This seems to fit with http://wiki.openstreetmap.org/wiki/Key:lock
>  
> There are other variants in place (and I haven't look too hard).
> For instance at Tardebigge 
> http://www.openstreetmap.org/?lat=52.31229&lon=-2.03814&zoom=17&layers=0B00FTF
> there is  a variant to the east of Upper Gambolds bridge that has an extra 
> node for the lock which will throw the submitted rendering.

>  
> Does anyone want to try to help me to get a simplified schema that will cover 
> most options and allow sensible rendering?
> Yes, I know there are variants like lock pounds, and multiple locks whose top 
> gate is the bottom of the next, etc.
>  
>   

I'm looking to get into the nitty-gritty of OSM. I've some experience in 
lisp,vba & XML/XSL. Where would I start to get an understanding of what 
to do in mapnik?

> I could go round changing any instances I find that don't match the two 
> options above but would like any interested parties' thoughts first off.
>   

I'd go with the wiki page.

>  
> PS: deliberately not tried to render locks before because of inability to 
> render icons (eg a traditional lock arrow) at the angle of the way they are 
> on. So have used a round icon for the moment. Any thoughts on that welcome 
> too.
>   

Have you looked at how osmarender renders locks?

http://www.openstreetmap.org/?lat=51.37718&lon=-2.35149&zoom=17&layers=0B00FTF

>  
> Cheers
> STEVE
>
> _______________________________________________
> Talk-GB mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/talk-gb
>
>
>   


_______________________________________________
Talk-GB mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-gb

Reply via email to