-
Notifications
You must be signed in to change notification settings - Fork 24
Reconcile by coordinates #101
Comments
FWIW, if you don't mind running your own reconciliation service, I've just written a geo scoring plugin for csv-reconcile. With this you could, say run a SPARQL query to find coordinate locations of points you're looking to match against, export that as a TSV file and use that to run csv-reconcile. You can get the service up and running as simply as the following: $ python -m venv serverenv
$ source serverenv/bin/activate
$ python -m pip install csv-reconcile
$ python -m pip install csv-reconcile-geo
$ csv-reconcile --init-db query.tsv item coord --scorer geo Here This was just my first pass at it. There's certainly room for improvement, but it may suit your immediate needs. |
@gitonthescene Sounds great! I'll give it a shot at the first opportunity |
@gitonthescene Please could you assist me with this? I am a bit disoriented and I am not sure if I understand the overall idea of 'my own' reconciliation service correctly. Am I right in assuming that I need to load File number 1 into openrefine, load File number 2 into command line via the commands above, add a reconciliation service "http://127.0.0.1:5000/reconcile" to OpenRefine and reconcile? I think I was able to start virtualenv on my system (I am on Windows and "source" did not work, but I think I was able to find a solution at https://stackoverflow.com/questions/8921188/issue-with-virtualenv-cannot-activate) and then I was able to install csv-reconcile and csv-reconcile-geo. However, this is what I get when I run the program:
My query.tsv is from https://w.wiki/3BV9 What do you think is happening? Sorry to spam the issue with my questions |
Perhaps this discussion could be moved to the csv-reconcile project? Unrelated discussions might put people off :) |
created as new issue here: gitonthescene/csv-reconcile#3 |
Posted by @VojtechDostal at OpenRefine/OpenRefine#3663:
The text was updated successfully, but these errors were encountered: