jazzband / geojson

Python bindings and utilities for GeoJSON
https://pypi.python.org/pypi/geojson/
BSD 3-Clause "New" or "Revised" License
898 stars 120 forks source link

Fixed utils.coords() to process GeometryCollection properly #146

Closed nnseva closed 3 years ago

nnseva commented 4 years ago

This is a fix for #145

Tests demonstrating bug and fix have been provided

codecov[bot] commented 4 years ago

Codecov Report

Merging #146 into master will increase coverage by 0.06%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
+ Coverage   95.41%   95.48%   +0.06%     
==========================================
  Files          10       10              
  Lines         349      354       +5     
  Branches       71       75       +4     
==========================================
+ Hits          333      338       +5     
  Misses          9        9              
  Partials        7        7              
Impacted Files Coverage Δ
geojson/utils.py 89.09% <100.00%> (+0.51%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f56f28e...23e7795. Read the comment docs.