File tree 2 files changed +18
-7
lines changed
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.
103
103
104
104
- More examples and restructuring of README.
105
105
- More informative Shape to geojson warnings (see #219 ).
106
+ - Add shapefile.VERBOSE flag to control warnings verbosity (default True).
106
107
- Shape object information when calling repr().
107
108
- Faster ring orientation checks, enforce geojson output ring orientation.
108
109
@@ -615,18 +616,14 @@ To get the 4th shape record from the blockgroups shapefile use the third index:
615
616
616
617
617
618
>>> shapeRec = sf.shapeRecord(3)
619
+ >>> shapeRec.record[1:3]
620
+ ['060750601001', 4715]
618
621
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 :
620
623
621
624
622
625
>>> shapeRec.__geo_interface__['type']
623
626
'Feature'
624
-
625
- The blockgroup key and population count:
626
-
627
-
628
- >>> shapeRec.record[1:3]
629
- ['060750601001', 4715]
630
627
631
628
632
629
## Writing Shapefiles
Original file line number Diff line number Diff line change 1
1
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
+
2
15
VERSION 2.2.0
3
16
4
17
2022-02-02
@@ -11,6 +24,7 @@ VERSION 2.2.0
11
24
Improvements:
12
25
* More examples and restructuring of README.
13
26
* More informative Shape to geojson warnings (see #219).
27
+ * Add shapefile.VERBOSE flag to control warnings verbosity (default True).
14
28
* Shape object information when calling repr().
15
29
* Faster ring orientation checks, enforce geojson output ring orientation.
16
30
You can’t perform that action at this time.
0 commit comments