Replies: 2 comments
-
WKB loader only parses one WKB. In your use case you could call the WKB loader yourself on each binary buffer in the loop. Also WKB just contains geometry not properties so you may need to wrap each geometry in a geojson feature |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,


I am trying to load WKB features into a GeoJSONLayer using the 'loaders' prop. But the features are not being displayed on the map.
I made sure that the wkbfeatures are valid features in Uint8Array.
Context: I am adding a deck.gl GeoJSONLayer on top of an OpenLayers basemap. If I add regular GeoJSON features, it works fine and the features are displayed properly. The basemap is in EPSG:3857. I am trying to load WKB features to make the map rendering faster and to load large datasets.
What am I missing,
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions