Closed ianthomas23 closed 8 months ago
Merging #1293 (637f1f8) into main (606f7bf) will decrease coverage by
0.09%
. The diff coverage is80.70%
.
@@ Coverage Diff @@
## main #1293 +/- ##
==========================================
- Coverage 85.74% 85.66% -0.09%
==========================================
Files 52 52
Lines 10946 11114 +168
==========================================
+ Hits 9386 9521 +135
- Misses 1560 1593 +33
This builds on PR #1285 to support rendering GeoPandas GeoSeries as lines and points as well as the existing polygons.
Canvas.line
accepts LineString, MultiLineString, MultiPolygon and Polygon geometry types.Canvas.points
accepts MultiPoint and Point.Canvas.polygons
accepts MultiPolygon and Polygon.There is no support for LinearRing yet as that is not supported by
shapely.to_ragged_array
.Example:
generates this image:
Lines support antialiasing as usual. All GeoPandas tests moved to their own file
test_geopandas.py
which also includes equivalent SpatialPandas tests that are pixel identical.Example notebook to follow in separate PR.
Pinging @jorisvandenbossche and @martinfleis for visibility.