Skip to content

No data on mapbox with Deck.gl GeoJSON chart #34748

Description

@aklein-1s

Bug description

I tried to use deck.gl GeoJSON chart to display a maps of point or polyline.
The original table contains a column geometry (postgresql) with a Lambert 93 (2145) projection.
After some research and tests, I tried to create a view to transform this column to GeoJSON format :

st_asgeojson(st_transform(ggevent.geometry, 4326)) AS geometry

So I test this column with deck.gl GeoJSON chart but the mapbox is empty :
Image
I updated the viewport like my geometry values for information.

Screenshots/recordings

No response

Superset version

5.0.0

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions