[Osmcha-dev] API question
Jason Remillard
remillard.jason at gmail.com
Wed Apr 11 01:08:00 UTC 2018
Hi,
I have a changeset classifier that can detect imports, spam, and tagging
errors.
https://github.com/jremillard/osm-changeset-classification
I would like to run the classifier and post the detections to OSMCha via
this API.
https://osmcha.mapbox.com/api-docs/#/
At first glance, it is not clear the best way of doing this is. It looks
like I want to use suspicion-reasons, since is has capability to mark a
changeset as a potential import or spam.
post /api/v1/suspicion-reasons/{id}/changesets/
But it is marked for staff only, it seems like suspicion-reasons is
reserved for human classification.
Next would be the tags
post /api/v1/changesets/{id}/tags/{tag_pk}/
The db doesn't have tags for imports or SPAM, just severity.
Also, it seems like it might be a good idea to tag all of my
classifications with an specific ID, so we can get a feel for how well its
doing versus the current OSM-Compare hand written classifier.
Thanks
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmcha-dev/attachments/20180410/0192eda3/attachment.html>
More information about the osmcha-dev
mailing list