OpenStreetMap 로고 OpenStreetMap

Help with R, G, B color values for OSM roads

Mink님이 English로 2011년 6월 21일에 게시함.

I have a question:

How would one find the R, G, B color values for the roads in OSM?

I'm currently trying to import the road shapefiles from CloudMade into my radar program, GR2Analyst, and I am having someone make a .sty file for me. He needs to know what colors I want the roads to show up as, and in order for him to make the roads as they would be in OSM, I need to know the exact values for them!

Thanks!!

위치: Brentwood Manor, Pekin, Tazewell County, Illinois, 61554, United States
이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2011년 6월 21일 17:53Vclaw님의 의견

Assuming you are referring to the default 'Mapnik' map on openstreetmap.org, then this is specifed in the osm.xml file. You can get this file here: http://svn.openstreetmap.org/applications/rendering/mapnik/osm.xml
Then look through it to find the colour codes for the tags for each road. They are given as hexadecimal values, but you can convert these to RGB if you want.

Alternatively, an easier option (if you are running Windows): get Pixie from http://www.nattyware.com/pixie.php and run it.
It will show what colour is under the cursor, so if you point your mouse at an OSM map it will give the colours for that.

댓글을 남기려면 로그인하세요