Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 1) its not a layer, its a datasource. 2) trying source.Reference() throws error maximum recursion depth exceeded Commented Oct 12, 2018 at 11:31
  • In reality the datasource is a result of the gdal_Polygonize routine. It contains polygons and attributes for each polygon feature. In the above example I simply create it without specifying a layer. It is a blank datasource, but thats just for demonstration purposes Commented Oct 12, 2018 at 11:36
  • Please edit the question to provide details. It's not fair to those who would answer to need to mine the comments for necessary information. Commented Oct 12, 2018 at 12:49
  • 1
    What additional details would you like? I feel like it is a straightforward question.... Commented Oct 12, 2018 at 12:59
  • 1
    The comments you have added should be merged into the question, then deleted. Commented Oct 12, 2018 at 13:04