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

What if a layer has no features? Or an attribute more values? #23

Open
davidtheclark opened this issue Aug 1, 2016 · 2 comments
Open

Comments

@davidtheclark
Copy link
Contributor

We need to make sure these cases are covered.

@mapsam
Copy link
Contributor

mapsam commented Apr 21, 2017

@davidtheclark currently if you pass a geojson with no features, the output looks like this:

{
  layerCount: 1,
  layers: [
    {
      attributeCount: 0,
      attributes: [],
      count: 0,
      layer: 'no-features'
    }
  ]
}

Is this acceptable?

@davidtheclark
Copy link
Contributor Author

@mapbox-machine: Seems fine to me!

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

No branches or pull requests

2 participants