[OSM-talk] Semi-automated edits - postal code database

Svavar Kjarrval svavar at kjarrval.is
Wed Oct 3 12:10:05 BST 2012


Hi.

I'm trying to find a good method to maintain data from outside sources.
The data in question is the Icelandic postal code database (which they
say we may use freely). My searches on the OSM wiki have been fruitless
so far.

The idea is to maintain the data in associatedStreet relations. Each
relation has a tag called 'götuskrá:id' which value is a direct
reference to the row ID in the files we retrieve from the postal
company's website. The file formats available are CVS and XML 1.0. The
script would presumably go ever each associatedStreet relation and make
any changes (if appropriate) when a götuskrá:id tag is found. The output
could be an OSM change file loaded into an editor like JOSM to be
uploaded manually. Maybe an automated process later when we're confident
that everything is done correctly, and of course after submitting the
script(s) for review by the local community.

I can make the script myself in Python if neccessary but decided to find
out if somebody has already done all the work before.

With regards,
Svavar Kjarrval

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20121003/eca9507c/attachment.pgp>


More information about the talk mailing list