[Talk-gb-westmidlands] Schools Project

2016-01-18 Thread Brian Prangle
Hi everyone

I didn't realise just how poor our schools data is! It looks good on the
standard map but Robert's tool just amazes me about how much work there is
to do even in what we thinkof as well-mapped areas. I'm concentrating on
tidying up South Birmingham data and Dudley, with a few forays into
Herefordshire and Warwickshire to vary the mix.  Great to see a project
really take off at last!

Regards

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


Re: [Talk-gb-westmidlands] [Imports] Review plan for adding 1, 164 wikidata tags in the West Midlands

2016-01-18 Thread Martin Koppenhoefer


sent from a phone

> Am 17.01.2016 um 19:35 schrieb Edward Betts :
> l
> I've written some heuristic for different cases. For settlements where there
> is a node and polygon (way or relation) I prefer the node.


wikidata items for settlements are very often actually administrative objects 
in osm, because of the preference for official sources used for Wikipedia 
(wikidata started by creating an object for every article AFAIK)

Is this planned as an actual "mass import", and not every item will be looked 
at by a human before being uploaded? IMHO it would be better to provide the 
results of your analysis in small chunks for the local community to be imported 
"by hand".


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


Re: [Talk-gb-westmidlands] [Imports] Review plan for adding 1, 164 wikidata tags in the West Midlands

2016-01-18 Thread Martin Koppenhoefer
2016-01-17 12:08 GMT+01:00 Edward Betts :

>
> Any questions or comments?



I have started some time ago to add wikidata tags manually myself and have
found that there are a few problems to be careful about. Will you be
checking the matches you have found to see if there would be contradictions
between single wikidata statements and current OSM tags, that will require
reorganization of either the OSM object or the wikidata object? "Partial"
matches are not so uncommon, e.g. you could have a wikidata object
referring to a museum and an OSM object referring to the building housing
the museum (or the other way round).

Another field of similar but not identical objects can happen with places
(and sub-places like quarters), where one of the DBs is referring to the
administrative entity and the other to the geographical entity (or only one
of the DBs is referring to both while the other has it split over 2
objects).

Cheers,
Martin
___
Talk-gb-westmidlands mailing list
Talk-gb-westmidlands@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb-westmidlands


Re: [Talk-gb-westmidlands] [Imports] Review plan for adding 1, 164 wikidata tags in the West Midlands

2016-01-18 Thread Jo
In the case of a museum which is tagged as a node, inside a building
closedway, I would be inclined to give both the node and the building the
same Wikidata tag.

I created Lua code which can be included on a Wikipedia page, which uses
Overpass API to show where that  'museum' is mapped on Openstreetmap.

https://en.wikipedia.org/wiki/Module:OSM

At the moment I'm adding wikidata tags to railway stations in Belgium
(Thanks to Simon04, who made doing so a bit more practical: THANKS), so I
add the same wikidata identifier to both the building=train_station and the
node railway=station, and sometimes to the nearby bus stops as well, if
they have station in their names.

That way, somebody who uses the script, will get to see all the OSM objects
that are related to the railway station.

At some point it may happen that the separate bus stops will have wikidata
items of their own, at that time, they can be updated in OSM and their
relation to the station can then probably be found in Wikidata.

It's time consuming, but I tend to do this one by one. There are often
things that can be mapped in better ways around those stations.

What we do need, is a way to fetch wikidata items based on their
coordinates in the Wikipedia plugin, now only Wikpedia articles of the
language set in the preferences are retrieved.

Polyglot

2016-01-17 16:51 GMT+01:00 Martin Koppenhoefer :

>
> 2016-01-17 12:08 GMT+01:00 Edward Betts :
>
>>
>> Any questions or comments?
>
>
>
> I have started some time ago to add wikidata tags manually myself and have
> found that there are a few problems to be careful about. Will you be
> checking the matches you have found to see if there would be contradictions
> between single wikidata statements and current OSM tags, that will require
> reorganization of either the OSM object or the wikidata object? "Partial"
> matches are not so uncommon, e.g. you could have a wikidata object
> referring to a museum and an OSM object referring to the building housing
> the museum (or the other way round).
>
> Another field of similar but not identical objects can happen with places
> (and sub-places like quarters), where one of the DBs is referring to the
> administrative entity and the other to the geographical entity (or only one
> of the DBs is referring to both while the other has it split over 2
> objects).
>
> Cheers,
> Martin
>
> ___
> Imports mailing list
> impo...@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/imports
>
>
___
Talk-gb-westmidlands mailing list
Talk-gb-westmidlands@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb-westmidlands


[Talk-gb-westmidlands] Review plan for adding 1, 164 wikidata tags in the West Midlands

2016-01-18 Thread Edward Betts
I've written software to match geographic objects in OSM with Wikidata items.

Members of the England West Midlands community have asked me to add Wikidata
tags to OSM in the West Midlands. I have produced a list of objects to modify,
there are 1,164 of them in 44 categories.

Wikidata identifiers are look like Q2256, a Q followed by a number. The tags
I plan to add will look will look like this: wikidata=Q2256

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

The matching is based on finding OSM objects with nearby Wikidata items and
comparing the names and tags in OSM with labels and aliases in Wikidata. 

My plan is to add these tags using the API, one changeset per category.

Here is a list of matches grouped by category with links to Wikidata,
Wikipedia and OSM for each match.

https://edwardbetts.com/osm-wikidata/west_midlands/2016-01-16.html

This is the list of Wikidata tags that I actually plan to add:

https://edwardbetts.com/osm-wikidata/west_midlands/matches_2016-01-16.txt

This second lists has duplicates removed. I've also removed any OSM objects
that already have a wikidata tag.

Wikidata is licensed as public domain or CC0. I'm not importing any location
data from Wikidata, just the Wikidata identifier.

There are 44,559 existing wikidata tags in the OSM database.

I've added an entry to the Import Catalogue in the "Ongoing Imports,
Semi-Automated" section.

http://wiki.openstreetmap.org/wiki/Import/Catalogue#Ongoing_Imports.2C_Semi-Automated

If this upload is successful I plan to repeat the process for other regions in
the UK. Then gradually expand to other parts of the world.

The matching software is in a reasonably tidy state, after a bit more clean up
I will share it for others to review and contribute.

Any questions or comments?
-- 
Edward.

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