{"action":"created","issue":{"url":"https://api.github.com/repos/ngageoint/hootenanny/issues/658","repository_url":"https://api.github.com/repos/ngageoint/hootenanny","labels_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/658/comments","events_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/658/events","html_url":"https://github.com/ngageoint/hootenanny/issues/658","id":151405961,"number":658,"title":"P2PMerge service not updating hoot:status tag to 3 to indicate merge","user":{"login":"brianhatchl","id":2600932,"avatar_url":"https://avatars.githubusercontent.com/u/2600932?v=3","gravatar_id":"","url":"https://api.github.com/users/brianhatchl","html_url":"https://github.com/brianhatchl","followers_url":"https://api.github.com/users/brianhatchl/followers","following_url":"https://api.github.com/users/brianhatchl/following{/other_user}","gists_url":"https://api.github.com/users/brianhatchl/gists{/gist_id}","starred_url":"https://api.github.com/users/brianhatchl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianhatchl/subscriptions","organizations_url":"https://api.github.com/users/brianhatchl/orgs","repos_url":"https://api.github.com/users/brianhatchl/repos","events_url":"https://api.github.com/users/brianhatchl/events{/privacy}","received_events_url":"https://api.github.com/users/brianhatchl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ngageoint/hootenanny/labels/Category:%20Core","name":"Category: Core","color":"d4c5f9"},{"url":"https://api.github.com/repos/ngageoint/hootenanny/labels/Priority:%20Medium","name":"Priority: Medium","color":"fad8c7"},{"url":"https://api.github.com/repos/ngageoint/hootenanny/labels/Status:%20Defined","name":"Status: Defined","color":"fbca04"},{"url":"https://api.github.com/repos/ngageoint/hootenanny/labels/Type:%20Bug","name":"Type: Bug","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"mingjiesu","id":4174783,"avatar_url":"https://avatars.githubusercontent.com/u/4174783?v=3","gravatar_id":"","url":"https://api.github.com/users/mingjiesu","html_url":"https://github.com/mingjiesu","followers_url":"https://api.github.com/users/mingjiesu/followers","following_url":"https://api.github.com/users/mingjiesu/following{/other_user}","gists_url":"https://api.github.com/users/mingjiesu/gists{/gist_id}","starred_url":"https://api.github.com/users/mingjiesu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingjiesu/subscriptions","organizations_url":"https://api.github.com/users/mingjiesu/orgs","repos_url":"https://api.github.com/users/mingjiesu/repos","events_url":"https://api.github.com/users/mingjiesu/events{/privacy}","received_events_url":"https://api.github.com/users/mingjiesu/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ngageoint/hootenanny/milestones/16","html_url":"https://github.com/ngageoint/hootenanny/milestones/Hootenanny%202016-06-22","labels_url":"https://api.github.com/repos/ngageoint/hootenanny/milestones/16/labels","id":1787955,"number":16,"title":"Hootenanny 2016-06-22","description":"","creator":{"login":"bwitham","id":303724,"avatar_url":"https://avatars.githubusercontent.com/u/303724?v=3","gravatar_id":"","url":"https://api.github.com/users/bwitham","html_url":"https://github.com/bwitham","followers_url":"https://api.github.com/users/bwitham/followers","following_url":"https://api.github.com/users/bwitham/following{/other_user}","gists_url":"https://api.github.com/users/bwitham/gists{/gist_id}","starred_url":"https://api.github.com/users/bwitham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwitham/subscriptions","organizations_url":"https://api.github.com/users/bwitham/orgs","repos_url":"https://api.github.com/users/bwitham/repos","events_url":"https://api.github.com/users/bwitham/events{/privacy}","received_events_url":"https://api.github.com/users/bwitham/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":2,"state":"open","created_at":"2016-05-25T16:07:50Z","updated_at":"2016-06-09T17:26:44Z","due_on":"2016-06-22T04:00:00Z","closed_at":null},"comments":1,"created_at":"2016-04-27T14:52:15Z","updated_at":"2016-06-09T17:45:29Z","closed_at":null,"body":"When merging to POIs, I believe the P2PMerge service used to update the hoot:status tag to 3 to indicate that the feature had been merged.  This no longer appears to be the case.\r\n\r\nInputs:\r\n```\r\n<osm version='0.6' upload='true' generator='JOSM'>\r\n    <node id=\"46\" lon=\"-104.919758616214\" lat=\"38.8593025332215\" version=\"1\">\r\n        <tag k=\"poi\" v=\"yes\"/>\r\n        <tag k=\"hoot:status\" v=\"1\"/>\r\n        <tag k=\"name\" v=\"Manitou Springs\"/>\r\n        <tag k=\"place\" v=\"town\"/>\r\n        <tag k=\"error:circular\" v=\"2000\"/>\r\n        <tag k=\"hoot\" v=\"Merged_AllDataTypes_84234de8\"/>\r\n    </node>\r\n    <node id=\"5\" lon=\"-104.912548838381\" lat=\"38.8578321389392\" version=\"1\">\r\n        <tag k=\"poi\" v=\"yes\"/>\r\n        <tag k=\"hoot:status\" v=\"2\"/>\r\n        <tag k=\"name\" v=\"Manitou Springs\"/>\r\n        <tag k=\"place\" v=\"city\"/>\r\n        <tag k=\"error:circular\" v=\"1000\"/>\r\n        <tag k=\"hoot\" v=\"Merged_AllDataTypes_84234de8\"/>\r\n    </node>\r\n</osm>\r\n```\r\n\r\nOutputs:\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<osm version=\"0.6\" generator=\"hootenanny\" srs=\"GEOGCS[&quot;WGS 84&quot;,&#10; DATUM[&quot;WGS_1984&quot;,&#10; SPHEROID[&quot;WGS 84&quot;,6378137,298.257223563,&#10; AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],&#10; TOWGS84[0,0,0,0,0,0,0],&#10; AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],&#10; PRIMEM[&quot;Greenwich&quot;,0,&#10; AUTHORITY[&quot;EPSG&quot;,&quot;8901&quot;]],&#10; UNIT[&quot;degree&quot;,0.0174532925199433,&#10; AUTHORITY[&quot;EPSG&quot;,&quot;9108&quot;]],&#10; AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]\">\r\n    <node visible=\"true\" id=\"-1\" timestamp=\"1970-01-01T00:00:00Z\" version=\"1\" lat=\"38.8593025332215021\" lon=\"-104.9197586162139970\">\r\n        <tag k=\"place\" v=\"town\"/>\r\n        <tag k=\"poi\" v=\"yes\"/>\r\n        <tag k=\"hoot:status\" v=\"1\"/>\r\n        <tag k=\"hoot\" v=\"Merged_AllDataTypes_84234de8\"/>\r\n        <tag k=\"name\" v=\"Manitou Springs\"/>\r\n        <tag k=\"error:circular\" v=\"2000\"/>\r\n    </node>\r\n</osm>\r\n```"},"comment":{"url":"https://api.github.com/repos/ngageoint/hootenanny/issues/comments/224972308","html_url":"https://github.com/ngageoint/hootenanny/issues/658#issuecomment-224972308","issue_url":"https://api.github.com/repos/ngageoint/hootenanny/issues/658","id":224972308,"user":{"login":"bwitham","id":303724,"avatar_url":"https://avatars.githubusercontent.com/u/303724?v=3","gravatar_id":"","url":"https://api.github.com/users/bwitham","html_url":"https://github.com/bwitham","followers_url":"https://api.github.com/users/bwitham/followers","following_url":"https://api.github.com/users/bwitham/following{/other_user}","gists_url":"https://api.github.com/users/bwitham/gists{/gist_id}","starred_url":"https://api.github.com/users/bwitham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwitham/subscriptions","organizations_url":"https://api.github.com/users/bwitham/orgs","repos_url":"https://api.github.com/users/bwitham/repos","events_url":"https://api.github.com/users/bwitham/events{/privacy}","received_events_url":"https://api.github.com/users/bwitham/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T17:45:29Z","updated_at":"2016-06-09T17:45:29Z","body":"As @mingjiesu and I just discussed... easiest way to reproduce is to either call scripts/P2PServer.js directly with the aforementioned inputs or pull out the non-web related bits from postHandler and put them into a new script to invoke."}}
{"actor":{"display_login":"bwitham"}}