{"action":"created","issue":{"url":"https://api.github.com/repos/agrc/wri-webapi/issues/2","labels_url":"https://api.github.com/repos/agrc/wri-webapi/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/agrc/wri-webapi/issues/2/comments","events_url":"https://api.github.com/repos/agrc/wri-webapi/issues/2/events","html_url":"https://github.com/agrc/wri-webapi/issues/2","id":105496668,"number":2,"title":"create features","user":{"login":"steveoh","id":325813,"avatar_url":"https://avatars.githubusercontent.com/u/325813?v=3","gravatar_id":"","url":"https://api.github.com/users/steveoh","html_url":"https://github.com/steveoh","followers_url":"https://api.github.com/users/steveoh/followers","following_url":"https://api.github.com/users/steveoh/following{/other_user}","gists_url":"https://api.github.com/users/steveoh/gists{/gist_id}","starred_url":"https://api.github.com/users/steveoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveoh/subscriptions","organizations_url":"https://api.github.com/users/steveoh/orgs","repos_url":"https://api.github.com/users/steveoh/repos","events_url":"https://api.github.com/users/steveoh/events{/privacy}","received_events_url":"https://api.github.com/users/steveoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-09T00:57:57Z","updated_at":"2015-09-09T14:22:49Z","closed_at":null,"body":"`POST` to `/project/{id:int}/feature/create` where `id` is the `projectId`\r\n\r\n````js\r\ncategory: 'the things from the lu_featuretype'\r\ntoken: 'gathered from the form'\r\nkey: 'gathered from the form'\r\ngeometry:  'MULTIPOINT((-122.63 45.51),(-122.56 45.51),(-122.56 45.55))' *\r\nattributes: 'i've yet to work out this object out yet'\r\n````\r\n\r\n\\* If we use [WKT](https://github.com/arthur-e/Wicket) for the geometry,  I can use sql to test for the feature overlaps and insert the geometry with sql instead of the feature service. It removes some arcgis server complexity/overhead but adds a dependency on Wicket. It is on bower, it is pretty small, and it is not an amd module. Thoughts?\r\n\r\n```js\r\nvar wkt = new wkt.Wkt();\r\nvar geom = wkt.deconstruct(esriGeometry);\r\nwkt.components = geom.components;\r\nwkt.type = geom.typ;\r\nvar wktext = wkt.write();\r\n ````"},"comment":{"url":"https://api.github.com/repos/agrc/wri-webapi/issues/comments/138925319","html_url":"https://github.com/agrc/wri-webapi/issues/2#issuecomment-138925319","issue_url":"https://api.github.com/repos/agrc/wri-webapi/issues/2","id":138925319,"user":{"login":"stdavis","id":1326248,"avatar_url":"https://avatars.githubusercontent.com/u/1326248?v=3","gravatar_id":"","url":"https://api.github.com/users/stdavis","html_url":"https://github.com/stdavis","followers_url":"https://api.github.com/users/stdavis/followers","following_url":"https://api.github.com/users/stdavis/following{/other_user}","gists_url":"https://api.github.com/users/stdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/stdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdavis/subscriptions","organizations_url":"https://api.github.com/users/stdavis/orgs","repos_url":"https://api.github.com/users/stdavis/repos","events_url":"https://api.github.com/users/stdavis/events{/privacy}","received_events_url":"https://api.github.com/users/stdavis/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T14:22:49Z","updated_at":"2015-09-09T14:22:49Z","body":"Ya, their docs are not very clear.\n\nOn Wed, Sep 9, 2015 at 8:21 AM, steveoh <notifications@github.com> wrote:\n\n> I just hacked it up in the console real quick.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/agrc/wri-webapi/issues/2#issuecomment-138924781>.\n>\n\n\n\n-- \n*Scott Davis*\nUtah AGRC <http://gis.utah.gov/developer/>\nstdavis@utah.gov\n@SThomasDavis <https://twitter.com/SThomasDavis>\n"}}