Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 156752

A vector data storage format for storing the location, shape, and attributes of geographic features. Often referred to as 'an ESRI shapefile', as ESRI developed it.

8 votes
0 answers
469 views

OGR failing to unpack polygons and respective holes from shapefile

Each shapefile has only one feature containing multiple polygons with holes. They cannot be produced differently. First I extracted the geometry and area. … Here is the code: from pathlib import Path from osgeo import ogr my_dir = Path(r'D:\Python') shp = r'test_shape_area.shp' Driver = ogr.GetDriverByName('ESRI Shapefile') DataSource = Driver.Open((my_dir …
Thaine Herman Assumpção's user avatar