Skip to content

Commit 0c7d8b4

Browse files
committed
Misc changelog updates
1 parent a9ba72d commit 0c7d8b4

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ part of your geospatial project.
103103

104104
- More examples and restructuring of README.
105105
- More informative Shape to geojson warnings (see #219).
106+
- Add shapefile.VERBOSE flag to control warnings verbosity (default True).
106107
- Shape object information when calling repr().
107108
- Faster ring orientation checks, enforce geojson output ring orientation.
108109

@@ -615,18 +616,14 @@ To get the 4th shape record from the blockgroups shapefile use the third index:
615616

616617

617618
>>> shapeRec = sf.shapeRecord(3)
619+
>>> shapeRec.record[1:3]
620+
['060750601001', 4715]
618621

619-
Each individual shape record also supports the _\_geo_interface\_\_ to convert it to a GeoJSON:
622+
Each individual shape record also supports the _\_geo_interface\_\_ to convert it to a GeoJSON feature:
620623

621624

622625
>>> shapeRec.__geo_interface__['type']
623626
'Feature'
624-
625-
The blockgroup key and population count:
626-
627-
628-
>>> shapeRec.record[1:3]
629-
['060750601001', 4715]
630627

631628

632629
## Writing Shapefiles

changelog.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11

2+
VERSION 2.X.X
3+
4+
2022-XX-XX
5+
New Features:
6+
* Added support for pathlib and path-like shapefile filepaths (@mwtoews).
7+
8+
Improvements:
9+
* Simplified setup and deployment (@mwtoews)
10+
11+
Bug fixes:
12+
* Revert previous decision to enforce geojson output ring orientation (detailed explanation at https://github.com/SciTools/cartopy/issues/2012)
13+
* Fix test issues in environments without network access.
14+
215
VERSION 2.2.0
316

417
2022-02-02
@@ -11,6 +24,7 @@ VERSION 2.2.0
1124
Improvements:
1225
* More examples and restructuring of README.
1326
* More informative Shape to geojson warnings (see #219).
27+
* Add shapefile.VERBOSE flag to control warnings verbosity (default True).
1428
* Shape object information when calling repr().
1529
* Faster ring orientation checks, enforce geojson output ring orientation.
1630

0 commit comments

Comments
 (0)