Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore geojson features with empty coordinates #609

Merged
merged 2 commits into from
Aug 26, 2016

Conversation

jbeezley
Copy link
Contributor

GeoJSON features with empty coordinate arrays validate correctly at geojsonlint, so we should handle them somehow. In this PR, I just filter them out before returning from the reader otherwise the renders throw all sorts of ugly errors.

@manthey
Copy link
Contributor

manthey commented Aug 26, 2016

LGTM

@codecov-io
Copy link

codecov-io commented Aug 26, 2016

Current coverage is 81.70% (diff: 100%)

Merging #609 into master will increase coverage by 0.03%

@@             master       #609   diff @@
==========================================
  Files            82         82          
  Lines          7490       7492     +2   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           6117       6121     +4   
+ Misses         1373       1371     -2   
  Partials          0          0          

Powered by Codecov. Last update 60335a1...12006b9

@jbeezley jbeezley merged commit 0a6efce into master Aug 26, 2016
@jbeezley jbeezley deleted the geojson-empty-geometries branch August 26, 2016 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants