-
Notifications
You must be signed in to change notification settings - Fork 33
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 within quarto? #473
Comments
I'm not familiar with using quarto in this way. Does |
The latter. I normally render the quarto document within a single html. The rendering engine for python in quarto is Jupyter and I can even render a |
You can try using |
Many thanks @kylebarron..! I will try that as well 👍 |
Got a
However, it is a bit slow for all the links in the full country so I'm going to move the project to a shiny app. |
@shriv how did you get quarto to output the HTML properly? |
@arthurgailes I just had the following in
|
@shriv that works, thank you very much. |
Closes #473 ```py import lonboard import geopandas as gpd gdf = gpd.read_file(gpd.datasets.get_path('nybb')) m = lonboard.viz(gdf) m.as_html() ``` <img width="658" alt="image" src="https://github.com/developmentseed/lonboard/assets/15164633/58bacf5f-e2c9-4d72-bc74-de1a6e4d04bc">
This is more of a question rather than a request for an epic! My use case is plotting traffic volumes on every street (technically "link" i.e. segments between intersections) in New Zealand within an HTML document generated by
quarto
. The data is too big to be rendered comfortably byleaflet
-based libraries and I have to filter the data considerably to view an interactive output.I'm wondering if
lonboard
can be used within aquarto
document to visualise the full dataset? I see thatlonboard
can be used withshiny
but most of my other visualisations can be output as a simple static HTML and hosted on Gitlab Pages so this option would be preferable :-)The text was updated successfully, but these errors were encountered: