[OSM-dev] Potlatch 1

2020-08-04 Thread Andrew Hain
Sorry for an email that newer contributors don’t understand.

How much have Potlatch 1 and amf_controller been used recently?

How many of the uses were undeletes?

What is the recommended alternative when browser Flash isn’t available?

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


[OSM-dev] Google-free phones

2019-11-26 Thread Andrew Hain
How well do OSM apps work on Google-free Android phones?

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


[OSM-dev] OSM Route Manager

2018-09-09 Thread Andrew Hain
Is the OSM Route Manager still alive? The web interface doesn’t connect to the 
API any more and the bug reporting page can no longer be reached.

--
Andrew

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]
 Virus-free. 
www.avg.com
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Code review for Lua requested

2018-09-07 Thread Andrew Hain
I would like a second opinion on some Lua code I am writing for the OSM wiki.

The template {{langcode}} is called frequently within pages to detemine the 
language of pages from the name and is complicated. Calls with arguments have 
been added to several templates [ 
https://wiki.openstreetmap.org/w/index.php?title=Template:Available_languages&diff=1573804&oldid=1573466
 ]; the argument makes Mediawiki not cache the template and sometimes chokes 
the page renderer [ https://wiki.openstreetmap.org/wiki/Zh-hant:Map_Features ].

The pages https://wiki.openstreetmap.org/wiki/User:Wynndale/langcode and 
https://wiki.openstreetmap.org/wiki/Module:Sandbox/Wynndale are a streamlined 
version of this template. I could do with another pair of eyes.

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


[OSM-dev] Profiling the wiki

2018-08-20 Thread Andrew Hain
There are sometimes reports that the wiki takes a long time to respond. I am 
interested in finding out what is taking the time. In particular I would like 
to know if it is worthwhile to copy the Lua version of the {{LangSwitch}} 
template from Wikimedia Commons.

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


Re: [OSM-dev] [OSM-talk] anonymous notes spam?

2018-07-20 Thread Andrew Hain
Can we find out what software is being used to send these notes?

--
Andrew

From: Doug Hembry 
Sent: 20 July 2018 14:26:13
To: t...@openstreetmap.org
Subject: Re: [OSM-talk] anonymous notes spam?

Yes. In the San Francisco Bay Area. Single letters "f", "k", and "l".
Example:
https://www.openstreetmap.org/note/778721#map=15/37.5009/-122.3032&layers=N
BTW, is there a simple way to delete such note comments?

On 7/20/2018 2:32 AM, maning sambale wrote:
> I'm getting several single letter notes comments since yesterday.
> Example: https://www.openstreetmap.org/note/562375
> Are people noticing the same?
>

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


Re: [OSM-dev] [OSM-talk] Nominatim - censorship at github pages

2018-03-26 Thread Andrew Hain
The original message is archived at 
https://www.mail-archive.com/dev@openstreetmap.org/msg22022.html


--

Andrew



From: Andy Townsend 
Sent: 26 March 2018 12:19
To: dev@openstreetmap.org
Subject: Re: [OSM-dev] [OSM-talk] Nominatim - censorship at github pages

On 26/03/2018 11:43, cm-sani...@wp.pl wrote:
Hi,
Some time ago on this mailing list I expressed concern about the way Nominatim 
is being maintained.

...

> My opinion meet with hostility

I've re-read 
https://lists.openstreetmap.org/pipermail/dev/2017-February/029683.html and 
https://lists.openstreetmap.org/pipermail/dev/2017-February/029684.html and I 
still don't see "hostility" in there.  Your message, the original of which 
wasn't archived by the list because it didn't contain any plain text is visible 
as the "replied to" text of 
https://lists.openstreetmap.org/pipermail/dev/2017-February/029683.html .

Silly question - if you'd like to see different functionality in Nominatim why 
don't you just fork it?

I'm not involved with Nominatim at all (other than as an occasional user) but I 
can think of plenty of occasions in the past where I've hit similar problems to 
you and done exactly that, such as the "switch2osm" and "zoom" branches of 
https://github.com/SomeoneElseOSM/mod_tile .  Why was that not an option for 
you here?

(crossposting to "talk" removed again)

Best Regards,

Andy

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


Re: [OSM-dev] [OSM-talk] Unify Mapping and wiki accounts? -- WAS: Vote cheating?

2018-03-19 Thread Andrew Hain
You could say that every existing edit is by an “old” account and new ones 
going forwards are by main site accounts which occasionally have the same name. 
Perhaps you could link some of the old wiki accounts to the OSM user names 
where they are known to be the same person.


--

Andrew



From: Nicolás Alvarez 
Sent: 19 March 2018 04:51
To: osm-talk
Subject: Re: [OSM-talk] Unify Mapping and wiki accounts? -- WAS: Vote cheating?

El 18 mar. 2018, a la(s) 20:50, François Lacombe 
mailto:fl.infosrese...@gmail.com>> escribió:


2018-03-19 0:38 GMT+01:00 Michael Kugelmann 
mailto:michaelk_...@gmx.de>>:
Am 18.03.2018 um 20:45 schrieb Richard:
fundamental decission - maybe osm and osm-wiki accounts should be the same?
This had been independent in the very old history. And now you have conflicts 
=> will not work w/o huge effort...
There had been requests like this 5 years ago or so w/o success. Not because 
nobody wanted to implement but because it was not possible.

This is a great idea.

Can you sum up what are the technical issues which make it not possible please ?

Suppose user 'John' currently has a wiki account called 'JohnW'. That's 
currently possible, since the accounts are independent. What do you do if you 
unify the accounts? Does OSM user John get a new wiki account called John? What 
if that wiki account already exists? Or does he have to manually connect the 
OSM and Wiki accounts?

What if an OSM user called JohnW also exists (but never used the wiki yet), 
what wiki account do you create for him if the name JohnW is already taken on 
the wiki?

Users can rename OSM accounts. What happens if a user has accounts on both OSM 
and the wiki, with the same name, but changes his user name to "Javiersanp"? 
That name isn't taken in OSM, but it's taken in the wiki. Does the rename get 
rejected?

There are different OSM users "nicolas" and "Nicolas". Wiki usernames always 
have a uppercase first letter, so if accounts get unified, those two different 
OSM users can't get different wiki accounts. There is a similar problem with 
the wiki considering " " (space) and "_" (underscore) equivalent, while OSM 
doesn't.


I would love it if wiki accounts and OSM accounts were unified, but that would 
need to be done since the start. Now it seems too hard to do it; too many 
conflicts with existing accounts.

--
Nicolás
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] [OSM-talk] Unify Mapping and wiki accounts? -- WAS: Vote cheating?

2018-03-18 Thread Andrew Hain
Interesting idea. The wiki dates from before OAuth of course, even before the 
fiddle we implemented for trac and the forum. It must be just about the only 
internal communication space not using the main accounts.


--

Andrew



From: Richard 
Sent: 18 March 2018 19:45
To: James
Cc: OpenStreetMap talk mailing list
Subject: [OSM-talk] Unify Mapping and wiki accounts? -- WAS: Vote cheating?

On Fri, Mar 16, 2018 at 11:18:38AM +, James wrote:
> You could also argue the opposite way: Not everyone in OSM edits the wiki,
> thus probably doesnt have an account, thus to participate, they need to
> create an account to vote

fundamental decission - maybe osm and osm-wiki accounts should be the same?

I have recent reports from one mapper sending me messages through OSM messaging
that he had trouble setting up a wiki account and commenting on my talk page so
clearly there is some confusion about the accounts and by my estimate only a 
tiny
minority of mappers could ever have any use for separate mapping and wiki
accounts.

Richard

___
talk mailing list
t...@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk
talk Info Page - lists.openstreetmap.org Mailing 
Lists
lists.openstreetmap.org
To see the collection of prior postings to the list, visit the talk Archives. 
Using talk: To post a message to all the list members, send email to ...


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


Re: [OSM-dev] Moving tags in JOSM

2017-06-08 Thread Andrew Hain
Alternatively you can select both objects at the same time and change each 
differing tag to the one you want.

--
Andrew

From: Martin Koppenhoefer 
Sent: 08 June 2017 11:07:39
To: Bjoern Hassler
Cc: OSM-Dev Openstreetmap; josm-...@openstreetmap.org
Subject: Re: [OSM-dev] Moving tags in JOSM


2017-06-08 11:45 GMT+02:00 Bjoern Hassler 
mailto:bjohas...@gmail.com>>:
(2) Is there a way of copying/moving tags from a node or way to a relation?
Ideally something like "move tags to relation" -> "select tags to move" ->
"select relation to move to (if more than one)" -> move. I am sometimes
moving wikidata/wikipedia tags from nodes/ways to relations, and there
doesn't seem to be a simpler way than manually copying them one by one.


you can copy tags from a way to a relation by first selecting the way and copy 
it, then selecting the relation (e.g. by right clicking on the relation name in 
the tags window, or by selecting it from the relations window) and pasting tags 
(IIRR it's shift+ctrl+v), but it will overwrite values of existing keys. You 
can also paste tags in the relation editor (without needing to select the 
relation itself), first row of icons, "paste tags". Both methods will overwrite 
existing tags AFAIR.

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


Re: [OSM-dev] HTTPS links to OSM tile server

2017-03-05 Thread Andrew Hain
What should the wiki be using then? Is it part of the extension to display maps?

--
Andtew

From: Tom Hughes 
Sent: 05 March 2017 13:40:12
To: Wolfram Schneider; OSM developer list
Subject: Re: [OSM-dev] HTTPS links to OSM tile server

On 05/03/17 13:10, Wolfram Schneider wrote:

> Who is in charge of updating
> https://www.openstreetmap.org/openlayers/OpenStreetMap.js ? It seems
> that the file was last updated 3.5 years ago.

That copy of OpenLayers is maintained for legacy reasons (because lots
of sites stupidly loaded it from us) and the correct response to any
problem with it is to switch to using an upstream version...

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
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] Java, https and osm.org

2016-08-09 Thread Andrew Hain
Java 8u101 has arrived and I understand that it has the extra security 
infrastructure that the HTTPS certificate we have on standby for the osm.org 
domain needs for Java programs to access it as https://osm.org, other software 
already being able to use the certificate.


I appreciate that Oracle discourage updating Java by bundling Amazon crapware 
with the installer but does this mean we can go live with HTTPS on the osm.org 
domain now?


--

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


[OSM-dev] Unsigned 32 bit node numbers in applications

2016-02-08 Thread Andrew Hain
Just a quick reminder: is there anyone still using unsigned 32 bit 
node numbers? The database is approaching node 40.

--
Andrew


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


[OSM-dev] Master class in map style writing

2015-11-03 Thread Andrew Hain
Following the release of the new map style, would anyone who is familiar
with writing map style sheets for OSM-based rendering be willing to explain
the skill of doing so to people who are interested in creating their own
style but may not know where to start?

--
Andrew


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


[OSM-dev] Revised wiki languages bar, CSS and JS code review wanted

2015-06-06 Thread Andrew Hain
I have been rewriting the languages bar in the wiki and I would like some
feedback.

The motivations for the rewrite are:
The bar makes extensive use of the #ifexist parser function, which is
expensive in Mediawiki and limited in the number of times it can be called.
Most of the pages in
http://wiki.osm.org/wiki/Category:Pages_with_too_many_expensive_parser_function_calls
are at least exacerbated by the presence of a language bar.

To mitigate the issue above, minority languages are hardcoded into the
hidden lower box even when translations exist. Up to now, the only response
available for criticism of the banishment
[http://thread.gmane.org/gmane.comp.gis.openstreetmap/64130] has been to
adjust the choice of languages tested for display at the top.

The red links are hidden by a script that is only executed when the page has
loaded. This is a particular nuisance on mobile devices where it can take up
most of the screen.

The list of languages is spread over three locations with an intricate
syntax and different ways of entering them depending on the size of their
presence in OSM.

The new bar uses CSS to avoid the issues above, with a more detailed
explanation at http://wiki.osm.org/wiki/User:Wynndale/language_test .

But:

My CSS and web scripting skills are worthy of the Daily WTF and this is
still a proof of concept at this stage.

There are stray bars on each side of this page from the language bar markup.

The script to view red links assumes that the links are two levels below the
bar. Is it worth making it a show/hide toggle?

There is a style “padding : 2px;” in the CSS definition that was inherited
from the existing bar, which may be a problem on mobile devices.

For all I know, there are sites out there that have their own maybe better
solutions.

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


[OSM-dev] Chinese spam diaries, an analysis

2014-12-03 Thread Andrew Hain
A spammer is periodically posting messages in Chinese to the User Diaries.
These diaries follow a distinct pattern:

1. Reading machine translations, the messages advertise a variety of
products and services that are against the law. This may be to attract
people who would be reluctant to contact the authorities and admit what they
are looking for.

2. Diaries are posted in batches of considerable size (up to 20+), typically
differing only in having different names of cities and provinces in the
text. This would appear to be targeted at searches through search engines.

3. Diaries rarely contain links (occasional exceptions) so cannot be
targeted at search engine rankings for pages hosted away from OSM.

4. Numbers preceded with the letters QQ appear regularly; these may be
accounts with the Tencent QQ messaging service.

5. The spammer has come back repeatedly creating new accounts so it is
likely that that the operation is successful.

I have not followed any message account, keyword or link in any of the
spams. Among other issues I am wary about possible malware in scam pages.

--
Andrew


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


Re: [OSM-dev] Moving to stricter multipolygon parsing

2014-06-14 Thread Andrew Hain
Paul Norman  mac.com> writes:

> 251k of these have entirely consistent
> tags on outers,

How many of them only have one outer member?

--
Andrew


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


Re: [OSM-dev] Moving to stricter multipolygon parsing

2014-06-14 Thread Andrew Hain
Komяpa  komzpa.net> writes:

> 
> +1, spent a lot of time debugging issues when a tag from outer leaks
> into multipolygon itself.

How would you handle tags such as created_by that are automatically removed
by editors when ways are changed?

--
Andrew


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


[OSM-dev] Heartbleed

2014-04-10 Thread Andrew Hain
What if anything has been the effect of the Heartbleed bug on the OSM family
of websites and what do people need to do in response?

--
Andrew


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


[OSM-dev] Reversion tool for new users

2013-11-09 Thread Andrew Hain
Every so often a new user asks how to revert their editing mistake. It would
be useful if they could do this themselves, which we don’t have suitable
tools for. Frederik’s scripts aren’t aimed at new users and Potlatch 1 needs
the browser’s address bar to be fiddled with.

Perhaps we could offer them a tool for them to revert their own edits. This
doesn’t need a Potlatch-style deletion history API call because it it can
use trace through one user’s changesets to offer one to revert.

--
Andrew


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