Schitterend !<div>Dankjewel Alexander en Sander.</div><div><br></div><div>Georges</div><div><br><br><div class="gmail_quote">2013/3/2 Jo <span dir="ltr"><<a href="mailto:winfixit@gmail.com" target="_blank">winfixit@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Alexander implemented Sander's suggestion on Openlinkmap.org:<br><br>Go to:<br><br><a href="http://www.openlinkmap.org/?zoom=18&lat=50.8819&lon=4.71503&layers=BFTTTTT" target="_blank">http://www.openlinkmap.org/?zoom=18&lat=50.8819&lon=4.71503&layers=BFTTTTT</a><br>
<br>Make sure the public transport layer is in view<br><br>Click on one of the stops.<br><br>Click on the link after timetables and get the passages of buses at that stop in real time.<br><br>This only works for stops where operator contains De Lijn and ref is (already) set to the six digit number found on all the stops.<br>
<br>Thanks to Alexander and Sander!<span class="HOEnZb"><font color="#888888"><br><br>Jo</font></span><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">2013/1/31 Sander Deryckere <span dir="ltr"><<a href="mailto:sanderd17@gmail.com" target="_blank">sanderd17@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div>2013/1/31 Jo <span dir="ltr"><<a href="mailto:winfixit@gmail.com" target="_blank">winfixit@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>I like that proposal, but I don't know how to implement it for openlinkmap. The developer is accepting patches, but he doesn't have time to code stuff himself anymore.<br></blockquote></div><div><br>That's a pity. <br>
</div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>My initial proposal had the advantage of instant gratification. It would work with the current tagging habits. It's true that it has the disadvantage of being dependent on the continued use of that url domain by De Lijn and it's more verbose than I would like.<br>
</blockquote></div><div><br>I agree with the advantage it has, but it creates other difficulties like maintainability of the database. It's like the "Don't tag for the renderer", only, a bit different.<br>
<br>
It's not because openlinkmap displays a certain tag, that we should tag everything this way.<br></div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>One small remark. The way I understand it we are moving to replacing highway=bus_stop with public_transport=platform. So it should work for that combination of tags as well.<br><br>And it should be enough that a node contains De Lijn. Some stops are shared with MIVB/STIB, TEC and VEOLIA.<span><font color="#888888"><br>
</font></span></blockquote></div><div><br>These are valid remarks, and show why the configuration file should be crowd sourced. A single developer can never come up with all these exceptions for all these different nations. <br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><font color="#888888">
<br>Jo</font></span><div><div><br></div></div></blockquote><div><br>I looked at the openlinkmap code, and it seems that he's filtering a lot of tags before the file gets imported in a database. The filtering also happens with a program that doesn't allow regex, only wildcards. So reading such a configuration file would be a hell of a job.<br>
<br>I think I found something better. We could use the osmosis tagtransform plugin (<a href="http://wiki.osm.org/Osmosis/TagTransform" target="_blank">http://wiki.osm.org/Osmosis/TagTransform</a>). Where we could use a configuration file to transform tags to an url:*= tag. Like the example from De Lijn could be as following: <a href="http://pastebin.com/4G4FPyEq" target="_blank">http://pastebin.com/4G4FPyEq</a> (currently writing to url:delijn, but we could also check for the existence of an url tag, and write to that if it's not present).<br>
<br>The disadvantages of this tool are that an url tag can only be created from a single other tag (as the discussion page on the wiki says), And a key needs to stay a key, and a value needs to stay a value.<br><br>Another drawback might be the installation of an extra plugin. It doesn't seem so easy as it should be (version conflicts etc). But it should be very straightforward to use the file afterwards, and to have this file crowd sourced. And, on the positive side, the osmosis team is looking into making this task part of the standard installation. In which case you won't have to install anything new at all.<br>
<br>Regards,<br>Sander<br></div></div>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org">Talk-be@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-be" target="_blank">http://lists.openstreetmap.org/listinfo/talk-be</a><br>
<br></blockquote></div><br></div>