Changelog¶
[0.10.3] - 2024-10-15¶
Fixes ¶
- Downgrade minimum traitlets version to fix use with Colab. developmentseed/lonboard!687
[0.10.2] - 2024-10-10¶
Fixes ¶
- Fix using
TripsLayer.from_movingpandas
with numpy v2.
[0.10.1] - 2024-10-08¶
Fixes ¶
- Fix import when pandas not installed.
[0.10.0] - 2024-10-07¶
New! ¶
- New
TripsLayer
for animating moving objects, which integrates with MovingPandas. See the Air Traffic Control example and the MovingPandas integration example. - New
ColumnLayer
for rendering extruded cylinders. See the newColumnLayer
example. - Removed required dependencies!
geopandas
,pandas
,shapely
,pyarrow
,matplotlib
, andpalettable
are now optional dependencies. Lonboard will still work out of the box with them, but they aren't required to use Lonboard. This gives Lonboard a smaller footprint and makes it easier to use in environments such as Pyodide. - You can now draw bounding boxes on the map. This is exposed as the
selected_bounds
attribute on theMap
object, stored as a two-dimensional bounding box(minx, miny, maxx, maxy)
. - Improved documentation
- How to use Lonboard in pyodide, a Python environment that is fully running in your browser.
- Add linked maps example by @ATL2001 in developmentseed/lonboard!655
- Add troubleshooting doc by @kylebarron in developmentseed/lonboard!654
- Add longraph to showcase by @kylebarron in developmentseed/lonboard!595
- New
Map.add_layer
method for easily adding more layer(s) to an existingMap
instance. - Add
highlight_color
to change the color ofauto_highlight
by @kylebarron in developmentseed/lonboard!666 - Use deterministic colors in
viz
by @kylebarron in developmentseed/lonboard!621 - Categorical data filtering. The
DataFilterExtension
now has afilter_categories
attribute that lets you filter categorical data on the map. by @kylebarron in developmentseed/lonboard!609
Breaking Changes ¶
- The tooltip shown on hover was replaced with a side panel. You now must click on a geometry to view its attributes. By @vgeorge in developmentseed/lonboard!636
Fixes ¶
- We've switched from storing
list
objects to storingtuple
objects (e.g. the list of layers in aMap
). The immutability of thetuple
ensures that a any changes in the sequence of layers will be propagated to the frontend.Fixed in developmentseed/lonboard!620 - A class of bugs was fixed when using Arrow input, where the chunking structure of the main
table
did not match the chunking of accessors. Fixed in developmentseed/lonboard!644 - Fix reading from DuckDB with only geometry column by @kylebarron in developmentseed/lonboard!625
- Fix attribution by @vgeorge in developmentseed/lonboard!561
New Contributors¶
- @MarcSkovMadsen made their first contribution in developmentseed/lonboard!539
- @ATL2001 made their first contribution in developmentseed/lonboard!655
Full Changelog: github.com/developmentseed/lonboard/compare/v0.9.3...v0.10.0
[0.9.3] - 2024-05-27¶
Fixes ¶
- Fix reprojecting GeoArrow input by @kylebarron in developmentseed/lonboard!532
Full Changelog: github.com/developmentseed/lonboard/compare/v0.9.2...v0.9.3
[0.9.2] - 2024-05-14¶
Fixes ¶
- Reverse the layer order for automatically split geometry by @RaczeQ in developmentseed/lonboard!516
What's Changed¶
- Perf: Use ravel, not flatten, for numpy to pyarrow by @kylebarron in developmentseed/lonboard!512
- Update docstring in as_html by @kylebarron in developmentseed/lonboard!519
- Add type checks to fly_to by @kylebarron in developmentseed/lonboard!521
- Add pypi classifiers by @kylebarron in developmentseed/lonboard!523
New Contributors¶
- @RaczeQ made their first contribution in developmentseed/lonboard!516
Full Changelog: github.com/developmentseed/lonboard/compare/v0.9.1...v0.9.2
[0.9.1] - 2024-05-07¶
Fixes ¶
- Fix parquet-wasm WASM version mismatch by @kylebarron in developmentseed/lonboard!508
Full Changelog: github.com/developmentseed/lonboard/compare/v0.9.0...v0.9.1
[0.9.0] - 2024-05-06¶
New! ¶
- Direct DuckDB Spatial integration. Refer to the DuckDB example notebook and the DuckDB page in the documentation. by @kylebarron in developmentseed/lonboard!498
- Add overture buildings notebook by @kylebarron in developmentseed/lonboard!479
- Adding PathStyleExtension code by @shriv in developmentseed/lonboard!487
- Handle mixed geometry types in
viz
by @kylebarron in developmentseed/lonboard!495 - Render map as static HTML file by @kylebarron in developmentseed/lonboard!474. You can use
Map.as_html
to render a map in notebook environments that support HTML but not widgets. - Improved integration with geoarrow-pyarrow by @kylebarron in developmentseed/lonboard!470
Fixes ¶
- Updated Map keyword arguments by @kylebarron in developmentseed/lonboard!496
- validate basemap style is a url by @kylebarron in developmentseed/lonboard!497
New Contributors¶
- @willemarcel made their first contribution in developmentseed/lonboard!486
- @shriv made their first contribution in developmentseed/lonboard!487
Full Changelog: github.com/developmentseed/lonboard/compare/v0.8.0...v0.9.0
[0.8.0] - 2024-04-05¶
New! ¶
- A new
PolygonLayer
! This layer renders polygon outlines for easier visibility. @kylebarron in developmentseed/lonboard!330 - An example using
PolygonLayer
by @naomatheus in developmentseed/lonboard!351 - Sync view state between JS and Python by @kylebarron in developmentseed/lonboard!448
- Support geoarrow array input into
viz()
by @kylebarron in developmentseed/lonboard!427 - Internal architecture documentation by @kylebarron in developmentseed/lonboard!450
Fixes ¶
- Fix CLI with unset
geometry_name
by @kylebarron in developmentseed/lonboard!451
Full Changelog: github.com/developmentseed/lonboard/compare/v0.7.1...v0.8.0
[0.7.1] - 2024-03-22¶
Fixes ¶
- Fix CLI with geopackage files by @kylebarron in developmentseed/lonboard!434
Full Changelog: github.com/developmentseed/lonboard/compare/v0.7.0...v0.7.1
[0.7.0] - 2024-03-21¶
New! ¶
- There's a new command-line interface (CLI)! Use the
lonboard
command to quickly visualize one or more data files readable by GDAL! For example:lonboard admins.geojson features.gpkg
. By @kylebarron in developmentseed/lonboard!379 - Type hinting for constructors and
from_geopandas
method. This should make it easier to pass the correct parameters into layers. This has been tested to work in IDEs like VSCode, but unfortunately appears not to work in JupyterLab. By @kylebarron in developmentseed/lonboard!399
- Warn on missing CRS. One of the most common reasons that you might see an empty map is from accidentally visualizing data that is not in EPSG 4326 (longitude-latitude). We now emit a warning for data that doesn't have a CRS defined on the data. By @kylebarron in developmentseed/lonboard!395.
- Lonboard is now on
conda-forge
! Install withconda install -c conda-forge lonboard
. By @giswqs in developmentseed/lonboard!223 - Add PointCloudLayer. By @kylebarron in developmentseed/lonboard!396
- Add fly-to map action to "fly" the map to a new location. By @kylebarron in developmentseed/lonboard!408
- Docs showcase page by @kylebarron in developmentseed/lonboard!401
- Improve default colors in
viz
. We now attempt to apply some basic styling onto data passed intoviz
. This will likely further improve in the future. By @kylebarron in developmentseed/lonboard!389
Fixes ¶
- Set exported HTML height to 100% by @kylebarron in developmentseed/lonboard!377
- Raise error on single input to MultiRangeSlider by @kylebarron in developmentseed/lonboard!367
- Fix pandas
to_numeric
FutureWarning by @kylebarron in developmentseed/lonboard!368 - Fix viewing polygons in local html files by @kylebarron in developmentseed/lonboard!387
- Fix: fix sliced array input for reprojection by @kylebarron in developmentseed/lonboard!391
- Fix: Don't reproject for epsg:4326 input by @kylebarron in developmentseed/lonboard!392
- Fix: Fix weighted centroid calculation by @kylebarron in developmentseed/lonboard!393
- Fix
viz()
with__geo_interface__
input by @kylebarron in developmentseed/lonboard!426 - Add DataFilterExtension notebook to website by @kylebarron in developmentseed/lonboard!362
- Allow non-compliant geoarrow CRS metadata by @kylebarron in developmentseed/lonboard!369
- Automatically parse geoarrow.wkb to native geoarrow by @kylebarron in developmentseed/lonboard!372
- Parse GeoParquet metadata by @kylebarron in developmentseed/lonboard!407
- CLI: 'crs' in geoparquet metadata should be optional. by @jwass in developmentseed/lonboard!411
Other changes¶
- Creating a new user bug report by @emmalu in developmentseed/lonboard!386
- Update epic template by @emmalu in developmentseed/lonboard!382
- NormalAccessor by @naomatheus in developmentseed/lonboard!376
- Conda: Try including
manifest.in
file forstatic
folder inclusion by @kylebarron in developmentseed/lonboard!421 - Switch to animated hero image by @kylebarron in developmentseed/lonboard!423
- Add CRS to GeoDataFrame in notebook examples by @kylebarron in developmentseed/lonboard!419
New Contributors¶
- @emmalu made their first contribution in developmentseed/lonboard!382
- @naomatheus made their first contribution in developmentseed/lonboard!376
- @jwass made their first contribution in developmentseed/lonboard!411
- @giswqs made their first contribution in developmentseed/lonboard!223
Full Changelog: github.com/developmentseed/lonboard/compare/v0.6.0...v0.7.0
[0.6.0] - 2024-02-13¶
New! ¶
- DataFilterExtension by @kylebarron in developmentseed/lonboard!278
- Multi-range sliders for DataFilterExtension by @kylebarron in developmentseed/lonboard!340
- BitmapLayer and BitmapTileLayer by @kylebarron in developmentseed/lonboard!288
- Improved GeoArrow interop by @kylebarron in developmentseed/lonboard!308
- Allow passing a positional
layers
object intoMap
by @kylebarron in developmentseed/lonboard!319 - GeoArrow-based multithreaded coordinate reprojection by @kylebarron in developmentseed/lonboard!337
- Support
pyarrow.Table
withgeoarrow.pyarrow
extension types as geometry columns by @jorisvandenbossche in developmentseed/lonboard!218 - Add ecosystem/integrations documentation by @kylebarron in developmentseed/lonboard!350
Fixes ¶
- Add font to index.css to fix static HTML export by @jtmiclat in developmentseed/lonboard!284
- Fix displaying tooltip for first row by @kylebarron in developmentseed/lonboard!287
- accept matplotlib colormap input to apply_cmap by @kylebarron in developmentseed/lonboard!289
- Use preferred OSM tile url by @kylebarron in developmentseed/lonboard!290
- set max zoom on osm layer by @kylebarron in developmentseed/lonboard!291
- Update contributor docs by @kylebarron in developmentseed/lonboard!316
- Check epsg:4326 bounds in layer creation by @kylebarron in developmentseed/lonboard!317
- add reference for installing from source by @kylebarron in developmentseed/lonboard!318
- Fix inferring number of rows per chunk by @kylebarron in developmentseed/lonboard!327
- Fix null checks by @kylebarron in developmentseed/lonboard!331
- Set max number of chunks per layer by @kylebarron in developmentseed/lonboard!332
- Move accessor length validation to serialization by @kylebarron in developmentseed/lonboard!333
- Deduplicate serialization for accessors by @kylebarron in developmentseed/lonboard!334
- Multi-dimensional GPU-based data filtering by @kylebarron in developmentseed/lonboard!335
- Bump anywidget to 0.9 & simplify Wasm initialization by @kylebarron in developmentseed/lonboard!344
- Fix null checks by @kylebarron in developmentseed/lonboard!348
- docs fixes by @kylebarron in developmentseed/lonboard!354
- Add
DataFilterExtension
example by @kylebarron in developmentseed/lonboard!358 - fix arc layer default arguments by @kylebarron in developmentseed/lonboard!359
New Contributors¶
- @jtmiclat made their first contribution in developmentseed/lonboard!284
- @jorisvandenbossche made their first contribution in developmentseed/lonboard!218
Full Changelog: github.com/developmentseed/lonboard/compare/v0.5.0...v0.6.0
[0.5.0] - 2023-12-01¶
New Features¶
- Improve map height by @vgeorge in developmentseed/lonboard!220
- Add method to apply a categorical colormap by @kylebarron in developmentseed/lonboard!251
- Deduce environment and set map height in colab and vscode by @kylebarron in developmentseed/lonboard!252
- Add various carto basemaps as options by @kylebarron in developmentseed/lonboard!268
- Sync the clicked index back to Python by @kylebarron in developmentseed/lonboard!270
- Set
width_min_pixels
in PathLayer example by @kylebarron in developmentseed/lonboard!276 - Bump deck.gl layers for performance benefits by @kylebarron in developmentseed/lonboard!277
Full Changelog: github.com/developmentseed/lonboard/compare/v0.4.2...v0.5.0
[0.4.2] - 2023-11-13¶
Fixed¶
- Fixed ScatterplotLayer rendering by @kylebarron in developmentseed/lonboard!246
Full Changelog: github.com/developmentseed/lonboard/compare/v0.4.1...v0.4.2
[0.4.1] - 2023-11-13¶
Fixed¶
- Fixed Polygon rendering by @kylebarron in developmentseed/lonboard!243
Full Changelog: github.com/developmentseed/lonboard/compare/v0.4.0...v0.4.1
[0.4.0] - 2023-11-10¶
New Features¶
- New
HeatmapLayer
- New
experimental
module, with new layers (ArcLayer
,TextLayer
) and "layer extensions" (BrushingExtension
,CollisionFilterExtension
). - New "migration" notebook using the experimental
ArcLayer
.
Fixed¶
- Add pandas v2 requirement by @kylebarron in developmentseed/lonboard!229
- bump anywidget to 0.7.1 by @kylebarron in developmentseed/lonboard!233
This should error when the JS files have not been included when packaging.
Full Changelog: github.com/developmentseed/lonboard/compare/v0.3.0...v0.4.0
[0.3.0] - 2023-11-07¶
New Features¶
- Save widget to standalone HTML file by @kylebarron in developmentseed/lonboard!199
- Support for rendering inside Visual Studio Code
- Allow customized picking radius by @kylebarron in developmentseed/lonboard!212
- New example notebooks
- Automatically downcast data types in
from_geopandas
by @kylebarron in developmentseed/lonboard!195
Fixed¶
- Allow pandas series as accessor to FloatAccessor by @kylebarron in developmentseed/lonboard!208
- Raise error when creating class with unknown keyword argument by @kylebarron in developmentseed/lonboard!209
- fix tooltip rendering when not hovering over an object by @kylebarron in developmentseed/lonboard!215
Full Changelog: github.com/developmentseed/lonboard/compare/v0.2.0...v0.3.0
[0.2.0] - 2023-11-01¶
Breaking Changes¶
- Layers no longer render a map object. Instead, pass one or more layer instances into a
lonboard.Map
and display that.
New Features¶
- Support multiple layers on a single map.
- Tooltip with data information on hover.
- Allow hex string color input to ColorAccessor.
- Versioned documentation website
- New examples
- Experimental API to change map height
Fixed¶
- Fix handling of 3d coordinates by @kylebarron in developmentseed/lonboard!160
- Improved validation error messages by @kylebarron in developmentseed/lonboard!161
New Contributors¶
- @chrisgervang made their first contribution in developmentseed/lonboard!150
Full Changelog: github.com/developmentseed/lonboard/compare/v0.1.2...v0.2.0
[0.1.2] - 2023-10-24¶
- Actually update
@geoarrow/deck.gl-layers
to version 0.2.0, whoops 😅
[0.1.1] - 2023-10-23¶
- Updates to
@geoarrow/deck.gl-layers
version 0.2.0: - Fixed MultiPolygon rendering
- Fixed rendering of polygons with holes.
- Polygon rendering is roughly 35% faster.
[0.1.0] - 2023-10-17¶
- Initial public release.
- Initial support for
ScatterplotLayer
,PathLayer
, andSolidPolygonLayer
.