اوپن سٹریٹ میپ لوگو OpenStreetMap

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

21 June 2011 کوں English وچ Mink دی طرفوں پوسٹ کیتا ڳیا.

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
ای میل آئیکان بلو سکائی دا آئیکن فیس بُک دا آئیکن لنکڈ اِن دا آئیکن میسٹوڈون دا آئیکن ٹیلی گرام دا آئیکن ایکس دا آئیکن

بحث مباحثہ

21 June 2011تے 17:53دے بارے Vclaw دی رائے

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.

کمنٹ کرݨ کیتے لاگ ان تھیوو