@@ -8,8 +8,8 @@ The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles in pure Py
8
8
9
9
- ** Author** : [ Joel Lawhead] ( https://github.com/GeospatialPython )
10
10
- ** Maintainers** : [ Karim Bahgat] ( https://github.com/karimbahgat )
11
- - ** Version** : 2.2 .0
12
- - ** Date** : 2 February , 2022
11
+ - ** Version** : 2.3 .0
12
+ - ** Date** : 30 April , 2022
13
13
- ** License** : [ MIT] ( https://github.com/GeospatialPython/pyshp/blob/master/LICENSE.TXT )
14
14
15
15
## Contents
@@ -50,6 +50,9 @@ The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles in pure Py
50
50
- [Merging multiple shapefiles](#merging-multiple-shapefiles)
51
51
- [Editing shapefiles](#editing-shapefiles)
52
52
- [3D and Other Geometry Types](#3d-and-other-geometry-types)
53
+ - [Shapefiles with measurement (M) values](#shapefiles-with-measurement-m-values)
54
+ - [Shapefiles with elevation (Z) values](#shapefiles-with-elevation-z-values)
55
+ - [3D MultiPatch Shapefiles](#3d-multipatch-shapefiles)
53
56
- [ Testing] ( #testing )
54
57
- [ Contributors] ( #contributors )
55
58
@@ -92,6 +95,26 @@ part of your geospatial project.
92
95
93
96
# Version Changes
94
97
98
+ ## 2.3.0
99
+
100
+ ### New Features:
101
+
102
+ - Added support for pathlib and path-like shapefile filepaths (@mwtoews ).
103
+ - Allow reading individual file extensions via filepaths.
104
+
105
+ ### Improvements:
106
+
107
+ - Simplified setup and deployment (@mwtoews )
108
+ - Faster shape access when missing shx file
109
+ - Switch to named logger (see #240 )
110
+
111
+ ### Bug fixes:
112
+
113
+ - More robust handling of corrupt shapefiles (fixes #235 )
114
+ - Fix errors when writing to individual file-handles (fixes #237 )
115
+ - Revert previous decision to enforce geojson output ring orientation (detailed explanation at https://github.com/SciTools/cartopy/issues/2012 )
116
+ - Fix test issues in environments without network access (@sebastic , @musicinmybrain ).
117
+
95
118
## 2.2.0
96
119
97
120
### New Features:
@@ -1272,7 +1295,7 @@ file one record at a time, modify or filter the contents, and write it back out.
1272
1295
Most shapefiles store conventional 2D points, lines, or polygons. But the shapefile format is also capable
1273
1296
of storing various other types of geometries as well, including complex 3D surfaces and objects.
1274
1297
1275
- ** Shapefiles with measurement (M) values**
1298
+ ### Shapefiles with measurement (M) values
1276
1299
1277
1300
Measured shape types are shapes that include a measurement value at each vertex, for instance
1278
1301
speed measurements from a GPS device. Shapes with measurement (M) values are added with the following
@@ -1304,7 +1327,7 @@ Shapefiles containing M-values can be examined in several ways:
1304
1327
[0.0, None, 3.0, None, 0.0, None, None]
1305
1328
1306
1329
1307
- ** Shapefiles with elevation (Z) values**
1330
+ ### Shapefiles with elevation (Z) values
1308
1331
1309
1332
Elevation shape types are shapes that include an elevation value at each vertex, for instance elevation from a GPS device.
1310
1333
Shapes with elevation (Z) values are added with the following methods: "pointz", "multipointz", "linez", and "polyz".
@@ -1336,7 +1359,7 @@ To examine a Z-type shapefile you can do:
1336
1359
>>> r.shape(0).z # flat list of Z-values
1337
1360
[18.0, 20.0, 22.0, 0.0, 0.0, 0.0, 0.0, 15.0, 13.0, 14.0]
1338
1361
1339
- ** 3D MultiPatch Shapefiles**
1362
+ ### 3D MultiPatch Shapefiles
1340
1363
1341
1364
Multipatch shapes are useful for storing composite 3-Dimensional objects.
1342
1365
A MultiPatch shape represents a 3D object made up of one or more surface parts.
@@ -1382,6 +1405,7 @@ correct line endings in README.md.
1382
1405
```
1383
1406
Atle Frenvik Sveen
1384
1407
Bas Couwenberg
1408
+ Ben Beasley
1385
1409
Casey Meisenzahl
1386
1410
Charles Arnold
1387
1411
David A. Riggs
0 commit comments