bartromgens / geojsoncontour

Convert matplotlib contour plots to geojson
MIT License
90 stars 31 forks source link

Do not add a feature if the polygon is empty. Do not an empty polygon… #20

Closed nems808 closed 4 years ago

nems808 commented 4 years ago

… to coordinates collection

Sometimes contourf returns an empty polygon, if this is the case, the feature should not be added. Also, sometimes the polygon starts with an empty coordinates (path). If this is the case, the isobands won’t display in Leaflet

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.4%) to 68.605% when pulling 92bbf367b357575a8c2138df1bd641cd058a568d on uhsealevelcenter:master into 26b7301254922d66e128c42451f91a58effd9ffa on bartromgens:master.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.4%) to 68.605% when pulling 92bbf367b357575a8c2138df1bd641cd058a568d on uhsealevelcenter:master into 26b7301254922d66e128c42451f91a58effd9ffa on bartromgens:master.

bartromgens commented 4 years ago

:+1: Thanks!