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

[Bug] geoJSON points not loading #1196

Closed
ford-scoop opened this issue Jul 16, 2020 · 3 comments
Closed

[Bug] geoJSON points not loading #1196

ford-scoop opened this issue Jul 16, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@ford-scoop
Copy link

Describe the bug
I am trying to upload geoJSON files that include just a single Feature that is a Point, but am getting a Failed to upload files error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to kepler.gl/demo
  2. Try to upload this geoJSON snippet (as a .geoJSON file):
{
	"type": "Feature", 
	"geometry": {
		"type": "Point", 
		"coordinates": [
			41.8817441, -87.6335398
		]
	}, 
	"properties": {
		"lat": 41.8817441, 
		"lng": -87.6335398, 
		"icon": "place"
	}
}

This results in a Failed to upload files error.

Expected behavior
It is expected the file uploads and the Point appears on the map.

Desktop (please complete the following information):

  • OS: macOS 10.15.4
  • Browser: chrome
  • Version: 83.0.4103.116

Additional context
This process worked as recently as mid-late May, so I believe a recent release may have broken it. Other geoJSON files that I upload work, though they are all either FeatureCollections or MultiLineStrings.

I also tried to use the examples in the docs. The single Feature also failed, while the FeatureCollection uploaded as expected.

Thank you!

@heshan0131
Copy link
Contributor

Fix is coming up, for now, use feature collection to wrap single feature.
Thanks

@ford-scoop
Copy link
Author

Awesome, thank you! Will do that for the time being :)

@heshan0131
Copy link
Contributor

merged with #1212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants