[OSM-dev] [OSM-talk] Highway tagging in general around the world

Brent Easton b.easton at exemail.com.au
Wed Aug 15 14:52:07 BST 2007


Hi Tom,


*********** REPLY SEPARATOR  ***********

On 15/08/2007 at 2:10 PM Tom Hughes  wrote:

>In message <200708152152450473.02B487A8 at smtp.nsw.exemail.com.au>
>        Brent Easton <b.easton at exemail.com.au> wrote:
>
>> On 15/08/2007 at 11:43 AM Tom Hughes  wrote:
>>
>> > I mean simply putting route numbers on the map in any form at all.
>> >
>> > Currently I believe mapnik is only doing it for motorways. Osmarender
>> > does it rather more widely.
>>
>> could you please point me to where Osmarender 'does this more widely'?
>> I can't see it
>
>Look at any A or B road in the UK and you will see the number
>rendered alongside the road at the end of each way - it isn't
>in a shield, but that's because UK maps aren't normally rendered
>with road number in shields. For example:
>
> 
>http://www.openstreetmap.org/?lat=51.76529491622359&lon=-0.016075984770263948&zoom=16&layers=0BT
>
>Has the A10, A1170, B180 (though it isn't really anymore) and B1179.Ok. I thought that was because Osmarender just blasts out anything in the ref= tag connected to any road as text?

Anyway, thanks for your help, I have my questions answered.

A couple of us are going to have a go at symbol based route number rendering for Australia, based on auto-recognition of country of origin (easy for Australia!). We will try and make it as generic as possible for reuse for other regions.

I am thinking the easiest way is going to be to build a symbol library of route symbols and then just build the text reference and drop it in. I am guessing this will be no problem for Mapnik.

I notice that the current Osmarender distribtion includes inline SVG to generate stuff. Is there any problem with using an external symbol library of route symbol backgrounds that would be distributed with Osmarender? 

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





More information about the dev mailing list