[OSM-dev] Getting historical entries - now deleted

2019-10-11 Thread Jóhannes Birgir Jensson
Hello

I'm trying to figure out how to get historical entries of bus stops in Iceland 
but other than getting lots of old snapshots and parsing them I'm out of ideas.

Any optimal route to do this?

--Jóhannes / Stalfur
___
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-02 Thread Jóhannes Birgir Jensson
In the OAuth authentication you get the display name and ID of the OSM user, 
you can then use that OSM ID to mark the users contributions in your own db.
2. ágúst 2019 kl. 11:41, skrifaði "Nick Whitelegg" mailto:nick.whitel...@solent.ac.uk?to=%22Nick%20Whitelegg%22%20)>:
 In the light of this discussion, and to follow up my original email, one thing 
I would want to do is associate uploaded panoramas with user IDs, for which I 
would need the OSM user details API. I would need this to only allow a given 
user to rotate or move their own panoramas, and not other users'. I presume 
this would be acceptable (if mentioned on an appropriate privacy policy)?  I 
tried to play around with Mapillary to see how they handle OSM authentication 
but I'm not sure whether it's working correctly- as when I am returned to 
Mapillary after authentication with OSM, I get the error "User does not exist". 
 Nick  

  From: Colin Smale mailto:colin.sm...@xs4all.nl)>
Sent: 02 August 2019 10:15:45
To: dev@openstreetmap.org (mailto:dev@openstreetmap.org) mailto:dev@openstreetmap.org)>; Tigerfell mailto:tigerfell-...@tuta.io)>; Jóhannes Birgir Jensson mailto:j...@betra.is)>
Cc: dev Openstreetmap mailto:dev@openstreetmap.org)>
Subject: Re: [OSM-dev] Use of OSM API for non-editing third party applications
Now you are confusing authentication with authorisation.
On 2 August 2019 10:07:19 BST, Tigerfell mailto:tigerfell-...@tuta.io)> wrote:
  Not necessarily, the API calls user/details 
(https://wiki.openstreetmap.org/wiki/API_v0.6#Details_of_the_logged-in_user 
(https://wiki.openstreetmap.org/wiki/API_v0.6#Details_of_the_logged-in_user)) 
and user/preferences 
(https://wiki.openstreetmap.org/wiki/API_v0.6#Preferences_of_the_logged-in_user 
(https://wiki.openstreetmap.org/wiki/API_v0.6#Preferences_of_the_logged-in_user))
 are used by some services to provide login and user organisation.  Tigerfell  
Aug. 2, 2019, 2:14 a.m. by j...@betra.is (mailto:j...@betra.is):  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 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 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] Call for GSoC 2019 project ideas

2019-02-02 Thread Jóhannes Birgir Jensson
I've added two ideas, one relates to iD editor and that one would require a 
mentor other than myself.

2. febrúar 2019 kl. 16:41, skrifaði "Tobias Knerr" :

> Hi all,
> 
> I would like to invite the OSM community – and particularly developers
> of open source software from the OSM ecosystem – to add project ideas
> for Google Summer of Code 2019 to the wiki:
> 
> https://wiki.osm.org/wiki/Google_Summer_of_Code/2019/Project_ideas

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


[OSM-dev] Removing functionality and giving just No as answer

2017-02-24 Thread Jóhannes Birgir Jensson
As evident in the discussion on issue 
https://github.com/openstreetmap/openstreetmap-website/issues/1446 there 
are several people interested in maintaining functionality that existed 
only a few days ago - being able to view single tiles just as easily as 
before.


A patch was submitted which added the tile to the new context menu 
(which in itself is a fine addition but eliminated the functionality 
being discussed). See 
https://github.com/openstreetmap/openstreetmap-website/pull/1450


It was closed and rejected in a very abrupt and unconstructive manner.

The issue itself was also closed with accusation of brigading.

However what was most aberrant there was the assertion "If you want 
something to show tile status then fine. I might even agree to an option 
to get the tile URL or expire a tile (though the latter is perhaps 
unlikely) but it needs to be properly integrated, not just dumping the 
URL in another tab and letting the user fiddle with it."


As the issue is closed to non-collaborators I don't find any other place 
to bring this up than here. Every person who has put their name to the 
discussions, for and against, has done tremendous work for OpenStreetMap 
- that is never in doubt.


But removing functionality and then denying it to be re-added based on 
very little but personal objective is unhelpful and detrimental.


What should have been a great patch with addition of context menu is 
turning into an issue because of one very simple change and resistance 
to tweaking it.


Denigrating active mappers because they are "the 0.001%" of the user 
base is hardly a solid reason - nor is "what makes good UX for the 99% 
not what will make the 1% a little happier".


Did the default map suddenly become a commercial entity overnight which 
thinks of margins and market share? If so I'd like to see the result of 
the A/B testing that validated removing the functionality of viewing 
tiles directly.




--Jói / Stalfur

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


[OSM-dev] Querying for non-native characters in name field

2017-01-29 Thread Jóhannes Birgir Jensson
One side effect of Maps.me is the editing of name= field (this has been 
mostly fixed in the latest versions though, most entries now go into 
name:phone language).


I want to be able to do an overpass query for Iceland where name= field 
contains non-Icelandic characters. These could be for example Chinese, 
Cyrillic or even other European characters (such as âà for example). I'm 
guessing it could be difficult for the latin characters but hopeful it 
would be easier for non-latin alphabets.


Is there a magic formula for achieving this?

--Stalfur / Jói


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


Re: [OSM-dev] carto 0.16.0 released

2016-04-13 Thread Jóhannes Birgir Jensson

Þann 13.04.2016 07:25, Oleksiy Muzalyev reit:

A civil UAV pilot usually studies a map of the area, weather forecast,
satellite images, etc. while working on a flight plan. An icon of a
tower with its height on the map would be beneficial in my opinion.


Whilst I agree a tower icon might be nice (but I'm more thinking of 
rural Botswana where they are the only links to the outside world) a UAV 
pilot might want to check out 3D maps as well - where if the heights are 
marked in OSM this will be more obvious:


F4Map and Odessa tower: 
http://demo.f4map.com/#lat=46.4501075=30.7396214=17
OSMBuildings: 
http://osmbuildings.org/?lat=46.45011=30.73962=16.2=-10=45


Clearly any map catering to UAV needs might have to color the buildings 
by their height - not their role.


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


Re: [OSM-dev] Registering on osm.org with a social account

2015-11-12 Thread Jóhannes Birgir Jensson

To me this seems like a good step forwards.

The pre-filled display name could be the short name (if the API provides 
it) of the user, like in Facebook URLs (which you can pick) but 
highlight that they can change the name (and might have to).


If the API provides an approximate location (Littletown, Somecounty, 
Thatcountry) then we could even go a step further and use Nominatim for 
a lookup and set that up as their Home Location by default.


Þann 12.11.2015 13:58, Ilya Zverev reit:

Hi everyone,

We at maps.me (well, me alone for now) are looking into simplifying
OSM sign up process on mobile devices. As you know, the current
process, which involves opening a browser, then opening a mail app,
then opening a browser again, then returning to an app and entering
credentials once again, is quite disruptive. But since we already
support linking accounts to social login services (like Facebook and
MS Live), there are few things that could simplify registering users
on mobile. I wrote some thoughts on hackpad:

https://hackpad.com/Facebook-Registation-for-OSM.org-4MI6M5EeeRh

My point is to create a set of API methods that allow for user
registration without at any point leaving the app, but not removing
any steps from the registration process (except e-mail verification,
which is done by a third party). This would greatly increase number of
OSM editors, not only because web registration will take less clicks,
but from a great number of mobile users, who don't want to bother with
a website.

I can probably learn RoR and make these changes myself, but for now
I'd like to learn if the community is good with this proposal.

IZ
___
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] iD creates invalid (?) highway tags

2015-10-13 Thread Jóhannes Birgir Jensson
This can occur when a primary and a service road are joined. iD does not 
know which one it is and so it concatenates them. iD displays the road 
then as "Highway" with this combined type as key=value.


I imagine this could be fairly hard to combat, GUI wise you would need 
special handling for highway types as some key=value types do contain 
lists.


Þann 13.10.2015 08:03, GerdP reit:

Hi all,

I wonder why iD allows to create ways with e.g.
highway=primary;service
or similar combinations?
I think the highway tag (as well as e.g. surface, tracktyp)
are meaningless when they contain lists.

I understand that this can also be done using other editors,
but most of the cases that I checked showed  iD as the
used editor.

Gerd



--
View this message in context:
http://gis.19327.n5.nabble.com/iD-creates-invalid-highway-tags-tp5856854.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

___
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] iD creates invalid (?) highway tags

2015-10-13 Thread Jóhannes Birgir Jensson
Because it is used not just by beginners? I use iD for fly-by edits or 
exploratory wanderings. JOSM for the big bulk stuff (adding every single 
house in a big area)


Þann 13.10.2015 13:50, Gerd Petermann reit:


I just don't understand why iD offers a method to combine elements
when this is such a tricky thing. Why would a "beginner" need that?



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


Re: [OSM-dev] HTTPS support for osmchanges url

2015-04-07 Thread Jóhannes Birgir Jensson
I just tried editing using iD and I was prompted for a user/pwd for 
http://www.openstreetmap.org:80/


I hit cancel and my save seemed to work...


Þann 7.4.2015 12:27, skrifaði Grant Slater:

Hi Ramesh,

https:// has now been enabled on planet.openstreetmap.org.

https://git.openstreetmap.org/chef.git/commitdiff/5f2de3518b17b1fb18294649f6c238e289ca7835

Kind regards,
Grant


On 7 April 2015 at 08:26, J Ramesh Kumar rameshj1...@gmail.com wrote:

Hi,

Since the OSM updates diff support only http, I cannot update the OSM
database in my production environment due to security issue. It is
vulnerable to MITM(Man-In-The-Middle) attack. When I tried https url, it
redirects to http url.

https://planet.openstreetmap.org/replication/day/000/000/

Is there any specific reason for not having https support ?

It would be great, if we give support https. And also we may add md5check
sum details in the xx_state.txt files or a separate file.

I am ready to take this work and contribute it. Please guide me that where
can I start this work ?


Thanks,

Ramesh


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


___
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] Automated map of contributions

2015-01-15 Thread Jóhannes Birgir Jensson
For a few months I've made static maps by looking at changesets and 
putting down a marker on PNG roughly based on the centerpoint of 
changeset on a map. I've done this for Iceland and Botswana, both 
sparsely populated countries so the volume has been manageable.


4 examples here from Botswana: 
http://www.openstreetmap.org/user/Mapping%20Botswana/diary


Now the 1 year of edits video http://vimeo.com/83164362 is of course 
really inspiring.


My query is thus:

a) Does a tool exist which can create a static map of a single country 
for a given time period in the manner of the video (my PNG created by 
magic)
b) If not then what would be the vital components in creating one 
(comparing GeoFabrik dumps?).


--Jói
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Transifex OpenStreetMap Organisation

2014-09-18 Thread Jóhannes Birgir Jensson
I've tried several methods of translating OSM and non-OSM stuff for the 
past 2 decades and as a (non-professional) translator I've found 
Transifex to be, for me, the best solution to date.


Their app lets me translate shorter sentences while idling a few 
minutues somewhere while I reserve the larger texts for desktop time.


--Jói


Þann 18.9.2014 14:57, skrifaði Simon Poole:

The main advantage is likely that your project will get exposure to
translators that already know OSM lingo. I currently wouldn't recommend
moving existing projects to the new organisation at this point in time
except if you have a very small number of translators. There doesn't
seem to be an automatic way to move/copy translators together with a
project resulting in having to invite all translators back to the
project. Outside of that feel free to contact me if you would like to
move your project or create a new one.


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


Re: [OSM-dev] places of business listings

2014-06-18 Thread Jóhannes Birgir Jensson
YAPIS is something that can assist in it. I don't know the project well 
but it seems to extract POI from Foursquare and GeoCaching and something 
else.


Examples:
POI from Foursquare for Bonn 
http://yapis.geoclub.de/foursquare.php?lat=50.7358511lon=7.1006599
POI from Foursquare for Kópavogur 
http://yapis.geoclub.de/foursquare.php?lat=64.0886611lon=-21.826357252719


Users can use this info to add to the map using normal OSM editors, I 
just noticed a couple of these yesterday in Kópavogur.


Would like to know more about YAPIS though if anyone on the list can 
divulge more - could integrate it into a thing I'm working on regarding 
POI (not just place of business) and data quality in OSM.


--Jói

Þann 18.6.2014 18:12, skrifaði Sachin Dole:

Hello,

Is there any ongoing project or effort to add places of business to 
OSM? I am looking for free/open source data such as the type provided 
by dnb or yellow pages api. I wont be surprised if there is none, but 
was wondering if there is any work on this.


Thank you!
Sachin Dole
www.trelair.com http://www.trelair.com - this is still a work in 
progress startup



___
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] Displaying snapshots of BING imagery with current OSM data and an overlaying grid

2014-03-15 Thread Jóhannes Birgir Jensson

Pardon the lengthy topic but it details exactly what I am looking for.

I created the Mapping Botswana project and in order to get a fairly 
hesitant population to contribute I'm thinking of new ways of outreach.


A thread on Facebook (with me as Mapping Botswana) managed to get a 
local to point out several key amenities in the small town of Khawa in 
the Kgalagadi district, part of the Kalahari desert. Here is the thread 
in question: 
https://www.facebook.com/MappingBotswana/posts/10201577258421128?comment_id=63004294reply_comment_id=63011885offset=0total_comments=18notif_t=share_comment 
.


What I did was to screenshot from the iD editor the area, split into 4 
images with adequate zoom for details and then creating a grid using 
Paint.Net (decent enough image editor, freeware) before posting it. Now 
doing this by hand for all 700-ish locations in Botswana seems a fairly 
hard task so I'm wondering about ways to automate this somewhat. I have 
already created Trello-tasks for each of these locations, for example 
this is the Khawa one: https://trello.com/c/WGcTEDRQ


Why, you ask, don't you just point them to the very easy to use 
iD-editor! Because, I answer, it is an extra step most people are 
unwilling to do simply to just say yeah that is the clinic and that is 
the supermarket. Hopefully some users will go down this route but the 
majority probably will not.


So my intention is to create an interactive version of this, where I 
mark out a boundary box and then retrieve for it the Bing imagery 
alongside the OSM data, exactly like iD does currently. Overlay the 
image with a grid and then either allow someone (maybe using Facebook or 
Twitter login - not sure about that) to submit an observation.


For example click on E6 and then type this is the Mojhgawe Clinic or 
simply allowing them to add a point on the map and select from presets 
(school, shop, clinic, bar, petrol station, other) and add it to a queue 
that would then submit to OSM as a seperate MappingBotswana user or 
likewise, after manual glancing at it.


So the question is, what current tools do we have that can support this 
or even supplant it? Am I barking up a tree when I should be digging a 
hole? I'm looking at javascripts for creating a grid and suppose I can 
find how to do the bing+osm overlay in the iD code or someone can point 
to the exact spot.


Yours,
Jóhannes
https://wiki.openstreetmap.org/wiki/WikiProject_Botswana

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