[Talk-TW] Taiwan Highway Shields rendering

李昕迪 Lee, Sin-di mcdlee於gmail.com
日 4月 14 12:42:06 UTC 2013


Ex:

The segment  belongs to "Interstate 15" and "Interstate 90".

http://www.openstreetmap.org/browse/way/53720880


2013/4/14 李昕迪 Lee, Sin-di <mcdlee於gmail.com>

> http://wiki.openstreetmap.org/wiki/Custom_Highway_Shields
>
> This guideline suggests using "relation"
>
>
> 2013/4/12 Arne Goetje <arne.goetje於gmail.com>
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi Louis,
>>
>> On 04/12/2013 03:17 PM, Louis Liu wrote:
>> > How do you handle  the ref tags of provincial/national highway
>> > branches, like 1甲 and 1乙? "甲" should bellow "1" in the shield, but
>> > Mapnik just puts them in the same line when using the default
>> > settings. I have an ugly solution: Every branches have their own in
>> > style sheet and STATIC shield images. There only tens of provincial
>> > branches in Taiwan, so this method is possible. But this makes the
>> > style sheet file more difficult to maintenance.
>>
>> 1. Right now I just put them next to the highway number. I know that
>> they should be below the number, but I'm afraid it would be difficult
>> to distinguish on the map, since the font size must be considerably
>> smaller this way.
>> 2. I think your ugly solution would still be the best, if we want
>> this. Just split the filter rules into a separate file and include it
>> into osm.xml.
>>
>> > I started to fix some ref tag near Taichung and Kaohsiung. There
>> > are so many tags need to be fix.
>>
>> Yes, I know... :(
>>
>> > So I use the offline edit function of JOSM to massive modification
>> > in the following steps: 1. Install waydownloader plug-ins. 2.
>> > Download a small area that covers highway from server. 3. Use
>> > waydownloader to download connected highways. 4. Repeat step 3 to
>> > complete all way segments 5. Save the data as file. 6. Use your
>> > favorite editor to replace the tags. 7. Don't forget to add
>> > "action='modify'" to the way you've modified. 8. Open JOSM and open
>> > the file, then upload. The step 7 is important. Otherwise, JOSM
>> > won't know the way is modified ( and the changes won't be upload).
>> >
>> > But do you have any elegant solutions for these cases?
>>
>> I do it similar.
>>
>> Cheers
>> Arne
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.12 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iQIcBAEBAgAGBQJRZ7q/AAoJENiwmJtstTzsvXoP/1KU+C+28RoWjgR3rO2JuiRz
>> wt4+gYybLArBYkm1kvkt5FX6GJazSi6iruNKJB0PQo0LwZA22CpJlx+vfor3YpJd
>> QPKyculnN0FB8RJqXBo9jr+VBo/GHpMvUweZcxPpVCv/3dFEIJaHNdF0tQn6eccV
>> 5uaXpcH0vM+VS+pN5151FKXTVW2Ib7gVnmfd+dtxMiOmFMsh0kMS4WuPQfFX1Ifh
>> HktmZjIFCiGVOAdC8JzR40BM8Am/+yaTvR9c5m0PEA2rFTIF5RB7YTfP6jmZfb7E
>> B8SmnM85BYaAywBnd+Fla9nXMyeRznFUtJ+G1lhO+FcagpT9+FBcnQ4cW/qbffsq
>> B0c1wn9ogl8Te17g9fNaSP722CfJ/gnnqQpO9pXFY/glA1i1SC3QoDdeH6ZBA0Mt
>> EVd2TKsdJQQfSIWHBWfH8YRdVM/9moUYQimSM2K1vsrPAGZcvDeZDUqFwxicRDoX
>> hzDhd5jsEEVmHwjcaTOMIUuiamikM+M/VOOllBLUMqbv7qZRPwCVtCH+UfOvvaKk
>> wHdj+wD1dacYNwRz+Y2G944znLGK8NQAyoXiKY2r+Wlq/K8EGhu7r/7oxH0wULlp
>> rREK3byv5m4e2uA2F9HixB4vK/3IQbycc/uye0O7SLc0egE/V4L5bH3iZMvcrFR5
>> nZSOG48ZmqlybtnelP70
>> =rUzw
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> Talk-TW mailing list
>> Talk-TW於openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk-tw
>>
>
>
>
> --
> 李昕迪 Lee, Sin-di | http://www.mcdlee.tw
>



-- 
李昕迪 Lee, Sin-di | http://www.mcdlee.tw
-------------- 下一部份 --------------
抹去了一個 HTML 附加檔...
URL: <http://lists.openstreetmap.org/pipermail/talk-tw/attachments/20130414/96b8c02e/attachment-0001.html>


More information about the Talk-TW mailing list