{"action":"closed","issue":{"url":"https://api.github.com/repos/achirkin/qua-view/issues/8","repository_url":"https://api.github.com/repos/achirkin/qua-view","labels_url":"https://api.github.com/repos/achirkin/qua-view/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/achirkin/qua-view/issues/8/comments","events_url":"https://api.github.com/repos/achirkin/qua-view/issues/8/events","html_url":"https://github.com/achirkin/qua-view/issues/8","id":233792733,"number":8,"title":"Building sometimes rotated 90 degrees ","user":{"login":"jonathanwoenardi","id":15607904,"avatar_url":"https://avatars0.githubusercontent.com/u/15607904?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanwoenardi","html_url":"https://github.com/jonathanwoenardi","followers_url":"https://api.github.com/users/jonathanwoenardi/followers","following_url":"https://api.github.com/users/jonathanwoenardi/following{/other_user}","gists_url":"https://api.github.com/users/jonathanwoenardi/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanwoenardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanwoenardi/subscriptions","organizations_url":"https://api.github.com/users/jonathanwoenardi/orgs","repos_url":"https://api.github.com/users/jonathanwoenardi/repos","events_url":"https://api.github.com/users/jonathanwoenardi/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanwoenardi/received_events","type":"User","site_admin":false},"labels":[{"id":222936113,"url":"https://api.github.com/repos/achirkin/qua-view/labels/bug","name":"bug","color":"fc2929","default":true},{"id":770928073,"url":"https://api.github.com/repos/achirkin/qua-view/labels/old%20qua-kit","name":"old qua-kit","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"jonathanwoenardi","id":15607904,"avatar_url":"https://avatars0.githubusercontent.com/u/15607904?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanwoenardi","html_url":"https://github.com/jonathanwoenardi","followers_url":"https://api.github.com/users/jonathanwoenardi/followers","following_url":"https://api.github.com/users/jonathanwoenardi/following{/other_user}","gists_url":"https://api.github.com/users/jonathanwoenardi/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanwoenardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanwoenardi/subscriptions","organizations_url":"https://api.github.com/users/jonathanwoenardi/orgs","repos_url":"https://api.github.com/users/jonathanwoenardi/repos","events_url":"https://api.github.com/users/jonathanwoenardi/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanwoenardi/received_events","type":"User","site_admin":false},"assignees":[{"login":"jonathanwoenardi","id":15607904,"avatar_url":"https://avatars0.githubusercontent.com/u/15607904?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanwoenardi","html_url":"https://github.com/jonathanwoenardi","followers_url":"https://api.github.com/users/jonathanwoenardi/followers","following_url":"https://api.github.com/users/jonathanwoenardi/following{/other_user}","gists_url":"https://api.github.com/users/jonathanwoenardi/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanwoenardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanwoenardi/subscriptions","organizations_url":"https://api.github.com/users/jonathanwoenardi/orgs","repos_url":"https://api.github.com/users/jonathanwoenardi/repos","events_url":"https://api.github.com/users/jonathanwoenardi/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanwoenardi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-06-06T06:38:42Z","updated_at":"2017-12-06T06:38:13Z","closed_at":"2017-12-06T06:38:13Z","author_association":"COLLABORATOR","body":"How to recreate the error:\r\n\r\n```\r\nBase GeoJSON\r\n\r\n{\r\n    \"features\": [   \r\n        {\r\n            \"type\": \"Feature\",\r\n            \"id\": \"101\",\r\n            \"properties\": {\r\n                \"@id\": \"101\",\r\n                \"height\": \"20\",\r\n                \"name\": \"20m Building\",\r\n                \"type\": \"multipolygon\"\r\n            },\r\n            \"geometry\": { \r\n                \"type\": \"Polygon\",\r\n                \"coordinates\": [\r\n                    [ \r\n                        [ 220, 0 ],\r\n                        [ 223, 0 ],\r\n                        [ 223, 1 ],\r\n                        [ 220, 1 ],\r\n                        [ 220, 0 ]\r\n                    ] \r\n                ] \r\n            } \r\n        }\r\n    ],\r\n    \"type\": \"FeatureCollection\"\r\n}\r\n\r\n```\r\n\r\n1. Upload the GeoJSON. Using the old heuristics, the object will be transformed from WGS'84 to Metric and will look like a flat rectangle.\r\n2. Change the coordinate valued 223 into 224. It will still be transformed from WGS'84 to Metric. However, the rectangle will be rotated 90 degrees.\r\n\r\nNote: \r\na. Using the new heuristic which is added in branch repair-import-procedure, the bug does not show up, but that does not mean the bug is fixed.\r\nb. I first came up with this issue when working with a metric model, so I think the transformation is not necessary for the bug to come out. However, I have not been able to reproduce the previous encounter."}}
{"actor":{"display_login":"achirkin"}}