<html dir="ltr"><head></head><body bgcolor="#ffffff" text="#2e3436" link="#1b6acb" vlink="#2e3436" style="text-align:left; direction:ltr;"><div>Hello,</div><div><br></div><div>I think I need to provide an overview of tagtransform for you to understand what I want to achieve and to get the idea of bridging. An update of the repository with better explanation will follow. Some things changed and some users inspired me so I forgot to update the <a href="https://github.com/ValorNaram/transformation-table-osmtags/blob/master/README.md">README.md</a> accordingly.</div><div><br></div><div><a href="https://github.com/ValorNaram/transformation-table-osmtags">Tagtransform specification</a>: (<b>Need ideas to add to the specification, read <a href="https://github.com/ValorNaram/transformation-table-osmtags/blob/master/spec/README.md">here</a> the specification and <a href="https://github.com/ValorNaram/transformation-table-osmtags/blob/master/CONTRIBUTING.md">here</a> you get to know how to contribute</b>)</div><div>- The specification enables the convertion from one format to another by inventing a language that acts as a connection point. This is useful for offline usage of the rules in the format the app developer can better work with.</div><div>- Bridge between languages</div><div> - e.g. JOSM xml <--> tagtransform specification <--> iD json</div><div> - Data Item database <--> tagtransform specification <--> JOSM xml</div><div>- You can contribute to tagtransform</div><div> - by improving the specification</div><div> - by developing scripts that use the specification</div><div> - by developing converters that convert tagtransform specification to other formats like JSOM xml</div><div><br></div><div>Role of validators:</div><div>- Validators can take the data from Data Items to create validation rules</div><div>- and can also inspire the Data Item OSM Community by providing them with validation suggestions.</div><div><br></div><div>Role of editors:</div><div>- Editors can take the data from Data Items to automatically transform deprecated tags and to discard discardable tags.</div><div>- For offline usage they can fetch data from Data Items and can transform them to tagtransform specification.</div><div>- Recommend a specified POI tagging through presets or automatically transforming wrong used tags like deprecated ones to new ones.</div><div><br></div><div><a href="https://wiki.openstreetmap.org/wiki/Data_items#How_can_I_help.3F" style="text-decoration: underline;">OSM Data Item Community</a>: (<b>important because tagtransform will use data they create</b>)</div><div>- They have the necessary infrastructure to host key/tag data and they have already a bunch of these inclusive validation rules and usage rules.</div><div>- They're mappers and understand how keys/tags are used and can transfer that to meta sphere used by data customers, editors and validators.</div><div>- Go to the <a href="https://wiki.openstreetmap.org/wiki/Data_items">Data Item Wikipage</a> to get what it is all about and how to contribute to Data Items.</div><div><br></div><div>Bots/Scripts: (<b>Please do not work on unless we make the specification production-ready</b>)</div><div>- Can be used to query Data Item database for preprocessing data for later use like offline usage or data analysation at larger scale</div><div>- through converting received data to tagtransform specification.</div><div>- You can contribute to tagtransform by developing scripts that make use of the Data Item database of OSM Wiki by fetching them and converting them to tagtransform specification.</div><div><br></div><div>I hope this helps</div><div><br></div><div>Cheers</div><div><br></div><div>Sören Reinecke alias ValorNaram</div><div><br></div><div>-----Original Message-----</div><div><b>From</b>: Sören Reinecke via dev <<a href="mailto:%3d%3fISO-8859-1%3fQ%3fS%3dF6ren%3f%3d%20Reinecke%20via%20dev%20%3cdev@openstreetmap.org%3e">dev@openstreetmap.org</a>></div><div><b>Reply-To</b>: Sören Reinecke <<a href="mailto:%3d%3fISO-8859-1%3fQ%3fS%3dF6ren%3f%3d%20Reinecke%20%3ctilmanreinecke@yahoo.de%3e">tilmanreinecke@yahoo.de</a>></div><div><b>To</b>: <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a></div><div><b>Subject</b>: [OSM-dev] tagtransform for OSM - A effort make tagging and using OSM data easier; bridging different worlds together</div><div><b>Date</b>: Thu, 05 Dec 2019 15:50:04 +0100</div><div><br></div><!-- text/html --><div>Hey all,</div><div><br></div><div>I currently write a specification for tranforming tags in OpenStreetMap to make life of data customers easier. Different tagging schemes have emerged since the existence of OpenStreetMap, same are existing in parallel and a newer one deprecated an old one. Data customers without knowing the OSM community much get lost. This project aims to help developers who want to take advantage of the OpenStreetMap great database which is by the way a brilliant project. This project can also help to make tagging in OSM more orthogonal and more hassle free.</div><div><br></div><div>I saw conflicting interests between OSM community, OSM developers like the iD developers and data customers. A renderer might need data in another way as the community contributes. The community might need another tagging scheme than a renderer. I thought how we can resolve this, how we can get all sites on "one table" and that is the idea I had come up with:</div><div><br></div><div>A more readable version can be found here: <a href="https://github.com/ValorNaram/transformation-table-osmtags/blob/master/README.md">https://github.com/ValorNaram/transformation-table-osmtags/blob/master/README.md</a> and the principles can be found at <a href="https://github.com/ValorNaram/transformation-table-osmtags/blob/master/principles.md">https://github.com/ValorNaram/transformation-table-osmtags/blob/master/principles.md</a></div><div><br></div><div><br></div><hr align="left" size="2" noshade=""><div><br></div><div>Example 1: They want to have the phone number of a POI. There are some problems with this:</div><div><br></div><div> 1. They need to know both contact:phone and phone to get them all.</div><div> 2. They need to support them both.</div><div> 3. They need to remove one in case both keys are mapped on one POI. This really happens, see <a href="http://overpass-turbo.eu/s/OI2">http://overpass-turbo.eu/s/OI2</a>.</div><div><br></div><div>Example 2: They want to know how many POI's have changing tables (general: facilities for changing a nappy of a baby). There are some problems with this too:</div><div><br></div><div> 1. They need to know both changing_table and the deprecated diaper to get them all.</div><div> 2. They need to support them both. Difficult because they're highly different tagging schemes.</div><div> 3. They need to remove one in case both keys are mapped on one POI. This really happens, see <a href="http://overpass-turbo.eu/s/OI5">http://overpass-turbo.eu/s/OI5</a>.</div><div><br></div><div>Example 3: They want to develop a mapping tool and want to correct wrong typed in tags. There are some problems with that:</div><div><br></div><div> 1. They need to know all possible tagging schemes existing for one purpose (e.g. mapping facilities for changing the nappy of a baby).</div><div> 2. They need to know the right/approved/more logical scheme.</div><div> 3. They need to know how to convert:</div><div><br></div><div> diaper=yes</div><div> diaper:female=yes</div><div><br></div><div> becomes after the transformation:</div><div><br></div><div> changing_table=yes</div><div> changing_table:location=female_toilet</div><div><br></div><div><br></div><hr align="left" size="2" noshade=""><div><br></div><div>Basically it bridges the OSM community and developers together, it might even resolve the conflict between iD developers and the community.</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><meta http-equiv="content-type" content="text/html; charset=utf-8">The project bridges different worlds and is therefore a bridge. As bridge this project should not just connect different worlds together and by ensuring peace between those but also support exchange between those to develop a social economy of "send and receive" This project should support the "come together" of (OSM) developers and mappers.</div></blockquote><div><br></div><div><b>I want to hear your opinions on this and also feel not to shame to ask questions. My answers will be part of the clarification of the project "tagtransform for OSM".</b></div><div><br></div><div>Cheers</div><div><br></div><div>Sören Reinecke alias ValorNaram</div><div><br></div><div></div>
<pre>_______________________________________________</pre><pre>dev mailing list</pre><a href="mailto:dev@openstreetmap.org"><pre>dev@openstreetmap.org</pre></a><pre><br></pre><a href="https://lists.openstreetmap.org/listinfo/dev"><pre>https://lists.openstreetmap.org/listinfo/dev</pre></a><pre><br></pre></body></html>