{"id":50,"date":"2015-06-10T14:39:03","date_gmt":"2015-06-10T14:39:03","guid":{"rendered":"https:\/\/www.w3.org\/community\/geosemweb\/?p=50"},"modified":"2015-06-10T14:39:03","modified_gmt":"2015-06-10T14:39:03","slug":"osmrec-%ce%b1-tool-for-automatic-annotation-of-spatial-entities-in-openstreetmap","status":"publish","type":"post","link":"https:\/\/www.w3.org\/community\/geosemweb\/2015\/06\/10\/osmrec-%ce%b1-tool-for-automatic-annotation-of-spatial-entities-in-openstreetmap\/","title":{"rendered":"OSMRec &#8211; \u0391 tool for automatic annotation of spatial entities in OpenStreetMap"},"content":{"rendered":"<p>GeoKnow has recently introduced OSMRec, a <a href=\"http:\/\/wiki.openstreetmap.org\/wiki\/JOSM\/Plugins\/OSMRec\" target=\"_blank\" rel=\"nofollow\">JOSM plugin<\/a>\u00a0for automatic annotation of spatial features (entities) into OpenStreetMap. \u00a0OSMRec trains on existing OSM data and is able to recommend to users OSM categories, in order to annotate newly inserted spatial entities. This is important for two reasons. First, users may not be familiar with the OSM categories; thus searching and browsing the OSM category hierarchy to find appropriate categories for the entity they wish to insert may often be a time consuming and frustrating process, to the point of users neglecting to add this information. Second, if an already existing category that matches the new entity cannot be found quickly and easily (although it exists), the user may resort instead to using his\/her own term, resulting in synonyms that later need to be identified and dealt with.<\/p>\n<p>The category recommendation process takes into account the similarity of the new spatial entities to already existing (and annotated with categories) ones in several levels: <i>spatial similarity<\/i>, e.g. the number of nodes of the feature&#8217;s geometry, <i>textual similarity<\/i>, e.g. common important keywords in the names of the features and <i>semantic similarity<\/i> (similarities on the categories that characterize already annotated entities). So, for each level (spatial, textual, semantic) we define and implement a series of training features that represent spatial entities into a multidimensional space. This way, by training the aforementioned models, we are able to correlate the values of the training features with the categories of the spatial entities, and consequently, recommend categories for new features. To this end, we apply multiclass SVM classification, using <a href=\"http:\/\/www.csie.ntu.edu.tw\/~cjlin\/liblinear\/\" target=\"_blank\" rel=\"nofollow\">LIBLINEAR<\/a>.<\/p>\n<p>The following figure represents a screen of OSMRec within JOSM. The user can select an entity or draw a new entity on the map and ask for recommendations by clicking the \u201cAdd Recommendation\u201d button. The recommendation panel opens and the plugin automatically loads the appropriate recommendation model that has previously been trained offline.<\/p>\n<p><a href=\"http:\/\/blog.geoknow.eu\/wp-content\/uploads\/2015\/05\/6.-Recommendation-panel.png\" target=\"_blank\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-481\" src=\"http:\/\/blog.geoknow.eu\/wp-content\/uploads\/2015\/05\/6.-Recommendation-panel-300x199.png\" alt=\"6. Recommendation panel\" width=\"300\" height=\"199\" \/><\/a><\/p>\n<p>The recommendation panel provides a list with the top-10 recommended categories and the user can select from this list and click \u201cAdd and continue\u201d. As a result the selected category is added to the OSM tags. By the time the user adds a new tag at the selected object, a new vector is computed for that OSM instance in order to recalculate the predictions and display an updated list of recommendations (taking into account the previously selected categories\/tags, as extra training information).\u00a0Further, OSMRec provides functionality for allowing the\u00a0user to combine several recommendation models, based on\u00a0(a) a selected geographic area, (b) user&#8217;s past editing history\u00a0on OSM and (c) combination of (a) and (b). This way, personalized category recommendations can be provided that take into account the user&#8217;s editing history and\/or the specific characteristics of a geographic area of OSM.<\/p>\n<p><span style=\"line-height: 1.714285714;font-size: 1rem\">OSMRec plugin can be\u00a0<\/span><a style=\"line-height: 1.714285714;font-size: 1rem\" href=\"https:\/\/josm.openstreetmap.de\/wiki\/Plugins\" target=\"_blank\" rel=\"nofollow\">downloaded<\/a><span style=\"line-height: 1.714285714;font-size: 1rem\">\u00a0and installed in JOSM following the\u00a0<\/span><a style=\"line-height: 1.714285714;font-size: 1rem\" href=\"http:\/\/wiki.openstreetmap.org\/wiki\/JOSM\/Plugins#Installation\" target=\"_blank\" rel=\"nofollow\">standard procedure<\/a><span style=\"line-height: 1.714285714;font-size: 1rem\">. Detailed implementation information can be found in the following documents:<\/span><\/p>\n<ul>\n<li><span style=\"line-height: 14px\"><a href=\"http:\/\/svn.aksw.org\/projects\/GeoKnow\/Public\/D3.3.1_Prototype_for_spatial_knowledge_aggregation.pdf\" target=\"_blank\" rel=\"nofollow\">Prototype for Spatial Knowledge Aggregation<\/a>.<br \/>\n<\/span><\/li>\n<li><a href=\"http:\/\/svn.aksw.org\/projects\/GeoKnow\/Public\/D3.3.2_Context_sensitive_spatial_knowledge_aggregation.pdf\" target=\"_blank\" rel=\"nofollow\">Context-Sensitive Spatial Knowledge aggregation<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>GeoKnow has recently introduced OSMRec, a JOSM plugin\u00a0for automatic annotation of spatial features (entities) into OpenStreetMap. \u00a0OSMRec trains on existing OSM data and is able to recommend to users OSM categories, in order to annotate newly inserted spatial entities. This &hellip; <a href=\"https:\/\/www.w3.org\/community\/geosemweb\/2015\/06\/10\/osmrec-%ce%b1-tool-for-automatic-annotation-of-spatial-entities-in-openstreetmap\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":8122,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[1],"tags":[],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/users\/8122"}],"replies":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":1,"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":51,"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/posts\/50\/revisions\/51"}],"wp:attachment":[{"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.w3.org\/community\/geosemweb\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}