Re: [OSM-talk] 3rd party API integration

2018-11-18 Thread Mateusz Konieczny
17. Nov 2018 17:01 by sebastian.kuer...@fu-berlin.de 
:


> I'm just looking for more examples to get an idea of what people are
> doing already to connect OSM with other services, especially via APIs.




I have a script that takes area and lists the most interesting tourism 
attractions,




with description and images from Wikipedia.




Nothing fancy as for 3rd party API integration - following wikipedia tag link 





is fairly obvious.

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] 3rd party API integration

2018-11-18 Thread Philip Barnes
On Sun, 2018-11-18 at 19:04 +, Andy Townsend wrote:
> On 18/11/2018 18:23, Sebastian Kürten wrote:
> > Interesting point. Do you have an example for something misspelled
> > that
> > returns interesting result on search engines?
> > 
> 
> No, because normally if I see something mispelt in OSM I'll fix it :)
> 
Although I am sure we all have identifiable things that we look at to
confirm we are looking at OSM.

For some reason nobody else has considered either my shed or greenhouse
worthy of mapping :)

Phil (trigpoint)


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] 3rd party API integration

2018-11-18 Thread Andy Townsend

On 18/11/2018 18:23, Sebastian Kürten wrote:

Interesting point. Do you have an example for something misspelled that
returns interesting result on search engines?



No, because normally if I see something mispelt in OSM I'll fix it :)

Best Regards,

Andy



___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] 3rd party API integration

2018-11-18 Thread Sebastian Kürten
On Sat, 17 Nov 2018 18:27:30 +
Andy Townsend  wrote:

> An easy way to find them is to search for something in OSM that has a
> spelling mistake and see what turns up in a Google search for that
> misspelling (in addition to the OSM object itself).

Interesting point. Do you have an example for something misspelled that
returns interesting result on search engines?

I guess such things are almost like OSM's version of copyright easter
eggs / trap streets.

Best,
Sebastian

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] 3rd party API integration

2018-11-17 Thread Oleksiy Muzalyev
I wrote a web-application which can display either Wikipedia articles of 
any language version, which have got geographical coordinates, or 
Wikidata items, which have got coordinates, or Wikimedia Commons 
categories with coordinates, or OSM objects which have got wikidata=, 
wikipedia=, wikimedia_commons=* tags around a location.


The web-application is available via the link:
http://ausleuchtung.ch/geo_wiki/

It is about twenty file lines of code. All heavy lifting is done by the 
Wikipedia, Wikidata, Wikimedia APIs, or in one word - MediaWiki API, and 
the Overpass API. Click on the map and the geo-markers with the 
corresponding links will appear on the map around the click. With 
Wikimedia API, i.e. with the Wikimedia Commons categories, it sometimes 
may work after a slight delay, as if the API is "asleep" to save energy, 
but as soon as one starts to use it, after about half a minute it works 
fine.


I am thinking of integrating also search of videos with coordinates 
around the click. However, I am not certain yet with videos.


I use this web-application for planning my surveys to see what is there 
at a certain place, which categories I may improve, what Wikidata items 
I may enrich being on the ground, etc.


Best regards,
Oleksiy

On 17.11.18 17:01, Sebastian Kürten wrote:

Hi John,

yes indeed such references are not visible on a rendered map, but that
is true for many kinds of information stored in OSM. As you point out
this is more interesting for other types of data consumers such as
mobile apps. Website links are a great example for linked content as
well. Now that I'm thinking about it, telephone numbers and Wikipedia
references are of a similar type that can be easily used by app users.
I'm just looking for more examples to get an idea of what people are
doing already to connect OSM with other services, especially via APIs.

Thanks,
Sebastian

On Sat, 17 Nov 2018 10:49:28 -0500
John Whelan  wrote:


How would you expect this work?  On a rendered tile I can't see a way
but on an offline version such as osmand you can already link to a
webpage.

Cheerio John

Sebastian Kürten wrote on 2018-11-17 10:28 AM:

Hi,

is anybody aware of 3rd party APIs that are integrated into the OSM
database? An example for what I mean would be a mapped car park
with an API link added as a tag that offers functionality such as
retrieving the number of available parking spots. Another example
would be uic_ref values on railway=station objects or ref:X values
on highway=bus_stop objects which also allow using 3rd party APIs
using these identifiers. Yet another example I already know about
are Wikidata identifiers that allow queries to the Wikidata Query
Service.

Thanks for any input on this,
Sebastian

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk




___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] 3rd party API integration

2018-11-17 Thread Andy Townsend
I'd imagine there are plenty of examplea that use OSM street name and place 
information to hang other data or queries off.

One example off the top of my head was an application that I was involved with 
a few years ago tracking police "stop and search" requests in London, but there 
are plenty of others.

An easy way to find them is to search for something in OSM that has a spelling 
mistake and see what turns up in a Google search for that misspelling (in 
addition to the OSM object itself).

Best regards,
Andy





  Original Message  



From: sebastian.kuer...@fu-berlin.de
Sent: 17 November 2018 15:31
To: talk@openstreetmap.org
Subject: [OSM-talk] 3rd party API integration


Hi,

is anybody aware of 3rd party APIs that are integrated into the OSM
 database? An example for what I mean would be a mapped car park with an
 API link added as a tag that offers functionality such as retrieving the
 number of available parking spots. Another example would be uic_ref
 values on railway=station objects or ref:X values on highway=bus_stop
 objects which also allow using 3rd party APIs using these identifiers.
 Yet another example I already know about are Wikidata identifiers that
 allow queries to the Wikidata Query Service.

Thanks for any input on this,
 Sebastian

___
 talk mailing list
 talk@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] 3rd party API integration

2018-11-17 Thread Sebastian Kürten
Hi John,

yes indeed such references are not visible on a rendered map, but that
is true for many kinds of information stored in OSM. As you point out
this is more interesting for other types of data consumers such as
mobile apps. Website links are a great example for linked content as
well. Now that I'm thinking about it, telephone numbers and Wikipedia
references are of a similar type that can be easily used by app users.
I'm just looking for more examples to get an idea of what people are
doing already to connect OSM with other services, especially via APIs.

Thanks,
Sebastian

On Sat, 17 Nov 2018 10:49:28 -0500
John Whelan  wrote:

> How would you expect this work?  On a rendered tile I can't see a way 
> but on an offline version such as osmand you can already link to a
> webpage.
> 
> Cheerio John
> 
> Sebastian Kürten wrote on 2018-11-17 10:28 AM:
> > Hi,
> >
> > is anybody aware of 3rd party APIs that are integrated into the OSM
> > database? An example for what I mean would be a mapped car park
> > with an API link added as a tag that offers functionality such as
> > retrieving the number of available parking spots. Another example
> > would be uic_ref values on railway=station objects or ref:X values
> > on highway=bus_stop objects which also allow using 3rd party APIs
> > using these identifiers. Yet another example I already know about
> > are Wikidata identifiers that allow queries to the Wikidata Query
> > Service.
> >
> > Thanks for any input on this,
> > Sebastian
> >
> > ___
> > talk mailing list
> > talk@openstreetmap.org
> > https://lists.openstreetmap.org/listinfo/talk  
> 

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] 3rd party API integration

2018-11-17 Thread John Whelan
How would you expect this work?  On a rendered tile I can't see a way 
but on an offline version such as osmand you can already link to a webpage.


Cheerio John

Sebastian Kürten wrote on 2018-11-17 10:28 AM:

Hi,

is anybody aware of 3rd party APIs that are integrated into the OSM
database? An example for what I mean would be a mapped car park with an
API link added as a tag that offers functionality such as retrieving the
number of available parking spots. Another example would be uic_ref
values on railway=station objects or ref:X values on highway=bus_stop
objects which also allow using 3rd party APIs using these identifiers.
Yet another example I already know about are Wikidata identifiers that
allow queries to the Wikidata Query Service.

Thanks for any input on this,
Sebastian

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


--
Sent from Postbox 

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] 3rd party API integration

2018-11-17 Thread Sebastian Kürten
Hi,

is anybody aware of 3rd party APIs that are integrated into the OSM
database? An example for what I mean would be a mapped car park with an
API link added as a tag that offers functionality such as retrieving the
number of available parking spots. Another example would be uic_ref
values on railway=station objects or ref:X values on highway=bus_stop
objects which also allow using 3rd party APIs using these identifiers.
Yet another example I already know about are Wikidata identifiers that
allow queries to the Wikidata Query Service.

Thanks for any input on this,
Sebastian

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk