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

Mapbox visualization doesn't plot lat lngs #7257

Closed
3 tasks done
mindgamer opened this issue Apr 9, 2019 · 1 comment
Closed
3 tasks done

Mapbox visualization doesn't plot lat lngs #7257

mindgamer opened this issue Apr 9, 2019 · 1 comment
Labels
inactive Inactive for >= 30 days

Comments

@mindgamer
Copy link

mindgamer commented Apr 9, 2019

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Superset version - 0.28.1

Python Version - 2.7.15

Expected results

Actual results

image

Steps to reproduce

I've latitude and longitude columns in druid database (sample data below) and trying to plot it on Mapbox visualization. Mapbox doesn't seem to plot all the points and in my case it plots one point (Lat/Lng) only (picture above). When I filter and try to plot a specific point (Lat/Lng) it throws below error. Did anyone face similar issue? Can someone suggest a workaround to load all points in Mapbox?

{"time": "2019-04-07T19:00:14.000Z","latitude": 42.584301,"longitude": 12.645698,"networkProvider": "Wind IT","radioAccessTechnology": "LTE","bandType": "LowBand","bandInfo": 20,"numOfObservations": 1}

Error:
value@http://localhost:7120/static/assets/dist/vendors-deckgl/layers/arc-deckgl/layers/geojson-deckgl/layers/grid-deckgl/layers/hex-deckgl/layers/p-39b91eb9.81565bc93ff56be4e334.chunk.js:2:12328
e@http://localhost:7120/static/assets/dist/vendors-deckgl/layers/arc-deckgl/layers/geojson-deckgl/layers/grid-deckgl/layers/hex-deckgl/layers/p-39b91eb9.81565bc93ff56be4e334.chunk.js:2:20118
kt@http://localhost:7120/static/assets/dist/vendors-deckgl/layers/arc-deckgl/layers/geojson-deckgl/layers/grid-deckgl/layers/hex-deckgl/layers/p-39b91eb9.81565bc93ff56be4e334.chunk.js:2:23570
e@http://localhost:7120/static/assets/dist/vendors-deckgl/layers/arc-deckgl/layers/geojson-deckgl/layers/grid-deckgl/layers/hex-deckgl/layers/p-39b91eb9.81565bc93ff56be4e334.chunk.js:2:30118
value@http://localhost:7120/static/assets/dist/vendors-deckgl/layers/arc-deckgl/layers/geojson-deckgl/layers/grid-deckgl/layers/hex-deckgl/layers/p-39b91eb9.81565bc93ff56be4e334.chunk.js:2:31578
e@http://localhost:7120/static/assets/dist/mapbox.500501f19aa1c7366167.chunk.js:1:60003
Xi@http://localhost:7120/static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1381937
Ro@http://localhost:7120/static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1401254
No@http://localhost:7120/static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1401600
ha@http://localhost:7120/static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1406268
da@http://localhost:7120/static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1405922
Do@http://localhost:7120/static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1404434
enqueueSetState@http://localhost:7120/static/assets/dist/vendors-major.4f5a17619ab655ae0e0c.chunk.js:2:1373460
setState@http://localhost:7120/static/assets/dist/explore.d3beaf73a661104a3627.entry.js:2:779059
onStateChange@http://localhost:7120/static/assets/dist/explore.d3beaf73a661104a3627.entry.js:2:443843
[native code]
y@http://localhost:7120/static/assets/dist/explore.d3beaf73a661104a3627.entry.js:2:272694
promiseReactionJob@[native code]

Also tried plotting points on Deck.gl screen grid visualization and it loads all the points, however it shows weight as grids (square boxes) instead of showing the weight info on the point.

image

I downgraded superset version to 0.26.3 and Mapbox seem to plot all the points however Zoom-In and Zoom-out needs rerunning the query again and again even with Live render turned on.

@mindgamer mindgamer changed the title Mapbox visualization doesn't plot lat longs Mapbox visualization doesn't plot lat lngs Apr 10, 2019
@stale
Copy link

stale bot commented Jun 9, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

1 participant