{
  "id": 27546,
  "title": "6060_2_3 invalid polygon for type 2",
  "url": "/competitions/dstl-satellite-imagery-feature-detection/discussion/27546",
  "author_name": "",
  "post_date": "2017-01-10T10:45:27.327Z",
  "votes": null,
  "comment_count": 1,
  "views": 110,
  "content": "<p>Hi,</p>\n\n<p>I'm reading multipolygon from <em>train_wkt_v4.csv</em> for 6060_2_3.tif (three_band) for type 2 (misc. manmade structs) using shapely in python. When I try to compute its intersection with the LineString I get following error:</p>\n\n<p><em>Self-intersection at or near point 0.0068129999999999987 -0.0065719999999999997</em></p>\n\n<p>Indeed - property <em>is_valid</em> for the multipolygon is False. </p>\n\n<p>Anyone gets similar error?</p>",
  "messages": [
    {
      "id": "155263",
      "postDate": "01/10/2017 10:45:27",
      "content": "<p>Hi,</p>\n\n<p>I'm reading multipolygon from <em>train_wkt_v4.csv</em> for 6060_2_3.tif (three_band) for type 2 (misc. manmade structs) using shapely in python. When I try to compute its intersection with the LineString I get following error:</p>\n\n<p><em>Self-intersection at or near point 0.0068129999999999987 -0.0065719999999999997</em></p>\n\n<p>Indeed - property <em>is_valid</em> for the multipolygon is False. </p>\n\n<p>Anyone gets similar error?</p>",
      "rawMarkdown": "Hi,\r\n\r\nI'm reading multipolygon from *train_wkt_v4.csv* for 6060_2_3.tif (three_band) for type 2 (misc. manmade structs) using shapely in python. When I try to compute its intersection with the LineString I get following error:\r\n\r\n*Self-intersection at or near point 0.0068129999999999987 -0.0065719999999999997*\r\n\r\nIndeed - property *is_valid* for the multipolygon is False. \r\n\r\nAnyone gets similar error?",
      "votes": null
    },
    {
      "id": "155322",
      "postDate": "01/10/2017 16:30:56",
      "content": "<p>Yes, you are correct - see <a href=\"https://www.kaggle.com/amanbh/dstl-satellite-imagery-feature-detection/dealing-with-invalid-polygons\">https://www.kaggle.com/amanbh/dstl-satellite-imagery-feature-detection/dealing-with-invalid-polygons</a></p>",
      "rawMarkdown": "Yes, you are correct - see https://www.kaggle.com/amanbh/dstl-satellite-imagery-feature-detection/dealing-with-invalid-polygons",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 155322,
      "author_name": "amanbh",
      "author_url": "",
      "post_date": "01/10/2017 16:30:56",
      "content": "<p>Yes, you are correct - see <a href=\"https://www.kaggle.com/amanbh/dstl-satellite-imagery-feature-detection/dealing-with-invalid-polygons\">https://www.kaggle.com/amanbh/dstl-satellite-imagery-feature-detection/dealing-with-invalid-polygons</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "155263": "Hi,\r\n\r\nI'm reading multipolygon from *train_wkt_v4.csv* for 6060_2_3.tif (three_band) for type 2 (misc. manmade structs) using shapely in python. When I try to compute its intersection with the LineString I get following error:\r\n\r\n*Self-intersection at or near point 0.0068129999999999987 -0.0065719999999999997*\r\n\r\nIndeed - property *is_valid* for the multipolygon is False. \r\n\r\nAnyone gets similar error?",
    "155322": "Yes, you are correct - see https://www.kaggle.com/amanbh/dstl-satellite-imagery-feature-detection/dealing-with-invalid-polygons"
  },
  "source": "meta"
}