{"action":"closed","issue":{"url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/209","repository_url":"https://api.github.com/repos/DotSpatial/DotSpatial","labels_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/209/comments","events_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/209/events","html_url":"https://github.com/DotSpatial/DotSpatial/issues/209","id":153407621,"number":209,"title":"Unioning polygons gets \"Bad distance calculation\" exception.","user":{"login":"mogikanin","id":840681,"avatar_url":"https://avatars.githubusercontent.com/u/840681?v=3","gravatar_id":"","url":"https://api.github.com/users/mogikanin","html_url":"https://github.com/mogikanin","followers_url":"https://api.github.com/users/mogikanin/followers","following_url":"https://api.github.com/users/mogikanin/following{/other_user}","gists_url":"https://api.github.com/users/mogikanin/gists{/gist_id}","starred_url":"https://api.github.com/users/mogikanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogikanin/subscriptions","organizations_url":"https://api.github.com/users/mogikanin/orgs","repos_url":"https://api.github.com/users/mogikanin/repos","events_url":"https://api.github.com/users/mogikanin/events{/privacy}","received_events_url":"https://api.github.com/users/mogikanin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DotSpatial/DotSpatial/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/DotSpatial/DotSpatial/labels/CodePlex","name":"CodePlex","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-06T08:51:59Z","updated_at":"2016-05-24T08:38:28Z","closed_at":"2016-05-24T08:38:28Z","body":"**This issue was imported from [CodePlex](http://dotspatial.codeplex.com/workitem/215)**\r\n\r\n**[kellison](http://www.codeplex.com/site/users/view/kellison)** wrote 2011-01-20 at 17:04\r\nUnioning the polygons shown below fails with exception noted above:\r\n\r\n<ul>\r\n<li>plyShape {POLYGON ((-84.6976494321476000 41.7477691708729000, -84.6402221482214000 41.7477691708729000, -84.6402221482214000 41.6997514050474000, -84.6974494321476000 41.6997514050474000, -84.6974494321476000 41.6519336392220000, -84.7548767160738000 41.6519336392220000,\r\n -84.7548767160738000 41.6999514050475000, -84.6976494321476000 41.6999514050475000, -84.6976494321476000 41.7477691708729000))} DotSpatial.Topology.IGeometry {DotSpatial.Topology.Polygon}\r\n\r\n</li><li>plyShapeE {POLYGON ((-84.6976494321476000 41.6999514050475000, -84.6402221482214000 41.6999514050475000, -84.6402221482214000 41.6519336392220000, -84.6976494321476000 41.6519336392220000, -84.6976494321476000 41.6999514050475000))} DotSpatial.Topology.IGeometry\r\n {DotSpatial.Topology.Polygon}\r\n\r\n</li></ul>\r\nplyShape.Union(plyShapeE);\r\n\r\n**[kellison](http://www.codeplex.com/site/users/view/kellison)** wrote 2011-01-20 at 17:12\r\nFixed in Change Set 1356c135cf7a. The Topology engine is introducing z values sometimes that have to be dealt with when comparing 2D coordinates to 3D coordinates."}}
{"actor":{"display_login":"jany-tenaj"}}