[OSM-talk-be] replace ref on stops De Lijn with mijnlijn.be/x0xxxx
Wim Crols
wim at crols.be
Wed Jan 30 12:38:09 UTC 2013
on the wiki page it says the following
https://wiki.openstreetmap.org/wiki/OpenLinkMap#Contribute
*Programming:* You created an interesting new feature or fixed a bug in the
existing code? Please send me your code and I will add it.
on second thoughts it would even be better that openlinkmap would support
this kind of url
url=http://mijnlijn.be/#{ref}
where it will replace a placeholder with the contents of a tag with the
name of the placeholder.
This is more versatile and could be used for other purposes too.
On Wed, Jan 30, 2013 at 11:26 AM, Jo <winfixit at gmail.com> wrote:
> I asked the admins of openlinkmap if this is even possible, but I'm still
> waiting for a reply, of course. I was planning to wait for their answer to
> react to Wim's suggestion.
>
> Jo
>
>
> 2013/1/30 Ben Abelshausen <ben.abelshausen at gmail.com>
>
>> I guess that would mean adapting openlinkmap specifically for mijnlijn.be.
>> Is that a good idea?
>>
>> Regards,
>>
>> Ben
>>
>>
>> On Wed, Jan 30, 2013 at 10:26 AM, Wim Crols <wim at crols.be> wrote:
>>
>>> I would suggest the following
>>>
>>> Leave ref tag as it is "ref=x0xxxx"
>>> Put in url tag the following "http://mijnlijn.be/"
>>>
>>> And make a software patch for openlinkmap to show the correct link on
>>> existence of the following tags
>>> highway = bus_stop
>>> operator = De Lijn
>>> ref = 303119
>>> url = http://mijnlijn.be/
>>>
>>> Regards
>>>
>>> Wim Crols
>>>
>>>
>>>
>>> On Wed, Jan 30, 2013 at 9:31 AM, Jo <winfixit at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Historically we have been putting the 6 digit serial number we found on
>>>> the stops of De Lijn into ref. I would like to propose to move them to:
>>>>
>>>> url=mijnlijn.be/x0xxxx
>>>>
>>>> That way they would be a lot more useful on sites like openlinkmap:
>>>>
>>>> http://www.openlinkmap.org/?zoom=18&lat=50.87952&lon=4.69273&layers=B
>>>>
>>>> The link translates to a webpage with realtime information of the buses
>>>> that serve the stop and it's very convenient to be able to click through on
>>>> them with a smartphone, a tablet or even from the desktop.
>>>>
>>>> To avoid redundancy I wouldn't keep the number in ref anymore. It's
>>>> quite specific to De Lijn, so somebody who wants to do something with those
>>>> serial numbers, can just as well extract them from the url.
>>>>
>>>> Jo
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Talk-be mailing list
>>>> Talk-be at openstreetmap.org
>>>> http://lists.openstreetmap.org/listinfo/talk-be
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Talk-be mailing list
>>> Talk-be at openstreetmap.org
>>> http://lists.openstreetmap.org/listinfo/talk-be
>>>
>>>
>>
>> _______________________________________________
>> Talk-be mailing list
>> Talk-be at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk-be
>>
>>
>
> _______________________________________________
> Talk-be mailing list
> Talk-be at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-be
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-be/attachments/20130130/f38f6f88/attachment.htm>
More information about the Talk-be
mailing list