{"action":"created","issue":{"url":"https://api.github.com/repos/FoundationDB/sql-layer/issues/1658","labels_url":"https://api.github.com/repos/FoundationDB/sql-layer/issues/1658/labels{/name}","comments_url":"https://api.github.com/repos/FoundationDB/sql-layer/issues/1658/comments","events_url":"https://api.github.com/repos/FoundationDB/sql-layer/issues/1658/events","html_url":"https://github.com/FoundationDB/sql-layer/pull/1658","id":56575255,"number":1658,"title":"Geophile 20150128 wkt","user":{"login":"geophile","id":2864697,"avatar_url":"https://avatars.githubusercontent.com/u/2864697?v=3","gravatar_id":"","url":"https://api.github.com/users/geophile","html_url":"https://github.com/geophile","followers_url":"https://api.github.com/users/geophile/followers","following_url":"https://api.github.com/users/geophile/following{/other_user}","gists_url":"https://api.github.com/users/geophile/gists{/gist_id}","starred_url":"https://api.github.com/users/geophile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geophile/subscriptions","organizations_url":"https://api.github.com/users/geophile/orgs","repos_url":"https://api.github.com/users/geophile/repos","events_url":"https://api.github.com/users/geophile/events{/privacy}","received_events_url":"https://api.github.com/users/geophile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-04T19:30:25Z","updated_at":"2015-02-04T19:43:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FoundationDB/sql-layer/pulls/1658","html_url":"https://github.com/FoundationDB/sql-layer/pull/1658","diff_url":"https://github.com/FoundationDB/sql-layer/pull/1658.diff","patch_url":"https://github.com/FoundationDB/sql-layer/pull/1658.patch"},"body":"Serialize spatial objects using WKB or WKT, depending on the type of the spatial object column (blob or text)."},"comment":{"url":"https://api.github.com/repos/FoundationDB/sql-layer/issues/comments/72923943","html_url":"https://github.com/FoundationDB/sql-layer/pull/1658#issuecomment-72923943","issue_url":"https://api.github.com/repos/FoundationDB/sql-layer/issues/1658","id":72923943,"user":{"login":"MMcM","id":666589,"avatar_url":"https://avatars.githubusercontent.com/u/666589?v=3","gravatar_id":"","url":"https://api.github.com/users/MMcM","html_url":"https://github.com/MMcM","followers_url":"https://api.github.com/users/MMcM/followers","following_url":"https://api.github.com/users/MMcM/following{/other_user}","gists_url":"https://api.github.com/users/MMcM/gists{/gist_id}","starred_url":"https://api.github.com/users/MMcM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMcM/subscriptions","organizations_url":"https://api.github.com/users/MMcM/orgs","repos_url":"https://api.github.com/users/MMcM/repos","events_url":"https://api.github.com/users/MMcM/events{/privacy}","received_events_url":"https://api.github.com/users/MMcM/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T19:43:17Z","updated_at":"2015-02-04T19:43:17Z","body":"I think it might be better to make `SpatialColumnHandler` remember the index's spatial function (WKT, WKB, JSON) and use that in `bind` rather than the source type."}}