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.

4
  • Hi @Chau, thanks for your reply. But I still get an empty polygon shapefile. Commented Mar 14, 2018 at 10:57
  • @Matt, then I think we need some test data to try out (maybe just the WKT of the first feature in your data). When I run your code with my own linestring input data, I get a shape file with one bbox. Are you sure that the first geometry isn't an empty geometry or null geometry? Commented Mar 14, 2018 at 15:24
  • doesn't work. I checked the features, all are good. I've tried polyline shapefiles as input as well as polygons shapefiles as input. Commented Mar 16, 2018 at 0:34
  • @Matt can you give me some data to test on? Commented Mar 19, 2018 at 11:16