<HTML dir=ltr><HEAD><TITLE>[OSM-talk] tagging and rendering</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText12365 dir=ltr>
<DIV dir=ltr><FONT face="Times New Roman" color=#000000 size=3>Hi, </FONT></DIV>
<DIV dir=ltr>the last line of your messge looks like a triple parallelism. Just to be precise: we are tagging 'autopistas' and 'autovias' as motorways, 'carreteras nacionales' as trunks and main regional roads as primary (for example, the roads linking Catalan cities to the Pyrenees)... just in case you are mapping something in Spain :-P</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>It's funny to see you say 'carretera general', that's old-fashion language, often heard in the rural Spain.</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Cheers,</DIV>
<DIV dir=ltr>Lucas</DIV>
<DIV dir=ltr><FONT face="Times New Roman" color=#000000 size=3></FONT> </DIV></DIV>
<DIV id=idSignature95428 dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B> talk-bounces@openstreetmap.org en nombre de elvin ibbotson<BR><B>Enviado el:</B> vie 09/05/2008 11:27<BR><B>Para:</B> talk@openstreetmap.org<BR><B>Asunto:</B> [OSM-talk] tagging and rendering<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Much debate centres around the way features are tagged and how they <BR>are rendered (for example recent discussion of golf course tagging, <BR>the term 'highway', rendering power lines,...) and it seems that much <BR>of this is inextricably involved with the OSM data itself. I  <BR>wondered if it was time, while OSM is still relatively young and <BR>before it becomes too ossified and institutionalised, for the <BR>approach to be reviewed.<BR><BR>My own thoughts, for what they are worth, are that the data structure <BR>should be language/locale agnostic. For example, ways could have a <BR>numeric type field with, hypothetically, 10-19 being used for roads. <BR>In this scenario 11 might be a UK motorway, an Italian autostrada or <BR>an American interstate, while 19 might be a rough track (10 being <BR>reserved for some not-yet-invented super highway, after all some of <BR>us were here before motorways).<BR><BR>The editors used to input data (Potlatch, JOSM, whatever) would hide <BR>this structured data from the user and translate it to/from human <BR>language. One immediate advantage is that a German user could tag an <BR>autobahn rather than a motorway and global users would not have to <BR>use language clearly derived from the British motorway/trunk road/A/B <BR>(and little-known C) road classification system. Instead, local <BR>nomenclature would be mapped (no pun intended) to the underlying data <BR>structure by the local edition of the editor. Highways are an obvious <BR>example we are all familiar with, but the principle would apply to <BR>all feature types. Places of worship could be mapped as cathedrals, <BR>churches, chapels, etc in Britain or as mosques, temples, shrines, <BR>whatever in the east.<BR><BR>Rendering of the data is I think less tied up with the data itself, <BR>but again could be implemented differently by different map viewers. <BR>My paper road map of Ireland shows primary roads red in Ulster and <BR>green in Eire. Autbahns are green on my map of the Alps while <BR>autopistas are patriotically red and yellow on my Spanish map. Local <BR>or customisable viewers are possible with the current OSM but not, as <BR>far as I know, implemented yet, but the principle of separating the <BR>core data from the way it is described and depicted is, I believe, <BR>important.<BR><BR>Another aspect of the base data structure is that of level-of-detail <BR>(LoD) filtering. This is obviously done at present (villages and <BR>footpaths disappear as you zoom out) but is dictated by the people <BR>who code the viewers and is not, as far as I know, very well <BR>addressed in the API, so LoD filtering has to be done after data has <BR>been acquired, when it should be possible to specify LoD when <BR>requesting data. If LoD were considered in structuring the database <BR>it would be easy to filter data (eg. road types 10-13 only or for <BR>major ways of all types *0-*3). This is simpler for programming than <BR>clumsily using named tags (highway=motorway|trunk|primary) and would <BR>be invisible to users who might see autopista, autovia or carretera <BR>general.<BR><BR>elvin ibbotson<BR><BR>_______________________________________________<BR>talk mailing list<BR>talk@openstreetmap.org<BR><A href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</A><BR></FONT></P></DIV></BODY></HTML>