-
Notifications
You must be signed in to change notification settings - Fork 8
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
Issues using Deck with Geoarrow #132
Comments
It's not clear to me; were you trying to render points with the solid polygon layer? You can only use the SolidPolygonLayer with Polygon or MultiPolygon data, and the geometries need to be in native GeoArrow format, not WKT or WKB.
geoparquet-wasm isn't really production ready yet. But you can read the README of parquet-wasm, which has most of the same information.
First try to render with a single color for all points, so then you know the geometry data is at least rendering. You may have to set |
I don't have a lot of bandwidth to help with this, and screenshots aren't reproducible. You should ensure that you can run the The reason I've focused on Lonboard is that it's easier to create GeoArrow-formatted data in Python than in JS, and there aren't a lot of resources yet for creating this data format in JS proper |
Yes, also I think it is more of a problem with deck.gl, as also for random data it renders at origin. I started a discussion there. |
Oh perhaps that's an issue with #124. The main library is using deck.gl v9 now but the examples (or at least the |
Hi Kyle,
first of all: Amazing work that you are doing! Thank you!
I just found your library and was trying out some of the things. From a blog of you I found earlier, I got this internet speeds dataset:
https://observablehq.com/@kylebarron/geoparquet-on-the-web.
And i wanted to make it run with your library but were getting into "not a polygon or multipolygon" errors when loading the parquet via parquet-wasm and then using your GeoarrowSolidpolygon layer.
For geoparquet-wasm I run into some errors of the wasm initialization. Maybe some of the parts you are doing here: https://github.com/developmentseed/lonboard/blob/main/src/parquet.ts are missing in the documentation :)
So in the end I tried to implement it with a feather of the centroids directly like you are doing in the blog. I had to adjust it somehow a little as you can see below, but am at least getting the same layer now from what I can see.
However, this layer is not showing on the map. If you could have a look, I would really appreciate it. Maybe you can spot the error I am not seeing.
So this is my script:
This is the layer it produces:
Thanks a lot!
The text was updated successfully, but these errors were encountered: