diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b885958..785aa3f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,54 @@ # Changelog +## [0.7.0] - 2024-03-21 + +### New! :sparkles: + +* There's a [new command-line interface (CLI)](https://developmentseed.org/lonboard/v0.7.0/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 https://github.com/developmentseed/lonboard/pull/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 https://github.com/developmentseed/lonboard/pull/399 + + ![Type hints are now supported in constructors.](assets/type-hints-constructor.jpg) +* 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 https://github.com/developmentseed/lonboard/pull/395. +* Lonboard is [now on `conda-forge`](https://prefix.dev/channels/conda-forge/packages/lonboard)! Install with `conda install -c conda-forge lonboard`. By @giswqs in https://github.com/developmentseed/lonboard/pull/223 +* Add [PointCloudLayer](https://developmentseed.org/lonboard/v0.7.0/api/layers/point-cloud-layer/). By @kylebarron in https://github.com/developmentseed/lonboard/pull/396 +* Add [fly-to map action](https://developmentseed.org/lonboard/v0.7.0/api/map/#lonboard.Map.fly_to) to "fly" the map to a new location. By @kylebarron in https://github.com/developmentseed/lonboard/pull/408 +* [Docs showcase page](https://developmentseed.org/lonboard/v0.7.0/examples/) by @kylebarron in https://github.com/developmentseed/lonboard/pull/401 +* Improve default colors in [`viz`](https://developmentseed.org/lonboard/v0.7.0/api/viz/). We now attempt to apply some basic styling onto data passed into `viz`. This will likely further improve in the future. By @kylebarron in https://github.com/developmentseed/lonboard/pull/389 + +### Fixes :bug: + +* Set exported HTML height to 100% by @kylebarron in https://github.com/developmentseed/lonboard/pull/377 +* Raise error on single input to MultiRangeSlider by @kylebarron in https://github.com/developmentseed/lonboard/pull/367 +* Fix pandas `to_numeric` FutureWarning by @kylebarron in https://github.com/developmentseed/lonboard/pull/368 +* Fix viewing polygons in local html files by @kylebarron in https://github.com/developmentseed/lonboard/pull/387 +* Fix: fix sliced array input for reprojection by @kylebarron in https://github.com/developmentseed/lonboard/pull/391 +* Fix: Don't reproject for epsg:4326 input by @kylebarron in https://github.com/developmentseed/lonboard/pull/392 +* Fix: Fix weighted centroid calculation by @kylebarron in https://github.com/developmentseed/lonboard/pull/393 +* Fix `viz()` with `__geo_interface__` input by @kylebarron in https://github.com/developmentseed/lonboard/pull/426 +* Add DataFilterExtension notebook to website by @kylebarron in https://github.com/developmentseed/lonboard/pull/362 +* Allow non-compliant geoarrow CRS metadata by @kylebarron in https://github.com/developmentseed/lonboard/pull/369 +* Automatically parse geoarrow.wkb to native geoarrow by @kylebarron in https://github.com/developmentseed/lonboard/pull/372 +* Parse GeoParquet metadata by @kylebarron in https://github.com/developmentseed/lonboard/pull/407 +* CLI: 'crs' in geoparquet metadata should be optional. by @jwass in https://github.com/developmentseed/lonboard/pull/411 + +### Other changes + +* Creating a new user bug report by @emmalu in https://github.com/developmentseed/lonboard/pull/386 +* Update epic template by @emmalu in https://github.com/developmentseed/lonboard/pull/382 +* NormalAccessor by @naomatheus in https://github.com/developmentseed/lonboard/pull/376 +* Conda: Try including `manifest.in` file for `static` folder inclusion by @kylebarron in https://github.com/developmentseed/lonboard/pull/421 +* Switch to animated hero image by @kylebarron in https://github.com/developmentseed/lonboard/pull/423 +* Add CRS to GeoDataFrame in notebook examples by @kylebarron in https://github.com/developmentseed/lonboard/pull/419 + +## New Contributors + +* @emmalu made their first contribution in https://github.com/developmentseed/lonboard/pull/382 +* @naomatheus made their first contribution in https://github.com/developmentseed/lonboard/pull/376 +* @jwass made their first contribution in https://github.com/developmentseed/lonboard/pull/411 +* @giswqs made their first contribution in https://github.com/developmentseed/lonboard/pull/223 + +**Full Changelog**: https://github.com/developmentseed/lonboard/compare/v0.6.0...v0.7.0 + ## [0.6.0] - 2024-02-13 ### New! :sparkles: diff --git a/README.md b/README.md index 405591f3..a173aabc 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ gdf = gpd.GeoDataFrame(...) viz(gdf) ``` -Under the hood, this delegates to a `ScatterplotLayer`, `PathLayer`, or `SolidPolygonLayer`. Refer to the [documentation](https://developmentseed.org/lonboard/) and [examples](https://developmentseed.org/lonboard/latest/examples/internet-speeds/) for more control over rendering. +Under the hood, this delegates to a [`ScatterplotLayer`](https://developmentseed.org/lonboard/latest/api/layers/scatterplot-layer/), [`PathLayer`](https://developmentseed.org/lonboard/latest/api/layers/path-layer/), or [`SolidPolygonLayer`](https://developmentseed.org/lonboard/latest/api/layers/solid-polygon-layer/). Refer to the [documentation](https://developmentseed.org/lonboard/) and [examples](https://developmentseed.org/lonboard/latest/examples/internet-speeds/) for more control over rendering. ## Documentation diff --git a/assets/type-hints-constructor.jpg b/assets/type-hints-constructor.jpg new file mode 100644 index 00000000..6187bce4 Binary files /dev/null and b/assets/type-hints-constructor.jpg differ diff --git a/docs/cli.md b/docs/cli.md index bd8d5dc5..a88a619c 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -2,7 +2,7 @@ Lonboard includes a command-line interface for quickly viewing local data files. -The CLI is accessible either through the `lonboard` entry point or via `python -m lonboard`. +The CLI is accessible either through the `lonboard` entry point or via `python -m lonboard` the latter can be useful to ensure that the `lonboard` instance you're calling is the same as your current `python` environment. ``` > lonboard --help diff --git a/pyproject.toml b/pyproject.toml index cb4bb3fe..b671fd1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "lonboard" -version = "0.7.0-beta.2" +version = "0.7.0" description = "Python library for fast, interactive geospatial vector data visualization in Jupyter." authors = ["Kyle Barron "] license = "MIT"