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

lonboard v0.4.0 polyogn visualization bug #241

Closed
giswqs opened this issue Nov 12, 2023 · 3 comments · Fixed by #243
Closed

lonboard v0.4.0 polyogn visualization bug #241

giswqs opened this issue Nov 12, 2023 · 3 comments · Fixed by #243

Comments

@giswqs
Copy link
Contributor

giswqs commented Nov 12, 2023

I tried to render a polygon. GeoPandas can render it properly. However, lonboard seems getting some weird edge rendering issue. Not sure if this a lonboard issue or the deck.gl JS library issue.

import geopandas as gpd
from lonboard import viz

# Downloaded from 'https://data.source.coop/giswqs/nwi/state_boundary/AR.parquet'
gdf = gpd.read_parquet('AR.parquet')
gdf.explore()

image

viz(gdf, get_fill_color=[0, 0, 255, 128])

image

@giswqs
Copy link
Contributor Author

giswqs commented Nov 12, 2023

@giswqs
Copy link
Contributor Author

giswqs commented Nov 12, 2023

It seems this is a new bug introduced in v0.4.0. Downgrading to v0.3.0 solves the issue.
image

@giswqs giswqs changed the title Polygon edge not rendered properly lonboard v0.4.0 polyogn visualization bug Nov 12, 2023
@kylebarron
Copy link
Member

Thanks for the reproducible examples. This should be fixed in 0.4.1, being published now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants