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