Tom<br>I think you made your edits locally and have not yet uploaded them to the server. Until you upload, the .OSM file will contain both the old way (with an action='delete' attribute) and the new way.<br><br>What you are now seeing is both ways being rendered one on top of the other. So the street name is now show twice; Once correctly and once with the names in the wrong order.
<br><br>Upload your changes to the database, re-save the .OSM file locally and then try rendering again. It should come out OK.<br><br>Here are a couple of JOSM tips:<br><br>1) If you have a way that contains a segment that is pointing in the wrong direction you can flip the segment by selecting it using Alt+click and then Ctrl+Shift+R to flip it.
<br><br>2) If the segments are in the wrong order, rather than delete the way which means you have to re-enter all the attributes, you can remove all the segments from the way, except the first one, and then add all the rest of the segments in the correct order. Type W to go into Way mode, click on the way to select it, then click on each highlighted segment in turn to remove it from the way, until the only segment left is the one that you want be at the start of the way. Then add all the other segments again in the order that you want them.
<br><br>And a couple of Osmarender tips:<br>1) If a name is rendered upside down you can invert it by adding a tag to the way called name_direction with a value of -1. It's better to reverse the direction of the segments if you can, but if its a one-way street then you'll need to use the name_direction tag otherwise you'd be altering the traffic flow.
<br><br>2) If a street name is too large to fit on a road, you can override the font-size by adding a tag to the way called svg:font-size with a value like 0.5 (most streets are rendered with a font-size of 1, major roads with a font-size of
1.5). You can actually override many of the svg style attributes like this. For example: svg:fill=red could be used to colour a street name in red to highlight it for some purpose.<br><br><br>Etienne<br><br><br><div><span class="gmail_quote">
On 9/10/06, <b class="gmail_sendername">Tom Chance</b> <<a href="mailto:tom@acrewoods.net">tom@acrewoods.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ahoy,<br><br>On Sunday 10 September 2006 09:38, Etienne wrote:<br>> On 9/5/06, Tom Chance <<a href="mailto:tom@acrewoods.net">tom@acrewoods.net</a>> wrote:<br>> > With pub names it's not too much of a bother, but I've attached a
<br>> > screenshot<br>> > with a collection of errors and nitpicks that are really a huge hassle to<br>> > correct over a large map. I don't know what can be done about them, but I<br>> > thought I should flag them up:
<br>> ><br>> > * small bendy roads have completely hopeless labels<br>> > * labels on short roads get cut off<br>> > * neither the corner on Selva Court nor slight bends in Mount Pleasant<br>> > worked
<br>> > * the Mount Pleasant label starts at one end and finishes at the other?!<br>> > * the many residential abutters look a bit messy<br>> ><br>> > With the Mount Pleasant label, I've found a similar effect happening when
<br>> > I<br>> > edit pub names. Open an osmarender SVG and try editing a name, perhaps<br>> > hitting enter to make the label cascade vertically to fit better. Weird<br>> > things happen!<br>><br>
> For things to look right when rendered with Osmarender it requires that all<br>> segments in a way are ordered correctly and all pointing in the same<br>> direction. The order and direction of segments is used to define the path
<br>> along which the road labels are drawn.<br><br>In the new screenshot attached I deleted the 'Mount Pleasant' way, checked<br>that the segments are indeed all pointing in the same direction (they were),<br>recreated the way by clicking on the segments in order, put in the metadata,
<br>saved and osmarendered the area. You can see the result... now am I doing<br>something wrong, or is this a bug in osmarender?<br><br>The same applies to short roads and bendy roads, where the labels never fit in<br>properly and sometimes go a bit nuts. It's not, so far as I can see, a
<br>problem with the way the data is entered, but maybe I'm wrong?<br><br>Kind regards,<br>Tom<br><br>--<br>The task of critique is not to denounce the ideals, but to show their<br>transformation into ideologies, and to challenge the ideology in the
<br>name of the betrayed ideal (Fromm – Beyond The Chains Of Illusion)<br><br><br>_______________________________________________<br>talk mailing list<br><a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</a><br><br><br><br></blockquote></div><br>