[Imports] Proposed automated edit: admin_centre linking
Imre Samu
pella.samu at gmail.com
Thu Dec 5 00:19:33 UTC 2019
Hi Cristian,
checking your algorithm:
> "search for place node with the same name as the admin relation"
( from
https://github.com/krizleebear/osm-polygons/tree/master/osm-admincentre-resolve#implementation-details
)
imho:
IF only the "name=" tags should be equal ..
THEN it is sometimes False matching expected .. ( at least in Hungary )
Hungarian example.
- The capital of "Békés" (county) is "Békéscsaba" (city) NOT "Békés"
(city)
Node: https://www.openstreetmap.org/node/286994834 name=Békés
is Part of
- Relation Békési kistérség (1026198) (as admin_centre)
- Relation Békés (1026148) (as admin_centre)
- Relation Békés megyei 2. sz. oevk (6360766) (as admin_centre)
- Relation Békési járás (2374330) (as admin_centre)
But NOT admin_centre of
- Relation: Békés (22266) ( admin_level=6 ) ;
( The capital of Békés county is Békéscsaba. NOT Békés )
I don't know what is a correct algorithm ..
but in this case the https://www.wikidata.org/wiki/Q191616 has a correct
capital name.
imho:
- limit only for relation admin_level=8 ...
Best,
Imre
krizleebear <osm at krizleebear.de> ezt írta (időpont: 2019. dec. 5., Cs,
0:06):
>
> Hello OSM community,
>
> I'd like to propose an automated edit regarding "admin_centre linking".
>
> I've found that a lot of administrative boundaries are missing their
> admin_centre member although the respective place nodes have been created
> long time ago. My impression is that the manual linking is pretty tedious -
> I've tried.
>
> So I implemented an automatic resolver for that issue.
> It currently performs the resolving and exports a table with linked OSM
> IDs.
>
> After testing and reviewing, I come to the conclusion that an automated
> edit is a good solution.
> I want to get feedback before I implement any further steps.
> The next step would be to create OSM changesets adding the links.
>
> Detailed documentation of rationale and implementation can be found here:
> https://wiki.openstreetmap.org/wiki/Automated_edits/krizleebot
>
>
> Best regards
> Christian Leberfinger
> _______________________________________________
> Imports mailing list
> Imports at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/imports
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/imports/attachments/20191205/79a20226/attachment.html>
More information about the Imports
mailing list