Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-15 Thread Edward Betts
Andrew Hain  wrote:
> I still get internal errors in a few places, for instance Richmond upon 
> Thames.

It was failing because node 880543279 had been deleted by this recent changeset.

http://www.openstreetmap.org/changeset/37791280

I changed the code to skip objects that have been deleted.

Thanks for the report.
-- 
Edward.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-15 Thread Andrew Hain
I still get internal errors in a few places, for instance Richmond upon Thames.

--
Andrew
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-14 Thread Andy Mabbett
On 11 March 2016 at 23:46, Edward Betts  wrote:

Thank you again for your continued work on this. However...

> I think the next step is show the list of items to be tagged in human readable
> form with a form where mappers can sign their name or username and assert that
> they are local, then hit an upload button. The wikidata links will be uploaded
> to OSM with the mappers name in the changeset.

This is overkill, We're supposed to be discussing automated edits, not
manual edits using a new tool.

This approach will not scale.

-- 
Andy Mabbett
@pigsonthewing
http://pigsonthewing.org.uk

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-14 Thread Edward Betts
Sorry about that. Thanks for the bug report. I've fixed it.

Andrew Hain <andrewhain...@hotmail.co.uk> wrote:
> I’m getting internal server errors when I try to look at the previews.
> 
> --
> Andrew
> 
> 
> From: Edward Betts <edw...@4angle.com>
> Sent: 11 March 2016 15:46
> To: talk-gb@openstreetmap.org
> Subject: Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland
> 
> I've added a code to preview the XML of the changeset that adds wikidata tags
> to objects in a given area. You can find preview links on region, county and
> district pages, but only if there are less than 150 objects to annotate with a
> wikidata tag.
> 
> Examples:
> 
> Norwich
>  http://edwardbetts.com/osm-wikidata/gb-ie/district/Norwich
>  preview: http://edwardbetts.com/osm-wikidata/gb-ie/preview/8/Norwich
> 
> Swindon
>  http://edwardbetts.com/osm-wikidata/gb-ie/county/Swindon
>  preview: http://edwardbetts.com/osm-wikidata/gb-ie/preview/6/Swindon
> 
> Hackney
>  http://edwardbetts.com/osm-wikidata/gb-ie/preview/8/London_Borough_of_Hackney
> 
> Isle of Man
>  http://edwardbetts.com/osm-wikidata/gb-ie/region/Isle_of_Man
>  preview: http://edwardbetts.com/osm-wikidata/gb-ie/preview/2/Isle_of_Man
> 
> The preview page might be a little slow the first time, but the data is cached
> so future access will be fast.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-14 Thread Andrew Hain
I’m getting internal server errors when I try to look at the previews.

--
Andrew


From: Edward Betts <edw...@4angle.com>
Sent: 11 March 2016 15:46
To: talk-gb@openstreetmap.org
Subject: Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

I've added a code to preview the XML of the changeset that adds wikidata tags
to objects in a given area. You can find preview links on region, county and
district pages, but only if there are less than 150 objects to annotate with a
wikidata tag.

Examples:

Norwich
 http://edwardbetts.com/osm-wikidata/gb-ie/district/Norwich
 preview: http://edwardbetts.com/osm-wikidata/gb-ie/preview/8/Norwich

Swindon
 http://edwardbetts.com/osm-wikidata/gb-ie/county/Swindon
 preview: http://edwardbetts.com/osm-wikidata/gb-ie/preview/6/Swindon

Hackney
 http://edwardbetts.com/osm-wikidata/gb-ie/preview/8/London_Borough_of_Hackney

Isle of Man
 http://edwardbetts.com/osm-wikidata/gb-ie/region/Isle_of_Man
 preview: http://edwardbetts.com/osm-wikidata/gb-ie/preview/2/Isle_of_Man

The preview page might be a little slow the first time, but the data is cached
so future access will be fast.

I think the next step is show the list of items to be tagged in human readable
form with a form where mappers can sign their name or username and assert that
they are local, then hit an upload button. The wikidata links will be uploaded
to OSM with the mappers name in the changeset.

The tags on the changeset might look like:

comment=Add wikidata tags to objects in Norwich
district=Norwich
checked_by=Edward
assertion=Edward, a mapper local to Norwich, has checked these Wikidata 
links are correct

--
Edward.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Andrew Hain
Well done and congratulations. 

Building or land tags can go on multipolygons, in fact it manages cases more 
complicated than this one better. It does seem silly to have just one tag in a 
different place though.

--
Andrew 


From: Edward Betts <edw...@4angle.com>
Sent: 11 March 2016 10:03
To: impo...@openstreetmap.org; talk-gb@openstreetmap.org
Subject: Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

I've uploaded my first changeset - Places of worship in Birmingham.

https://www.openstreetmap.org/changeset/37766888

This is a modification to 10 ways and one relation.

The relation is a multipolygon representing Birmingham Oratory. The uploader
has put the wikidata tag on the relation, which looks wrong. The other tags for
the church are on the outer way. I will fix this before I do any more uploads.

--
Edward.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Edward Betts
Richard Fairhurst  wrote:
> Colin Smale wrote:
> > As we are not copying the content from Wikipedia/Wikidata, but just 
> > a reference
> 
> Unfortunately it's not quite that simple.
> 
> The matching is done by co-ordinates. The co-ordinates in Wikidata could be
> held to be information copyrighted by Google. Consequently you could argue
> that the matching - "the selection or the arrangement of the contents of the
> database", to use the language from the Database Directive - is itself a
> derivative of Google's map data.
> 
> To be clear, I'm not arguing one way or another - I've probably studied the
> related issues as much as anyone on this list and it's not obvious to me
> which way it would fall. But anything with the potential to affect such a
> large amount of OSM data in the UK needs a thorough legal review, lest we
> inadvertently encumber thousands of uses of OSM with Google IP.

The way I see it is like this. OSM uses the Open Database License (ODbL),
Wikipedia is Creative Commons Attribution-ShareAlike 3.0 (CC-BY-SA). Wikidata
is public domain or CC0. 

OSM uses European law which includes database rights. Wikimedia projects are
governed by US law which does not recognize database rights.

Under US law coordinates are facts, they can't be copyrighted. There is no
protection for coordinates under US law. Therefore Wikimedia has no problems
importing coordinates from Wikipedia into Wikidata.

Under European law individual coordinates aren't copyrightable, but a large
group of them can be considered to constitute a database and database rights
come into play.

Wikimedia does not assert database rights for Wikidata or Wikipedia.

According to taginfo there are 63,782 OSM objects with a wikidata tag.

See https://taginfo.openstreetmap.org/keys/wikidata

Nobody has any legal objection to adding Wikidata tags to OSM. We aren't
violating the database rights of Wikidata by including 60k+ links to Wikidata.

We assume that these wikidata tags have been added by hand.

The question is whether automating the process of adding wikidata tags to OSM
somehow causes a copyright or database right violation.

I'm specifically not copying any data at all from Wikidata to OSM. I'm not
copying the coordinates, labels or any properties from Wikidata. The only
thing I'm adding is a link. I think it is fine for the matching software to
consider the location of an item in Wikidata and OSM when deciding if they are
a match. This does not make OSM a derived work of Wikidata.

There is significant fuzziness in the matching for the location. The matching
algorithm consider Wikidata items and OSM objects within 1 kilometres of each
other when looking for a match.

I hope this answers the question about the legal ramifications of adding links
from OSM to Wikidata.

-- 
Edward.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Edward Betts
I've uploaded my first changeset - Places of worship in Birmingham.

https://www.openstreetmap.org/changeset/37766888

This is a modification to 10 ways and one relation.

The relation is a multipolygon representing Birmingham Oratory. The uploader
has put the wikidata tag on the relation, which looks wrong. The other tags for
the church are on the outer way. I will fix this before I do any more uploads.

-- 
Edward.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Richard Fairhurst
Colin Smale wrote:
> As we are not copying the content from Wikipedia/Wikidata, but just 
> a reference

Unfortunately it's not quite that simple.

The matching is done by co-ordinates. The co-ordinates in Wikidata could be
held to be information copyrighted by Google. Consequently you could argue
that the matching - "the selection or the arrangement of the contents of the
database", to use the language from the Database Directive - is itself a
derivative of Google's map data.

To be clear, I'm not arguing one way or another - I've probably studied the
related issues as much as anyone on this list and it's not obvious to me
which way it would fall. But anything with the potential to affect such a
large amount of OSM data in the UK needs a thorough legal review, lest we
inadvertently encumber thousands of uses of OSM with Google IP.

cheers
Richard



--
View this message in context: 
http://gis.19327.n5.nabble.com/OSM-with-Wikidata-now-covers-UK-and-Ireland-tp5869546p5869613.html
Sent from the Great Britain mailing list archive at Nabble.com.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Colin Smale
Richard, 

As we are not copying the content from Wikipedia/Wikidata, but just a
reference, it sounds analogous to the many discussions there have been
about hyperlinks to copyright-infringing content, i.e. the question of
whether the link itself constitutes a copyright infringement. The link
itself (such as the wikidata ID) is "owned" by wikidata/wikipedia
itself, I would suggest...irrespective of any potential claims on the
content of the linked data.

--colin 

On 2016-03-11 13:52, Richard Fairhurst wrote:

> Hi all,
> 
> Without wanting to be a rotten party-pooper, could I just raise the licence
> issues with this?
> 
> Wikidata co-ordinate information is chiefly sourced from Wikipedia, which
> claims to be CC-BY-SA licensed.
> 
> Wikipedia co-ordinate information is chiefly sourced from Google Maps[1 [1]].
> 
> Google expressly prohibits their map data being used "to create or augment
> your own mapping-related dataset (or that of a third party), including a
> mapping or navigation dataset"[2 [2]], which is what is proposed here. (There
> are other relevant prohibitions.)
> 
> Wikipedia has a much looser attitude than OSM to copyright on factual
> information for various well-rehearsed reasons. That's their call, but we
> cannot simply take Wikidata's assertion of CC0 on trust. Neither CC-BY-SA
> nor Google-owned compilations of factual data are compatible sources for
> ODbL+CT.
> 
> I am far from certain of the interplay of "substantial" and "insubstantial"
> in Database Directive and ODbL terms here, and to what extent rights subsist
> in data that has been compared but not directly copied. But it needs careful
> thought, ideally with references to case law, which it doesn't yet appear to
> have had.
> 
> cheers
> Richard
> 
> [1]
> https://en.wikipedia.org/wiki/Wikipedia:Obtaining_geographic_coordinates#Google_tools
> [2] https://developers.google.com/maps/terms
> 
> --
> View this message in context: 
> http://gis.19327.n5.nabble.com/OSM-with-Wikidata-now-covers-UK-and-Ireland-tp5869546p5869607.html
> Sent from the Great Britain mailing list archive at Nabble.com.
> 
> ___
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
 

Links:
--
[1]
https://en.wikipedia.org/wiki/Wikipedia:Obtaining_geographic_coordinates#Google_tools
[2] https://developers.google.com/maps/terms
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Andy Townsend

On 11/03/2016 12:40, Andy Mabbett wrote:

Tickets have also been raised


(to save anyone else looking it up)

https://github.com/openstreetmap/iD/issues/2680

https://josm.openstreetmap.de/ticket/11541

I don't see anything for P2.  I haven't looked for other editors.

Cheers,

Andy


___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Richard Fairhurst
Hi all,

Without wanting to be a rotten party-pooper, could I just raise the licence
issues with this?

Wikidata co-ordinate information is chiefly sourced from Wikipedia, which
claims to be CC-BY-SA licensed.

Wikipedia co-ordinate information is chiefly sourced from Google Maps[1].

Google expressly prohibits their map data being used "to create or augment
your own mapping-related dataset (or that of a third party), including a
mapping or navigation dataset"[2], which is what is proposed here. (There
are other relevant prohibitions.)

Wikipedia has a much looser attitude than OSM to copyright on factual
information for various well-rehearsed reasons. That's their call, but we
cannot simply take Wikidata's assertion of CC0 on trust. Neither CC-BY-SA
nor Google-owned compilations of factual data are compatible sources for
ODbL+CT.

I am far from certain of the interplay of "substantial" and "insubstantial"
in Database Directive and ODbL terms here, and to what extent rights subsist
in data that has been compared but not directly copied. But it needs careful
thought, ideally with references to case law, which it doesn't yet appear to
have had.

cheers
Richard

[1]
https://en.wikipedia.org/wiki/Wikipedia:Obtaining_geographic_coordinates#Google_tools
[2] https://developers.google.com/maps/terms




--
View this message in context: 
http://gis.19327.n5.nabble.com/OSM-with-Wikidata-now-covers-UK-and-Ireland-tp5869546p5869607.html
Sent from the Great Britain mailing list archive at Nabble.com.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Andy Mabbett
On 10 March 2016 at 20:53, Philip Barnes  wrote:

> What plans are there for maintenance of this data in future,  it is a move 
> away from human readable tags so errors will go unnoticed.

Various tickets have been opened, requesting that the authors of the
major editing tools make them display the labels from Wikidata, and/
or the titles of the equivalent Wikipedia articles. Since these labels
are multilingual, this should /increase/ accessibility for non-native
speakers.

> Mappers are very unlikely to add new wikidata tags in the way we add 
> Wikipedia.

Tickets have also been raised, asking that the addition of Wikipedia
tag also trigger the addition of a Wikidata ID.

Besides, editors seem happy to add a variety of other identifiers.

-- 
Andy Mabbett
@pigsonthewing
http://pigsonthewing.org.uk

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Edward Betts
Good question.

OSM editors and viewers could be changed to integrate more closely with
Wikidata. An OSM editor could suggest to the mapper a matching Wikidata item
to tag. We could have the editor automatically look up the label from the
Wikidata item in the preferred language of the person editing the map.

The map view on the main OSM website includes basic Wikipedia support, the
Wikipedia tags becomes links to Wikipedia. Support could be added for
Wikidata, this could include looking up the Wikidata label in the appropriate
language and links to Wikipedia. We can also show other information from
Wikidata like the name of the architect or a photograph.
-- 
Edward.

Philip Barnes  wrote:
> What plans are there for maintenance of this data in future,  it is a move
> away from human readable tags so errors will go unnoticed.
> 
> Mappers are very unlikely to add new wikidata tags in the way we add 
> Wikipedia. 
> 
> Phil (trigpoint) 

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Edward Betts
I've added admin_level=8 to the output. This is useful for selling matches
grouped by districts, London boroughs and metropolitan boroughs.

For example:

http://edwardbetts.com/osm-wikidata/gb-ie/region/Greater_London

-- 
Edward.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-11 Thread Gregory
I particularly want to echo Brian's advice to request permission from a
mapper in each county. Use the OSM wiki to find local mappers/groups for
that consultation.

A summary table would be helpful if it includes: county name, when the
mechanical edit was done, the status (done, refused, not yet consulted),
and the local representative's username).

Similar to the Naptan import.

>From a railway junction South of Newcastle,
Gregory.
On Mar 11, 2016 7:57 AM, "Colin Smale"  wrote:

> Thanks Edward, that has removed the uncertainty and looks much better know.
>
> //colin
>
>
>
>
> On 2016-03-11 08:48, Edward Betts wrote:
>
> I've updated the category names in the database to remove " by country"
> from
> the end.
>
> Edward Betts  wrote:
>
> The category names are from Wikipedia. I start with the "Airports by
> country"
> category and just grab the subcategories for United Kingdom and Ireland.
> In a
> previous version I had code to strip the ' by country' from the end. I'll
> try
> and restore it to reduce the confusion.
> --
> Edward.
>
> Colin Smale  wrote:
>
> Hi Edward,
>
> I took a look at the result pages and I noticed a small, but pervasive
> typo. All the listings of a category per county are actually titled per
> countRy on all the pages. For example on the Greater London page
> http://edwardbetts.com/osm-wikidata/gb-ie/region/Greater_London you see
> under the "categories" heading "Airports by country" instead of
> "Airports by county". From the content it is clear that you mean county.
>
>
> Only one letter, but a huge difference in meaning...
>
> Thanks
>
> Colin
>
>
> ___
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>
>
> ___
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>
>
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Colin Smale
Thanks Edward, that has removed the uncertainty and looks much better
know. 

//colin

On 2016-03-11 08:48, Edward Betts wrote:

> I've updated the category names in the database to remove " by country" from
> the end.
> 
> Edward Betts  wrote: The category names are from 
> Wikipedia. I start with the "Airports by country"
> category and just grab the subcategories for United Kingdom and Ireland. In a
> previous version I had code to strip the ' by country' from the end. I'll try
> and restore it to reduce the confusion.
> -- 
> Edward.
> 
> Colin Smale  wrote: Hi Edward, 
> 
> I took a look at the result pages and I noticed a small, but pervasive
> typo. All the listings of a category per county are actually titled per
> countRy on all the pages. For example on the Greater London page
> http://edwardbetts.com/osm-wikidata/gb-ie/region/Greater_London you see
> under the "categories" heading "Airports by country" instead of
> "Airports by county". From the content it is clear that you mean county.
> 
> Only one letter, but a huge difference in meaning... 
> 
> Thanks 
> 
> Colin

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb ___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Edward Betts
I've updated the category names in the database to remove " by country" from
the end.

Edward Betts  wrote:
> The category names are from Wikipedia. I start with the "Airports by country"
> category and just grab the subcategories for United Kingdom and Ireland. In a
> previous version I had code to strip the ' by country' from the end. I'll try
> and restore it to reduce the confusion.
> -- 
> Edward.
> 
> Colin Smale  wrote:
> > Hi Edward, 
> > 
> > I took a look at the result pages and I noticed a small, but pervasive
> > typo. All the listings of a category per county are actually titled per
> > countRy on all the pages. For example on the Greater London page
> > http://edwardbetts.com/osm-wikidata/gb-ie/region/Greater_London you see
> > under the "categories" heading "Airports by country" instead of
> > "Airports by county". From the content it is clear that you mean county.
> > 
> > 
> > Only one letter, but a huge difference in meaning... 
> > 
> > Thanks 
> > 
> > Colin

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Edward Betts
The category names are from Wikipedia. I start with the "Airports by country"
category and just grab the subcategories for United Kingdom and Ireland. In a
previous version I had code to strip the ' by country' from the end. I'll try
and restore it to reduce the confusion.
-- 
Edward.

Colin Smale  wrote:
> Hi Edward, 
> 
> I took a look at the result pages and I noticed a small, but pervasive
> typo. All the listings of a category per county are actually titled per
> countRy on all the pages. For example on the Greater London page
> http://edwardbetts.com/osm-wikidata/gb-ie/region/Greater_London you see
> under the "categories" heading "Airports by country" instead of
> "Airports by county". From the content it is clear that you mean county.
> 
> 
> Only one letter, but a huge difference in meaning... 
> 
> Thanks 
> 
> Colin

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Colin Smale
Hi Edward, 

I took a look at the result pages and I noticed a small, but pervasive
typo. All the listings of a category per county are actually titled per
countRy on all the pages. For example on the Greater London page
http://edwardbetts.com/osm-wikidata/gb-ie/region/Greater_London you see
under the "categories" heading "Airports by country" instead of
"Airports by county". From the content it is clear that you mean county.


Only one letter, but a huge difference in meaning... 

Thanks 

Colin

On 2016-03-10 18:57, Edward Betts wrote:

> I've extended my search for matches between OSM and Wikidata again. It now
> covers all of the UK and Ireland.
> 
> I used map data from http://download.geofabrik.de/europe/british-isles.html
> 
> The results are grouped by region or county as well as by category.
> 
> http://edwardbetts.com/osm-wikidata/gb-ie/
> 
> I'm going to figure out how to upload these matches to OSM. I've registered an
> account with the username Wikidata to use for the uploads.
> 
> There will be one changeset per county + category for any category with 10 or
> more matches in that county. Categories with less than 10 matches in the
> county will be combined into a single changeset.
> 
> OSM objects with an existing wikidata tag won't be changed.
 ___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Edward Betts
Now fixed: http://edwardbetts.com/osm-wikidata/gb-ie/region/Isle_of_Man

Thanks for the bug report.
-- 
Edward.

Colin Spiller  wrote:
> Isle of Man conspicuous by its absence
> Colin
> 
> Edward Betts  wrote:
> 
> >I've extended my search for matches between OSM and Wikidata again. It now
> >covers all of the UK and Ireland.
> >
> >I used map data from http://download.geofabrik.de/europe/british-isles.html
> >
> >The results are grouped by region or county as well as by category.
> >
> >http://edwardbetts.com/osm-wikidata/gb-ie/
> >
> >I'm going to figure out how to upload these matches to OSM. I've registered 
> >an
> >account with the username Wikidata to use for the uploads.
> >
> >There will be one changeset per county + category for any category with 10 or
> >more matches in that county. Categories with less than 10 matches in the
> >county will be combined into a single changeset.
> >
> >OSM objects with an existing wikidata tag won't be changed.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Philip Barnes


On Thu Mar 10 21:48:45 2016 GMT, Colin Spiller wrote:
> Isle of Man conspicuous by its absence
The Isle of Man is neither part of the UK or Ireland 

Phil (trigpoint)

> 
> Edward Betts  wrote:
> 
> >I've extended my search for matches between OSM and Wikidata again. It now
> >covers all of the UK and Ireland.
> >
> >I used map data from http://download.geofabrik.de/europe/british-isles.html
> >
> >The results are grouped by region or county as well as by category.
> >
> >http://edwardbetts.com/osm-wikidata/gb-ie/
> >
> >I'm going to figure out how to upload these matches to OSM. I've registered 
> >an
> >account with the username Wikidata to use for the uploads.
> >
> >There will be one changeset per county + category for any category with 10 or
> >more matches in that county. Categories with less than 10 matches in the
> >county will be combined into a single changeset.
> >
> >OSM objects with an existing wikidata tag won't be changed.
> >-- 
> >Edward.
> >
> >___
> >Talk-GB mailing list
> >Talk-GB@openstreetmap.org
> >https://lists.openstreetmap.org/listinfo/talk-gb
> ___
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>

-- 
Sent from my Jolla
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Edward Betts
The matching code is looking for castles to be tagged with one of:

historic=castle, building=castle, or tourism=attraction

'@ Bristol' is tagged as tourism=attraction.

hen my code is matching names it tries removing ' castle' from the end of
castle names. It also removes any symbols, so we end up with 'Bristol Castle'
matching '@ Bristol'

I will change the name matching so the @ symbol isn't removed.

Thanks for useful bug report.
-- 
Edward.

Neil Matthews  wrote:
> Had a look at Bristol -- seems fine...
> ...except:
> 
> Q4968836 — Bristol Castle — 2 matches found
> @ Bristol
> 
> Sometimes known as "At Bristol" -- a science-themed museum/attraction -- an
> odd match to a ruined castle?
> 
> Cheers,
> Neil

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Colin Spiller
Isle of Man conspicuous by its absence
Colin

Edward Betts  wrote:

>I've extended my search for matches between OSM and Wikidata again. It now
>covers all of the UK and Ireland.
>
>I used map data from http://download.geofabrik.de/europe/british-isles.html
>
>The results are grouped by region or county as well as by category.
>
>http://edwardbetts.com/osm-wikidata/gb-ie/
>
>I'm going to figure out how to upload these matches to OSM. I've registered an
>account with the username Wikidata to use for the uploads.
>
>There will be one changeset per county + category for any category with 10 or
>more matches in that county. Categories with less than 10 matches in the
>county will be combined into a single changeset.
>
>OSM objects with an existing wikidata tag won't be changed.
>-- 
>Edward.
>
>___
>Talk-GB mailing list
>Talk-GB@openstreetmap.org
>https://lists.openstreetmap.org/listinfo/talk-gb
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Richard Symonds
>
> "To fix in wikidata/wikipedia is there one place to edit it so that it
> propagates to wikidata and all the different language wikipedias? "


The best way is to update wikidata, and in good time it will propagate
across to the various Wikipedias once they're linked with Wikidata (not all
are fully linked yet, but they will be in time)

Richard Symonds
Wikimedia UK
0207 065 0992

Wikimedia UK is a Company Limited by Guarantee registered in England and
Wales, Registered No. 6741827. Registered Charity No.1144513. Registered
Office 4th Floor, Development House, 56-64 Leonard Street, London EC2A 4LT.
United Kingdom. Wikimedia UK is the UK chapter of a global Wikimedia
movement. The Wikimedia projects are run by the Wikimedia Foundation (who
operate Wikipedia, amongst other projects).

*Wikimedia UK is an independent non-profit charity with no legal control
over Wikipedia nor responsibility for its contents.*

On 10 March 2016 at 20:35, Ian Caldwell 
wrote:

> This analysis shows some errors in both wikidata/wikipedia and OSM, we
> should try and fix some of them.
>
> On error in particular is difference in location, in Worcestershire  they
> are 36 cases were the distance is 1 km or more. It quite a lot of cases
> this is an error in wikidata/wikipedia. To fix in wikidata/wikipedia is
> there one place to edit it so that it propagates to wikidata and all the
> different language wikipedias?
>
>
> Ian
>
> On 10 March 2016 at 17:57, Edward Betts  wrote:
>
>> I've extended my search for matches between OSM and Wikidata again. It now
>> covers all of the UK and Ireland.
>>
>> I used map data from
>> http://download.geofabrik.de/europe/british-isles.html
>>
>> The results are grouped by region or county as well as by category.
>>
>> http://edwardbetts.com/osm-wikidata/gb-ie/
>>
>> I'm going to figure out how to upload these matches to OSM. I've
>> registered an
>> account with the username Wikidata to use for the uploads.
>>
>> There will be one changeset per county + category for any category with
>> 10 or
>> more matches in that county. Categories with less than 10 matches in the
>> county will be combined into a single changeset.
>>
>> OSM objects with an existing wikidata tag won't be changed.
>> --
>> Edward.
>>
>> ___
>> Talk-GB mailing list
>> Talk-GB@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk-gb
>>
>
>
> ___
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>
>
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Philip Barnes
What plans are there for maintenance of this data in future,  it is a move away 
from human readable tags so errors will go unnoticed.

Mappers are very unlikely to add new wikidata tags in the way we add Wikipedia. 

Phil (trigpoint) 

On Thu Mar 10 20:00:17 2016 GMT, Edward Betts wrote:
> Dave F  wrote:
> > I haven't been paying full attention to this. Are we not meant to add a
> > wikipedia tag any more?
> > 
> > Could you give a brief update on the proposal please.
> 
> Here are the relevant pages on the wiki:
> 
> http://wiki.openstreetmap.org/wiki/Wikidata
> 
> http://wiki.openstreetmap.org/wiki/Mechanical_Edits/wikidata
> 
> -- 
> Edward.
> 
> ___
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>

-- 
Sent from my Jolla
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread SK53
I'm not sure about that. Very recently I noticed the Architectural
Association on Bedford Square was missing (interest is that it has a
bookshop). I was able to locate it using OOC OSGB maps (particularly the
late Victorian town plan & the post-war 1:1250 maps of London), which also
had house numbers on.

All well & good until looking at the image on Wikipedia I realised it
showed the S side of Bedford Square, not the W side. This same error was
present in IIRC 12 language versions and Wikidata. I corrected one or two,
but for the rest merely noted that the image was incorrect. I certainly
could see no simple way to correct all at once.

Jerry

On 10 March 2016 at 20:35, Ian Caldwell 
wrote:

> This analysis shows some errors in both wikidata/wikipedia and OSM, we
> should try and fix some of them.
>
> On error in particular is difference in location, in Worcestershire  they
> are 36 cases were the distance is 1 km or more. It quite a lot of cases
> this is an error in wikidata/wikipedia. To fix in wikidata/wikipedia is
> there one place to edit it so that it propagates to wikidata and all the
> different language wikipedias?
>
>
> Ian
>
> On 10 March 2016 at 17:57, Edward Betts  wrote:
>
>> I've extended my search for matches between OSM and Wikidata again. It now
>> covers all of the UK and Ireland.
>>
>> I used map data from
>> http://download.geofabrik.de/europe/british-isles.html
>>
>> The results are grouped by region or county as well as by category.
>>
>> http://edwardbetts.com/osm-wikidata/gb-ie/
>>
>> I'm going to figure out how to upload these matches to OSM. I've
>> registered an
>> account with the username Wikidata to use for the uploads.
>>
>> There will be one changeset per county + category for any category with
>> 10 or
>> more matches in that county. Categories with less than 10 matches in the
>> county will be combined into a single changeset.
>>
>> OSM objects with an existing wikidata tag won't be changed.
>> --
>> Edward.
>>
>> ___
>> Talk-GB mailing list
>> Talk-GB@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk-gb
>>
>
>
> ___
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>
>
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Ian Caldwell
This analysis shows some errors in both wikidata/wikipedia and OSM, we
should try and fix some of them.

On error in particular is difference in location, in Worcestershire  they
are 36 cases were the distance is 1 km or more. It quite a lot of cases
this is an error in wikidata/wikipedia. To fix in wikidata/wikipedia is
there one place to edit it so that it propagates to wikidata and all the
different language wikipedias?


Ian

On 10 March 2016 at 17:57, Edward Betts  wrote:

> I've extended my search for matches between OSM and Wikidata again. It now
> covers all of the UK and Ireland.
>
> I used map data from
> http://download.geofabrik.de/europe/british-isles.html
>
> The results are grouped by region or county as well as by category.
>
> http://edwardbetts.com/osm-wikidata/gb-ie/
>
> I'm going to figure out how to upload these matches to OSM. I've
> registered an
> account with the username Wikidata to use for the uploads.
>
> There will be one changeset per county + category for any category with 10
> or
> more matches in that county. Categories with less than 10 matches in the
> county will be combined into a single changeset.
>
> OSM objects with an existing wikidata tag won't be changed.
> --
> Edward.
>
> ___
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Brian Prangle
Hi Edward

I would import only after an invitation by a mapper or mappers in the
relevant county, and only after they've checked where your data has more
than one match and indicated which of the multiple matches is the
appropriate one

A wiki table showing the progress of each county would  be useful.

Regards

Brian

On 10 March 2016 at 17:57, Edward Betts  wrote:

> I've extended my search for matches between OSM and Wikidata again. It now
> covers all of the UK and Ireland.
>
> I used map data from
> http://download.geofabrik.de/europe/british-isles.html
>
> The results are grouped by region or county as well as by category.
>
> http://edwardbetts.com/osm-wikidata/gb-ie/
>
> I'm going to figure out how to upload these matches to OSM. I've
> registered an
> account with the username Wikidata to use for the uploads.
>
> There will be one changeset per county + category for any category with 10
> or
> more matches in that county. Categories with less than 10 matches in the
> county will be combined into a single changeset.
>
> OSM objects with an existing wikidata tag won't be changed.
> --
> Edward.
>
> ___
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Neil Matthews

Had a look at Bristol -- seems fine...
...except:

Q4968836 — Bristol Castle — 2 matches found
@ Bristol

Sometimes known as "At Bristol" -- a science-themed museum/attraction -- 
an odd match to a ruined castle?


Cheers,
Neil

On 10/03/2016 17:57, Edward Betts wrote:

I've extended my search for matches between OSM and Wikidata again. It now
covers all of the UK and Ireland.

I used map data from http://download.geofabrik.de/europe/british-isles.html

The results are grouped by region or county as well as by category.

http://edwardbetts.com/osm-wikidata/gb-ie/

I'm going to figure out how to upload these matches to OSM. I've registered an
account with the username Wikidata to use for the uploads.

There will be one changeset per county + category for any category with 10 or
more matches in that county. Categories with less than 10 matches in the
county will be combined into a single changeset.

OSM objects with an existing wikidata tag won't be changed.



___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Edward Betts
Dave F  wrote:
> I haven't been paying full attention to this. Are we not meant to add a
> wikipedia tag any more?
> 
> Could you give a brief update on the proposal please.

Here are the relevant pages on the wiki:

http://wiki.openstreetmap.org/wiki/Wikidata

http://wiki.openstreetmap.org/wiki/Mechanical_Edits/wikidata

-- 
Edward.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Dave F
I haven't been paying full attention to this. Are we not meant to add a 
wikipedia tag any more?


Could you give a brief update on the proposal please.

Cheers
Dave F.

On 10/03/2016 17:57, Edward Betts wrote:

I've extended my search for matches between OSM and Wikidata again. It now
covers all of the UK and Ireland.

I used map data from http://download.geofabrik.de/europe/british-isles.html

The results are grouped by region or county as well as by category.

http://edwardbetts.com/osm-wikidata/gb-ie/

I'm going to figure out how to upload these matches to OSM. I've registered an
account with the username Wikidata to use for the uploads.

There will be one changeset per county + category for any category with 10 or
more matches in that county. Categories with less than 10 matches in the
county will be combined into a single changeset.

OSM objects with an existing wikidata tag won't be changed.



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


[Talk-GB] OSM with Wikidata: now covers UK and Ireland

2016-03-10 Thread Edward Betts
I've extended my search for matches between OSM and Wikidata again. It now
covers all of the UK and Ireland.

I used map data from http://download.geofabrik.de/europe/british-isles.html

The results are grouped by region or county as well as by category.

http://edwardbetts.com/osm-wikidata/gb-ie/

I'm going to figure out how to upload these matches to OSM. I've registered an
account with the username Wikidata to use for the uploads.

There will be one changeset per county + category for any category with 10 or
more matches in that county. Categories with less than 10 matches in the
county will be combined into a single changeset.

OSM objects with an existing wikidata tag won't be changed.
-- 
Edward.

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb