File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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+
215VERSION 2.2.0
316
4172022-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
You can’t perform that action at this time.
0 commit comments