{"action":"created","issue":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/1121","repository_url":"https://api.github.com/repos/npgsql/npgsql","labels_url":"https://api.github.com/repos/npgsql/npgsql/issues/1121/labels{/name}","comments_url":"https://api.github.com/repos/npgsql/npgsql/issues/1121/comments","events_url":"https://api.github.com/repos/npgsql/npgsql/issues/1121/events","html_url":"https://github.com/npgsql/npgsql/issues/1121","id":156685024,"number":1121,"title":"Allow reading and writing raw WKB representations of PostGIS objects?","user":{"login":"roji","id":1862641,"avatar_url":"https://avatars.githubusercontent.com/u/1862641?v=3","gravatar_id":"","url":"https://api.github.com/users/roji","html_url":"https://github.com/roji","followers_url":"https://api.github.com/users/roji/followers","following_url":"https://api.github.com/users/roji/following{/other_user}","gists_url":"https://api.github.com/users/roji/gists{/gist_id}","starred_url":"https://api.github.com/users/roji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roji/subscriptions","organizations_url":"https://api.github.com/users/roji/orgs","repos_url":"https://api.github.com/users/roji/repos","events_url":"https://api.github.com/users/roji/events{/privacy}","received_events_url":"https://api.github.com/users/roji/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npgsql/npgsql/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-25T07:52:32Z","updated_at":"2016-05-27T16:46:59Z","closed_at":null,"body":"I've already received several confused questions from users who try to insert PostGIS objects by providing a byte[] with a binary WKB representation of their objects, rather than by providing a PostgisPolygon instance.\r\n\r\nI don't know much about geometry or PostGIS but would that be a feature which makes sense? I mean, are end consumers in the PostGIS world expected to know about the binary representation, have it on-hand already? If so, it may make sense to add support for this, i.e. add a feature to the PostGIS type handler that allows it to read and write byte[].\r\n\r\n@rossini-t, what do you think about this?"},"comment":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/comments/222196337","html_url":"https://github.com/npgsql/npgsql/issues/1121#issuecomment-222196337","issue_url":"https://api.github.com/repos/npgsql/npgsql/issues/1121","id":222196337,"user":{"login":"rossini-t","id":4218291,"avatar_url":"https://avatars.githubusercontent.com/u/4218291?v=3","gravatar_id":"","url":"https://api.github.com/users/rossini-t","html_url":"https://github.com/rossini-t","followers_url":"https://api.github.com/users/rossini-t/followers","following_url":"https://api.github.com/users/rossini-t/following{/other_user}","gists_url":"https://api.github.com/users/rossini-t/gists{/gist_id}","starred_url":"https://api.github.com/users/rossini-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossini-t/subscriptions","organizations_url":"https://api.github.com/users/rossini-t/orgs","repos_url":"https://api.github.com/users/rossini-t/repos","events_url":"https://api.github.com/users/rossini-t/events{/privacy}","received_events_url":"https://api.github.com/users/rossini-t/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T16:46:59Z","updated_at":"2016-05-27T16:46:59Z","body":"I agree with @AEMPhil , many geographic llibraries use WKB as input/output. It could be good if Npgsql could support that."}}
{"actor":{"display_login":"rossini-t"}}