Re: [OSM-dev] Use of OSM API for non-editing third party applications

2019-08-01 Thread Jóhannes Birgir Jensson
Hello Martin.

I'm afraid you are confusing two different things.

The relevant page for authentication is this one 
https://wiki.openstreetmap.org/wiki/OAuth 
(https://wiki.openstreetmap.org/wiki/OAuth)

This is a totally different thing from the editing API.

Cheers,
Jói

1. ágúst 2019 kl. 21:45, skrifaði "Martin Koppenhoefer" mailto:dieterdre...@gmail.com?to=%22Martin%20Koppenhoefer%22%20)>:
 sent from a phone  
On 1. Aug 2019, at 16:21, Jóhannes Birgir Jensson mailto:j...@betra.is)> wrote:
  I never read anything where it said that OSM-auth was only for editing. So I 
have worked on the assumption that the answer would be yes, you can piggyback. 
it’s written here: 
https://wiki.openstreetmap.org/wiki/API#Terms_of_use 
(https://wiki.openstreetmap.org/wiki/API#Terms_of_use) 
Cheers Martin
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Use of OSM API for non-editing third party applications

2019-08-01 Thread Martin Koppenhoefer


sent from a phone

> On 1. Aug 2019, at 16:21, Jóhannes Birgir Jensson  wrote:
> 
> I never read anything where it said that OSM-auth was only for editing. So I 
> have worked on the assumption that the answer would be yes, you can piggyback.


it’s written here:
https://wiki.openstreetmap.org/wiki/API#Terms_of_use


Cheers Martin ___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Use of OSM API for non-editing third party applications

2019-08-01 Thread Nick Whitelegg

OK, many thanks for that - good to know that there's prior precedent.


Thanks,

Nick



From: Jóhannes Birgir Jensson 
Sent: 01 August 2019 15:21:56
To: Nick Whitelegg ; dev Openstreetmap 

Subject: Re: [OSM-dev] Use of OSM API for non-editing third party applications

My data quantifier concept tool does use OSM authentication for logins and does 
not edit OSM data (http://osm.hlidskjalf.is/ ).

I never read anything where it said that OSM-auth was only for editing. So I 
have worked on the assumption that the answer would be yes, you can piggyback.

-- Jói / Stalfur



1. ágúst 2019 kl. 11:58, skrifaði "Nick Whitelegg" 
mailto:nick.whitel...@solent.ac.uk?to=%22Nick%20Whitelegg%22%20>>:

Hi,

I'm just asking something which was raised as an issue in my Gitlab repository 
for OpenTrailView (www.opentrailview.org; fully 
FOSS 360 panorama site which uses OSM ways to connect panoramas together).

The person who raised the issue requested that OSM logins be used on 
OpenTrailVIew rather than (as currently) its own login system. I suspect the 
reason is security-related as it allows users to use an existing trusted 
authentication system.

As OpenTrailView does not include provision for editing OSM data, I suspect the 
answer is no - but is it acceptable for third-party OSM-related sites which do 
not edit the data to 'piggyback' on OSM's authentication system like this?

Thanks,

Nick


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


Re: [OSM-dev] Use of OSM API for non-editing third party applications

2019-08-01 Thread Jóhannes Birgir Jensson
My data quantifier concept tool does use OSM authentication for logins and does 
not edit OSM data (http://osm.hlidskjalf.is/ (http://osm.hlidskjalf.is/) ).

I never read anything where it said that OSM-auth was only for editing. So I 
have worked on the assumption that the answer would be yes, you can piggyback.

-- Jói / Stalfur
1. ágúst 2019 kl. 11:58, skrifaði "Nick Whitelegg" mailto:nick.whitel...@solent.ac.uk?to=%22Nick%20Whitelegg%22%20)>:
Hi, 

I'm just asking something which was raised as an issue in my Gitlab 
repository for OpenTrailView (www.opentrailview.org 
(http://www.opentrailview.org); fully FOSS 360 panorama site which uses OSM 
ways to connect panoramas together). 

The person who raised the issue requested that OSM logins be used on 
OpenTrailVIew rather than (as currently) its own login system. I suspect the 
reason is security-related as it allows users to use an existing trusted 
authentication system. 

As OpenTrailView does not include provision for editing OSM data, I 
suspect the answer is no - but is it acceptable for third-party OSM-related 
sites which do not edit the data to 'piggyback' on OSM's authentication system 
like this? 

Thanks, 

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


Re: [OSM-dev] Use of OSM API for non-editing third party applications

2019-08-01 Thread Simon Poole

There is a large amount of precedent, for example mapillary, maproulette
and lots that I've forgotten. So the answer is likely that while the
website-devs are not in love with it, it is perfectly acceptable.


Simon


Am 01.08.2019 um 13:52 schrieb Nick Whitelegg:
>
> Hi,
>
>
> I'm just asking something which was raised as an issue in my Gitlab
> repository for OpenTrailView (www.opentrailview.org
> ; fully FOSS 360 panorama site which
> uses OSM ways to connect panoramas together).
>
>
> The person who raised the issue requested that OSM logins be used on
> OpenTrailVIew rather than (as currently) its own login system. I
> suspect the reason is security-related as it allows users to use an
> existing trusted authentication system.
>
>
> As OpenTrailView does not include provision for editing OSM data, I
> suspect the answer is no - but is it acceptable for third-party
> OSM-related sites which do not edit the data to 'piggyback' on OSM's
> authentication system like this?
>
>
> Thanks,
>
> Nick
>
>
>
> ___
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev


signature.asc
Description: OpenPGP digital signature
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Use of OSM API for non-editing third party applications

2019-08-01 Thread Nick Whitelegg
Hi,


I'm just asking something which was raised as an issue in my Gitlab repository 
for OpenTrailView (www.opentrailview.org; fully 
FOSS 360 panorama site which uses OSM ways to connect panoramas together).


The person who raised the issue requested that OSM logins be used on 
OpenTrailVIew rather than (as currently) its own login system. I suspect the 
reason is security-related as it allows users to use an existing trusted 
authentication system.


As OpenTrailView does not include provision for editing OSM data, I suspect the 
answer is no - but is it acceptable for third-party OSM-related sites which do 
not edit the data to 'piggyback' on OSM's authentication system like this?


Thanks,

Nick

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


Re: [OSM-dev] public transport stop_area relations: have you implemented for routing or another purpose?

2019-08-01 Thread Andrew Byrd
Hello,

I work on public transport journey planning software. We use OSM data heavily, 
but primarily for the parts of journeys outside public transportation: the 
first- or last-mile or transfer segments. In my experience we rarely use OSM 
data directly for the transit part of routing. We use data loaded from GTFS or 
Netex feeds, which are provided by the public transportation operators or 
regional authorities. Public transport entities or tags from OSM are generally 
used as a sanity check or backup source of information, for example to 
determine from which road it is easiest to reach a stop, when that stop is 
physically located halfway between two candidate roads.

These data sources do have a concept of stop hierarchies. GTFS groups stops 
into stations, and Netex allows more complex hierarchies. If data of this kind 
are imported into OSM, or if the data in OSM are expected to resemble the 
conceptual model used in exchanging public transport data, then I'd expect 
these groupings to be present. I can confirm that the groupings are meaningful 
and useful in routing applications, both when finding paths and when presenting 
those paths to the end user.

We mostly work in places where operators provide detailed data about their 
services. In places where there is no such official data, or where mappers have 
created a better data set than the official one, someone might want to route on 
the user-generated data in OpenStreetMap. The station groupings would be useful 
in that case. Even for purely visual (non-routing) map display, I can imagine 
the station groupings would assist in layout and labeling.

Regards,
Andrew



> On 1 Aug 2019, at 15:11, Joseph Eisenberg  wrote:
> 
> I'm trying to find out if the type=public_transport +
> public_transport=stop_area relation or *=stop_area_group relation is
> used by any developer or database user.
> 
> These relations are supposed to group together features like all the
> platforms in a bus station or train station. However, it seems like
> these relations may not be necessary or useful for routing
> applications.
> 
> Has anyone looked into them or know of any current use cases?
> 
> Joseph
> 
> ___
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev


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


Re: [OSM-dev] public transport stop_area relations: have you implemented for routing or another purpose?

2019-08-01 Thread Jo
First off, I'm not mapping stop_area relations very often, only in case of
ambiguity. A stop near to a side street, but the bus passes on the main
street, or in bus stations where everything is very near to the other
objects.

JOSM's PT_Assistant plugin uses them to figure out which stop_position +
way adjacent to a highway=bus_stop node, if they are available. Usually
it's possible to determine it geographically. It also only works if the
stop_area relation contains pairs of stop_position / bus_stop nodes. If
someone simply throws all stop_position nodes, bus_stop nodes and platform
ways into them for stops on both sides of a street, or all stops in a bus
station, they are useless for that purpose.

Since, at that level, I'm using them to pair stop objects, I also have a
hierarchy of stop_area relations in some places. (bus stations adjacent to
railway or metro stations). At some point I was using stop_area_group for
that, but JOSM doesn't recognise that.

I don't know of any external app that uses them.

Polyglot

On Thu, Aug 1, 2019 at 9:13 AM Joseph Eisenberg 
wrote:

> I'm trying to find out if the type=public_transport +
> public_transport=stop_area relation or *=stop_area_group relation is
> used by any developer or database user.
>
> These relations are supposed to group together features like all the
> platforms in a bus station or train station. However, it seems like
> these relations may not be necessary or useful for routing
> applications.
>
> Has anyone looked into them or know of any current use cases?
>
> Joseph
>
> ___
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
>
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] public transport stop_area relations: have you implemented for routing or another purpose?

2019-08-01 Thread Joseph Eisenberg
I'm trying to find out if the type=public_transport +
public_transport=stop_area relation or *=stop_area_group relation is
used by any developer or database user.

These relations are supposed to group together features like all the
platforms in a bus station or train station. However, it seems like
these relations may not be necessary or useful for routing
applications.

Has anyone looked into them or know of any current use cases?

Joseph

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