Skip to content

Commit d1d66c6

Browse files
committed
Bump to new version, minor readme formatting
1 parent 13fc029 commit d1d66c6

File tree

3 files changed

+33
-10
lines changed

3 files changed

+33
-10
lines changed

README.md

+29-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles in pure Py
88

99
- **Author**: [Joel Lawhead](https://github.com/GeospatialPython)
1010
- **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
1313
- **License**: [MIT](https://github.com/GeospatialPython/pyshp/blob/master/LICENSE.TXT)
1414

1515
## Contents
@@ -50,6 +50,9 @@ The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles in pure Py
5050
- [Merging multiple shapefiles](#merging-multiple-shapefiles)
5151
- [Editing shapefiles](#editing-shapefiles)
5252
- [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)
5356
- [Testing](#testing)
5457
- [Contributors](#contributors)
5558

@@ -92,6 +95,26 @@ part of your geospatial project.
9295

9396
# Version Changes
9497

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+
95118
## 2.2.0
96119

97120
### New Features:
@@ -1272,7 +1295,7 @@ file one record at a time, modify or filter the contents, and write it back out.
12721295
Most shapefiles store conventional 2D points, lines, or polygons. But the shapefile format is also capable
12731296
of storing various other types of geometries as well, including complex 3D surfaces and objects.
12741297

1275-
**Shapefiles with measurement (M) values**
1298+
### Shapefiles with measurement (M) values
12761299

12771300
Measured shape types are shapes that include a measurement value at each vertex, for instance
12781301
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:
13041327
[0.0, None, 3.0, None, 0.0, None, None]
13051328

13061329

1307-
**Shapefiles with elevation (Z) values**
1330+
### Shapefiles with elevation (Z) values
13081331

13091332
Elevation shape types are shapes that include an elevation value at each vertex, for instance elevation from a GPS device.
13101333
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:
13361359
>>> r.shape(0).z # flat list of Z-values
13371360
[18.0, 20.0, 22.0, 0.0, 0.0, 0.0, 0.0, 15.0, 13.0, 14.0]
13381361

1339-
**3D MultiPatch Shapefiles**
1362+
### 3D MultiPatch Shapefiles
13401363

13411364
Multipatch shapes are useful for storing composite 3-Dimensional objects.
13421365
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.
13821405
```
13831406
Atle Frenvik Sveen
13841407
Bas Couwenberg
1408+
Ben Beasley
13851409
Casey Meisenzahl
13861410
Charles Arnold
13871411
David A. Riggs

changelog.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
VERSION 2.X.X
2+
VERSION 2.3.0
33

4-
2022-XX-XX
4+
2022-04-30
55
New Features:
66
* Added support for pathlib and path-like shapefile filepaths (@mwtoews).
77
* Allow reading individual file extensions via filepaths.
@@ -15,7 +15,7 @@ VERSION 2.X.X
1515
* More robust handling of corrupt shapefiles (fixes #235)
1616
* Fix errors when writing to individual file-handles (fixes #237)
1717
* Revert previous decision to enforce geojson output ring orientation (detailed explanation at https://github.com/SciTools/cartopy/issues/2012)
18-
* Fix test issues in environments without network access.
18+
* Fix test issues in environments without network access (@sebastic, @musicinmybrain).
1919

2020
VERSION 2.2.0
2121

shapefile.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
Provides read and write support for ESRI Shapefiles.
44
authors: jlawhead<at>geospatialpython.com
55
maintainer: karim.bahgat.norway<at>gmail.com
6-
version: 2.2.0
76
Compatible with Python versions 2.7-3.x
87
"""
98

10-
__version__ = "2.2.0"
9+
__version__ = "2.3.0"
1110

1211
from struct import pack, unpack, calcsize, error, Struct
1312
import os

0 commit comments

Comments
 (0)