[Tilesathome] Street name problem

Brent Easton b.easton at exemail.com.au
Tue Oct 9 22:24:07 BST 2007


>Hello
>
>Missing Street names problem is caused by bug? in 
>osmarender6/osmarender.xls file.
>
>It looks like "choose" condition in line 1394 (in <!-- Generate a way 
>path for the current way element --> block) is never to come true:
>
><xsl:when 
>test="(key('nodeById',key('segmentById',seg[1]/@id)/@from)/@lon > 
>key('nodeById',key('segmentById', seg[last()]/@id)/@to)/@lon)">

Without looking any deeper, this code would seem to be problematic given that segments no longer exist?


>
>I don't know why.
>
>When I manually added <xsl:call-template name="generateWayPathReverse"/> 
>without any condition around line 1400 (just after closing of choose 
>directive) it works (I mean, that it render all streetnames and 
>generate in SVG file both normal and reverse ways).
>
>szdowk

____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: b.easton at uws.edu.au





More information about the Tilesathome mailing list