Skip to content

feat: replace map _height with height #816

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

Draft
wants to merge 449 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
449 commits
Select commit Hold shift + click to select a range
b7dd254
Bump to es2022 and use top-level await (#346)
kylebarron Feb 6, 2024
d1409ae
Bump the other group with 9 updates (#345)
dependabot[bot] Feb 6, 2024
ca4c7b1
Bump @geoarrow/deck.gl-layers from 0.3.0-beta.8 to 0.3.0-beta.11 (#347)
dependabot[bot] Feb 6, 2024
20a17e3
Bump the deck-loaders-luma group with 4 updates (#324)
dependabot[bot] Feb 6, 2024
ab019bf
Fix null checks (#348)
kylebarron Feb 6, 2024
bf1794c
Downgrade maplibre to <4 (#349)
kylebarron Feb 6, 2024
bf843c0
Add ecosystem/integrations documentation (#350)
kylebarron Feb 6, 2024
ede2590
docs fixes (#354)
kylebarron Feb 12, 2024
696e2c7
Add `DataFilterExtension` example (#358)
kylebarron Feb 13, 2024
f0410f8
fix arc layer default arguments (#359)
kylebarron Feb 13, 2024
10f02b5
bump version to 0.6 (#360)
kylebarron Feb 13, 2024
6ca33a8
updated changelog for 0.6 (#361)
kylebarron Feb 13, 2024
ce77af4
Add DataFilterExtension notebook to website (#362)
kylebarron Feb 13, 2024
d5aad87
Raise error on single input to MultiRangeSlider (#367)
kylebarron Feb 14, 2024
438eb3b
Fix pandas `to_numeric` FutureWarning (#368)
kylebarron Feb 14, 2024
250f9f9
Allow non-compliant geoarrow CRS metadata (#369)
kylebarron Feb 14, 2024
4daca9b
Set exported HTML height to 100% (#377)
kylebarron Feb 23, 2024
f83268f
Automatically parse geoarrow.wkb to native geoarrow (#372)
kylebarron Feb 26, 2024
8c8a213
Add CLI (#379)
kylebarron Feb 26, 2024
6c88dbd
Update epic template (#382)
emmalu Feb 26, 2024
863ed44
Fix viewing polygons in local html files (#387)
kylebarron Feb 26, 2024
408210f
Creating a new user bug report (#386)
emmalu Feb 26, 2024
97e8467
add missing about property (#388)
emmalu Feb 26, 2024
5a7f08c
Improve default colors in `viz` (#389)
kylebarron Feb 26, 2024
14a6fdc
Fix: fix sliced array input for reprojection (#391)
kylebarron Feb 27, 2024
fcafdbf
Fix: Don't reproject for epsg:4326 input (#392)
kylebarron Feb 27, 2024
b701793
Fix: Fix weighted centroid calculation (#393)
kylebarron Feb 27, 2024
209045c
Warn on missing CRS (#395)
kylebarron Feb 29, 2024
27e3ef9
NormalAccessor (#376)
naomatheus Feb 29, 2024
bdbc2a7
Add PointCloudLayer (#396)
kylebarron Mar 1, 2024
c9f1214
Add type hinting for constructors and `from_geopandas` (#399)
kylebarron Mar 1, 2024
f412897
Bump the deck-loaders-luma group with 4 updates (#402)
dependabot[bot] Mar 4, 2024
7c948a7
Bump the other group with 6 updates (#403)
dependabot[bot] Mar 4, 2024
67e3ea6
Parse GeoParquet metadata (#407)
kylebarron Mar 5, 2024
dfd8c87
Bump to 0.7.0-beta.1 (#410)
kylebarron Mar 6, 2024
98c7d9a
CLI: 'crs' in geoparquet metadata should be optional. (#411)
jwass Mar 8, 2024
57b0776
Add fly-to map action (#408)
kylebarron Mar 13, 2024
8e97480
Bump the other group with 5 updates (#416)
dependabot[bot] Mar 13, 2024
b92b968
Add CRS to GeoDataFrame in notebook examples (#419)
kylebarron Mar 15, 2024
a2b096c
Bump the other group with 3 updates (#420)
dependabot[bot] Mar 18, 2024
c747413
Conda: Try including `manifest.in` file for `static` folder inclusion…
kylebarron Mar 18, 2024
d960f40
Add conda-forge package (#223)
giswqs Mar 19, 2024
015672d
Switch to animated hero image (#423)
kylebarron Mar 19, 2024
f44905e
Fix `viz()` with `__geo_interface__` input (#426)
kylebarron Mar 20, 2024
050c21d
Docs showcase page (#401)
kylebarron Mar 21, 2024
be7b1cb
Bump to 0.7 and update changelog (#429)
kylebarron Mar 21, 2024
7f6f16f
Fix viz docstring (#430)
kylebarron Mar 21, 2024
3b6e89e
bump development version of geoarrow-rust-core (#431)
kylebarron Mar 22, 2024
a3e125f
Fix CLI with geopackage files (#434)
kylebarron Mar 23, 2024
07dcc3b
Bump to 0.7.1 (#435)
kylebarron Mar 23, 2024
53f0d59
Bump ruff version in pre-commit (#432)
kylebarron Mar 24, 2024
5bdd908
Bump the other group with 4 updates (#439)
dependabot[bot] Mar 25, 2024
1d6491f
Support geoarrow array input into `viz()` (#427)
kylebarron Mar 25, 2024
2bed40c
Bump jupyterhub/repo2docker-action from b3cd89ff99f95b00abb5b4db27ec4…
dependabot[bot] Mar 25, 2024
e655269
PolygonLayer (#330)
kylebarron Mar 28, 2024
7ce1abd
adds an example using PolygonLayer (#351)
naomatheus Mar 28, 2024
b7d55eb
Bump the other group with 1 update (#446)
dependabot[bot] Apr 1, 2024
eafc862
Bump jupyterhub/repo2docker-action from 00874a0abfebce00bab7eaa3332d3…
dependabot[bot] Apr 1, 2024
12300ad
Sync view state between JS and Python (#448)
kylebarron Apr 2, 2024
4fb27d0
publish beta 0.8.0-beta.1 (#449)
kylebarron Apr 2, 2024
566f172
Internal architecture documentation (#450)
kylebarron Apr 4, 2024
3b231f1
Fix CLI with unset geometry_name (#451)
kylebarron Apr 5, 2024
3a20cd5
Update changelog for 0.8 (#452)
kylebarron Apr 5, 2024
c8cf2e1
Update pyproject.toml to 0.8 (#453)
kylebarron Apr 5, 2024
f062d5b
Bump mkdocs-material (#460)
kylebarron Apr 9, 2024
dca942d
Bump the other group with 5 updates (#455)
dependabot[bot] Apr 10, 2024
0b31ed1
Add plausible integration (#467)
kylebarron Apr 18, 2024
bac4843
Add feedback option to each docs page using plausible (#468)
kylebarron Apr 18, 2024
758b737
Support separated GeoArrow coords; test integration with geoarrow-pya…
kylebarron Apr 19, 2024
2d7e98f
Update viz docstring to mark support for geoarrow-pyarrow (#471)
kylebarron Apr 19, 2024
b2110b8
Bump to parquet-wasm 0.6.0 (#477)
kylebarron Apr 22, 2024
e02e080
Bump the other group across 1 directory with 6 updates (#478)
dependabot[bot] Apr 22, 2024
3e808db
Add overture buildings notebook (#479)
kylebarron Apr 22, 2024
45f83bb
Add overture example page to TOC (#480)
kylebarron Apr 22, 2024
1b34765
fix typo in overture example (#481)
kylebarron Apr 22, 2024
f597c6f
Fix typo and small improvement on Overture example (#486)
willemarcel Apr 25, 2024
b56f32a
Bump the other group with 4 updates (#489)
dependabot[bot] Apr 30, 2024
d29a31c
Handle mixed geometry types in `viz` (#495)
kylebarron May 2, 2024
a7d8e56
Updated Map keyword arguments (#496)
kylebarron May 2, 2024
0ba3b1b
Adding PathStyleExtension code (#487)
shriv May 2, 2024
1d71f97
Render map as static HTML file (#474)
kylebarron May 2, 2024
8e6a53a
validate basemap style is a url (#497)
kylebarron May 2, 2024
7eb19e0
DuckDB integration (#498)
kylebarron May 3, 2024
65aed51
Bump the other group with 3 updates (#501)
dependabot[bot] May 6, 2024
bdee1a5
DuckDB Spatial example (#504)
kylebarron May 6, 2024
9649bbd
Bump to 0.9 and add changelog (#505)
kylebarron May 6, 2024
7fe0f99
Fix parquet-wasm WASM version mismatch (#508)
kylebarron May 7, 2024
b2ca192
Perf: Use ravel, not flatten, for numpy to pyarrow (#512)
kylebarron May 10, 2024
0b064cf
Update docstring in as_html (#519)
kylebarron May 13, 2024
a1547a0
Bump the other group with 2 updates (#515)
dependabot[bot] May 13, 2024
da3c1ef
Simplify call to `Map` in Roads example (#520)
kylebarron May 13, 2024
4d0f5d8
Add type checks to fly_to (#521)
kylebarron May 13, 2024
3302008
Simplify migration example (#522)
kylebarron May 13, 2024
68cec33
Add pypi classifiers (#523)
kylebarron May 13, 2024
68cc745
Feat: reverse the layer order for automatically split geometry (#516)
RaczeQ May 14, 2024
2233c68
Bump to 0.9.2 (#525)
kylebarron May 14, 2024
c0903e2
Bump the other group with 2 updates (#527)
dependabot[bot] May 20, 2024
40c39fa
Bump jupyterhub/repo2docker-action from 73f40a661223935d94921712083a9…
dependabot[bot] May 27, 2024
dd724b1
Bump the other group with 4 updates (#530)
dependabot[bot] May 27, 2024
5b1a145
Fix reprojecting GeoArrow input (#532)
kylebarron May 27, 2024
5812fcc
Bump to 0.9.3 (#534)
kylebarron May 27, 2024
9006a41
Bump the other group with 3 updates (#535)
dependabot[bot] Jun 3, 2024
47464d5
Bump jupyterhub/repo2docker-action from 774bbb1471e3827c67b0a2730ef3a…
dependabot[bot] Jun 3, 2024
8fa762d
Document Panel in-place updates (#539)
MarcSkovMadsen Jun 5, 2024
5560ead
Bump the other group with 5 updates (#540)
dependabot[bot] Jun 12, 2024
c6b107f
Bump prettier from 3.3.1 to 3.3.2 in the other group (#546)
dependabot[bot] Jun 17, 2024
cf66dad
Small docs updates (#549)
kylebarron Jun 18, 2024
1d89c4f
remove duplicate docstrings with griffe_inherited_docstrings (#550)
kylebarron Jun 18, 2024
a31267f
Bump mkdocstrings version (#551)
kylebarron Jun 18, 2024
1214223
Fix tests with duckdb 0.10.3 (#552)
kylebarron Jun 20, 2024
225185e
Bump the other group with 3 updates (#556)
dependabot[bot] Jun 24, 2024
7349bab
Move docs dependencies to docs group (#557)
kylebarron Jun 28, 2024
5fbe356
Add CI check to ensure docs build without warnings (#558)
kylebarron Jun 28, 2024
de87051
Bump esbuild from 0.21.5 to 0.22.0 in the other group (#560)
dependabot[bot] Jul 1, 2024
98ba471
Fix attribution (#561)
vgeorge Jul 4, 2024
346c0a6
Bump the other group with 2 updates (#565)
dependabot[bot] Jul 8, 2024
a6766ef
Add feature request template (#569)
kylebarron Jul 11, 2024
121fed9
Bump the other group with 3 updates (#571)
dependabot[bot] Jul 15, 2024
258944e
Bump the other group with 2 updates (#575)
dependabot[bot] Jul 22, 2024
d9c15ed
Add `ColumnLayer` (#574)
kylebarron Jul 24, 2024
f6536ed
Parse `geoarrow.wkt` serialized data type in input (#580)
kylebarron Jul 24, 2024
95dbd52
Remove pandas, geopandas, shapely as required dependencies (#472)
kylebarron Jul 24, 2024
1474a9d
Select by bounding box (#417)
kylebarron Jul 29, 2024
b3eaa2e
Bump the other group across 1 directory with 7 updates (#584)
dependabot[bot] Jul 29, 2024
9d3f6f5
Documentation about environment variables and XState (#585)
vgeorge Jul 29, 2024
a04a9ab
Add lint check (#587)
vgeorge Jul 31, 2024
abcb5d4
Bump the other group with 7 updates (#589)
dependabot[bot] Aug 6, 2024
708f8af
Remove pyarrow dependency (#582)
kylebarron Aug 8, 2024
b8bf79d
Bump the other group with 6 updates (#591)
dependabot[bot] Aug 12, 2024
08d6973
Upgrade Deck.gl to version 9 (#562)
vgeorge Aug 13, 2024
5b7a100
Re-enable chunking when saving to Parquet (#594)
kylebarron Aug 14, 2024
10fcd05
Add longraph to showcase (#595)
kylebarron Aug 14, 2024
6b4073b
arro3 followups (#596)
kylebarron Aug 14, 2024
69c5a68
Remove matplotlib and palettable as required dependencies (#600)
kylebarron Aug 19, 2024
009b410
Add explicit numpy, ipywidgets dependency (#602)
kylebarron Aug 19, 2024
511ae9d
mostly remove compat file from public package (#603)
kylebarron Aug 19, 2024
6327120
Add docs link to matplotlib's list of named colors (#604)
kylebarron Aug 19, 2024
99e2efa
Bump to 0.10.0-beta.1 (#605)
kylebarron Aug 20, 2024
93de217
Store the PROJJSON representation of ogc-84 crs (#606)
kylebarron Aug 20, 2024
916f8d2
Bump the other group with 4 updates (#599)
dependabot[bot] Aug 20, 2024
2364d1b
Remove geopandas dependency in `viz` for shapely input (#607)
kylebarron Aug 20, 2024
213f26b
Prefer pyarrow to read/write parquet; use arro3 as fallback (#598)
kylebarron Aug 21, 2024
07187a0
Use arro3 for dictionary encoding in apply_categorical_cmap (#601)
kylebarron Aug 21, 2024
f897fa5
Basic categorical data filter (#609)
kylebarron Aug 22, 2024
b854cae
Bump the other group with 7 updates (#612)
dependabot[bot] Aug 26, 2024
e67fb8a
Store trait sequences as tuples, not lists (#620)
kylebarron Sep 3, 2024
a1ff359
Use deterministic colors in `viz` (#621)
kylebarron Sep 3, 2024
38ed3c4
Bump the other group with 8 updates (#618)
dependabot[bot] Sep 3, 2024
63d8764
Bump the deck-loaders-luma group with 4 updates (#617)
dependabot[bot] Sep 3, 2024
8688d4d
Add test for duckdb table with no property columns (#623)
kylebarron Sep 3, 2024
09c0005
Update Python dev dependencies (#624)
kylebarron Sep 3, 2024
3f0780d
Fix reading from DuckDB with only geometry column (#625)
kylebarron Sep 3, 2024
c403105
Publish 0.10.0-beta.2 (#626)
kylebarron Sep 4, 2024
442b2d1
Bump the other group with 8 updates (#630)
dependabot[bot] Sep 9, 2024
ce01364
Bump the deck-loaders-luma group with 4 updates (#629)
dependabot[bot] Sep 9, 2024
7562834
Bump the other group with 8 updates (#634)
dependabot[bot] Sep 16, 2024
a042e7b
Bump the other group with 11 updates (#642)
dependabot[bot] Sep 23, 2024
9d53fa8
Update JS dependencies (#648)
kylebarron Sep 24, 2024
7899ddc
Manage arrow rechunking (#644)
kylebarron Sep 24, 2024
7374f15
Avoid double-stringify of CRS (#649)
kylebarron Sep 24, 2024
c43c387
Add ColumnLayer example (#650)
kylebarron Sep 24, 2024
0cad90c
Remove arrow workaround from overture maps example (#652)
kylebarron Sep 24, 2024
3ca7066
Update reprojection warning (#653)
kylebarron Sep 24, 2024
3cf58a0
Add troubleshooting doc (#654)
kylebarron Sep 24, 2024
2f1e7e0
Bump the other group with 3 updates (#657)
dependabot[bot] Sep 30, 2024
41f0282
Bump the deck-loaders-luma group with 4 updates (#656)
dependabot[bot] Sep 30, 2024
44a45f8
Replace tooltip with side panel (#636)
vgeorge Oct 2, 2024
d991607
Bump arro3 to latest beta, simplify numpy/arrow interop (#662)
kylebarron Oct 3, 2024
e1baef5
Add linked maps example (#655)
ATL2001 Oct 3, 2024
69acd73
Make vendor mod private (#664)
kylebarron Oct 3, 2024
111f88f
`import traitlets as t` (#665)
kylebarron Oct 3, 2024
667dfed
Add `highlight_color` (#666)
kylebarron Oct 3, 2024
4c29afd
Pyodide docs stub (#667)
kylebarron Oct 3, 2024
664127b
Bump to arro3 0.4 (#670)
kylebarron Oct 3, 2024
5878c4c
Bump the other group with 11 updates (#673)
dependabot[bot] Oct 7, 2024
3ee9297
Bump the deck-loaders-luma group with 4 updates (#672)
dependabot[bot] Oct 7, 2024
25f7e13
Implement `TripsLayer` for animating moving objects and connect to Mo…
kylebarron Oct 7, 2024
f7c8d33
Move `selected_bounds` from `Layer` to `Map` (#676)
kylebarron Oct 7, 2024
8202ca5
Bump to 0.10 (#677)
kylebarron Oct 7, 2024
2409608
Fix import when pandas/pyarrow not installed (#678)
kylebarron Oct 8, 2024
4af9e2d
Bump to 0.10.1 (#679)
kylebarron Oct 8, 2024
5536a86
Don't use `np.alltrue`, bump to 0.10.2 (#683)
kylebarron Oct 10, 2024
b731633
Bump the deck-loaders-luma group with 4 updates (#685)
dependabot[bot] Oct 14, 2024
d254c29
Bump the other group with 5 updates (#686)
dependabot[bot] Oct 14, 2024
786c551
Reduce traitlets min version (#687)
kylebarron Oct 15, 2024
b32d9a5
Bump to 0.10.3 (#688)
kylebarron Oct 15, 2024
e682baa
Bump jupyterhub/repo2docker-action from c26a270c5694cd5b7f6121d6360da…
dependabot[bot] Oct 21, 2024
3084eef
Bump the other group with 7 updates (#691)
dependabot[bot] Oct 21, 2024
58d902c
Bump the deck-loaders-luma group with 4 updates (#693)
dependabot[bot] Oct 29, 2024
6fd27d5
Bump the other group across 1 directory with 12 updates (#699)
dependabot[bot] Nov 4, 2024
d5bc98f
Replace DS Medium link by LinkedIn (#700)
willemarcel Nov 6, 2024
b665d58
Bump the other group with 4 updates (#704)
dependabot[bot] Nov 11, 2024
b3b30ef
Bump the deck-loaders-luma group with 4 updates (#703)
dependabot[bot] Nov 11, 2024
64fafea
Geoarrow docstring update (#705)
ATL2001 Nov 11, 2024
b714e58
Add docs page with external resources (#710)
kylebarron Nov 22, 2024
6fec5f6
Bump the deck-loaders-luma group with 4 updates (#712)
dependabot[bot] Nov 26, 2024
4e43270
Bump the other group across 1 directory with 12 updates (#713)
dependabot[bot] Nov 26, 2024
07b18ac
Bump the other group with 8 updates (#714)
dependabot[bot] Dec 2, 2024
a43c5d3
Switch dependency management to uv (#721)
kylebarron Dec 17, 2024
29d5d0f
Improve side panel layout (#701)
vgeorge Dec 17, 2024
3ff75dc
Clicked point to Lonboard map (#671)
ATL2001 Dec 17, 2024
7c5ec89
Pass state in `to_html` (#726)
kylebarron Jan 7, 2025
6cec0fa
use dependency state in export (#731)
knaaptime Jan 16, 2025
15943e4
Bump astral-sh/setup-uv from 3 to 5 (#734)
dependabot[bot] Jan 21, 2025
ab8a05a
Require Python 3.9 or higher (#743)
kylebarron Feb 5, 2025
91e5936
Support Py3.12 in tests by constraining pyproj in lockfile to version…
ceholden Feb 5, 2025
ed8aab5
Panel example update (#746)
ATL2001 Feb 6, 2025
8d21506
Bump version for download and upload artifact (#751)
kylebarron Feb 10, 2025
98d68f7
Enable more ruff linters (#753)
kylebarron Feb 12, 2025
0ea87cf
Bump @geoarrow/deck.gl-layers from 0.3.0-beta.17 to 0.3.0 (#759)
dependabot[bot] Feb 24, 2025
510af74
Scope tailwind preflight styles (#740)
Bjoern-Rapp Feb 25, 2025
44f1a04
Bump to ruff 0.11 (#770)
kylebarron Mar 14, 2025
3fe5ef0
Sanitize geomcolname (#769)
danielsparing Mar 14, 2025
ac63d7c
Fix accessing default connection for duckdb 1.2 (#772)
kylebarron Mar 24, 2025
25334bc
follow stage rename in pre-commit config (#775)
danielsparing Mar 27, 2025
82e4e8e
Switch to the DuckDB Expression API to mitigate sql injection risk (#…
danielsparing Mar 28, 2025
229709f
include table name in con.table() example (#776)
danielsparing Mar 28, 2025
033a45a
Reduce ruff warnings (#778)
danielsparing Mar 31, 2025
229e995
Remove references to custom connection parameter (#784)
danielsparing Apr 21, 2025
0150ae8
updates for polygon layer documentation (#789)
ATL2001 May 6, 2025
9f91e6c
fix: ensure GeoArrow field names are set in conversion from shapely (…
kylebarron Jun 16, 2025
56e2045
feat: Support `geoarrow.box` arrays from GeoArrow 0.2 spec (#793)
kylebarron Jun 16, 2025
03f8239
feat: Allow passing Arrow table as positional argument to layer const…
kylebarron Jun 16, 2025
4378a1a
Bump astral-sh/setup-uv from 5 to 6 (#786)
dependabot[bot] Jun 16, 2025
eec38fd
chore: Bump ruff to 0.12 (#799)
kylebarron Jun 17, 2025
03fd87b
chore: Add mypy overrides to pyproject.toml (#798)
kylebarron Jun 17, 2025
1722690
chore: Ensure support for GeoArrow 0.2 CRS (#797)
kylebarron Jun 17, 2025
47fea6e
docs: Add duckdb intersphinx mapping (#800)
kylebarron Jun 17, 2025
203c29e
chore: Bump deck.gl to 9.1 (#802)
kylebarron Jun 17, 2025
5d27c00
test: Test that parsing WKB/WKT works with Arrow view types (#801)
kylebarron Jun 17, 2025
8930876
ci: Enforce conventional commits (#803)
kylebarron Jun 17, 2025
ae81363
docs: Reword section in "How it works" to reflect GeoParquet 1.1 (#804)
kylebarron Jun 17, 2025
c6c3209
feat: Reinstate tooltip (#736)
vgeorge Jun 17, 2025
b189d78
docs: Only enable mkdocs-jupyter on CI (#806)
kylebarron Jun 17, 2025
5dba08f
chore: Prepare 0.11 release (#807)
kylebarron Jun 17, 2025
605ec5a
fix: move duckdb imports to inside function (#813)
danielsparing Jun 18, 2025
c73d34e
chore: Use `>=` in typing-extensions version constraint (#814)
kylebarron Jun 18, 2025
6da32a7
chore: Prepare 0.11.1 (#815)
kylebarron Jun 18, 2025
a7fb647
replace `_height` number with `height` string, and use that `height` …
ATL2001 Jun 22, 2025
a67c149
add height/width/margins to the ata-overlay-container that is returne…
ATL2001 Jun 22, 2025
ef6c346
rename `_height` to `height` on the python side, and make it unicode …
ATL2001 Jun 22, 2025
96cd9a9
make the default height return strings which match the previous funct…
ATL2001 Jun 22, 2025
307a1fe
add an example notebook
ATL2001 Jun 22, 2025
ca4afce
chore: Bump ytanikin/pr-conventional-commits from 1.4.0 to 1.4.1 (#817)
dependabot[bot] Jun 23, 2025
7e7dd7f
Merge branch 'main' into map_height
kylebarron Jun 24, 2025
0bee81a
make height numeric or string, and always export map at 100% height
ATL2001 Jun 25, 2025
9a30a77
prevent map from re-rendering when changing the height to 100% and ba…
ATL2001 Jun 28, 2025
9e3ccba
run prettier
ATL2001 Jun 29, 2025
49cd2cf
ran pre-commit
ATL2001 Jul 1, 2025
b295592
remove errant newlines at end of markdown files
ATL2001 Jul 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lonboard>=0.1.0-beta.7
pyogrio
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Stately Inspector is enabled when this is set to true
XSTATE_INSPECT=false
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/bug---a-user-discovered-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: BUG REPORT - A specific issue type to report a bug.
about: A structured report to describe unexpected behavior.
title: "[BUG] A short yet descriptive title for the bug you're reporting"
labels: "bug"
author: "The author of this bug report"
screenshots: "Screenshots to help explain the bug"
---

## Context

What results were you expecting? <br/>
Describe any relevant background information.

## Resulting behaviour, error message or logs

**Describe what happened:**
Include relevant **screenshots**, **error messages**, and **logs**:

## Environment

- OS: [e.g. Windows 10]
- Browser: [e.g. Chrome, Safari]
- Lonboard Version: [e.g. 0.6.0]

## Steps to reproduce the bug

Describe the actions that led you to encounter the bug. Example:

1. imported lonboard into a new notebook
2. created an instance of a map
3. added a layer
<br/>
...
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: EPIC - A user story or overall goal for a subset of issues (tasks)
about: A level of hierarchy to help us organize and strategize through our work.
title: "[EPIC] A short yet descriptive title for feature or goal"
labels: ''
assignees: ''

---

## Context
What is the driving factor behind this work? <br/>
Describe any relevant background information; optionally include screenshots.

## Issue
Describe the work that we need to do and any possible dependencies on decisions

## Acceptance-Criteria
The tasks that need to be completed or artifacts that need to be produced:
- [ ] Task 1
- [ ] Task 2
- [ ] Artifact 1
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
groups:
deck-loaders-luma:
patterns:
- "*deck*"
- "*loaders*"
- "*luma*"
exclude-patterns:
- "@geoarrow/deck.gl-layers"
other:
patterns:
- "*"
exclude-patterns:
- "*deck*"
- "*loaders*"
- "*luma*"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
16 changes: 16 additions & 0 deletions .github/workflows/build-binder-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Binder
on:
push:
branches:
- main

jobs:
# https://github.com/jupyterhub/repo2docker-action#cache-builds-on-mybinderorg
Create-MyBinderOrg-Cache:
runs-on: ubuntu-latest
steps:
- name: cache binder build on mybinder.org
uses: jupyterhub/repo2docker-action@daa77f929833dcd836a711bc7837af945e9d27cc
with:
NO_PUSH: true
MYBINDERORG_TAG: ${{ github.event.ref }} # This builds the container on mybinder.org with the branch that was pushed on.
14 changes: 14 additions & 0 deletions .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PR Conventional Commit Validation

on:
pull_request_target:
types: [opened, synchronize, reopened, edited]

jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/[email protected]
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
41 changes: 41 additions & 0 deletions .github/workflows/deploy-mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish docs via GitHub Pages

# Only run on new tags starting with `v`
on:
push:
tags:
- "v*"
workflow_dispatch:

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# We need to additionally fetch the gh-pages branch for mike deploy
with:
fetch-depth: 0

- name: Install a specific version of uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
version: "0.4.x"

- name: Deploy docs
env:
GIT_COMMITTER_NAME: CI
GIT_COMMITTER_EMAIL: [email protected]
run: |
# Get most recent git tag
# https://stackoverflow.com/a/7261049
# We don't use {{github.ref_name}} because if triggered manually, it
# will be a branch name instead of a tag version.
VERSION=$(git describe --tags --abbrev=0)

# Only push docs if no letters in git tag after the first character
# (usually the git tag will have v as the first character)
if ! echo $VERSION | sed 's/^.//' | grep -q "[A-Za-z]"; then
uv run --group docs mike deploy $VERSION latest --update-aliases --push
fi
65 changes: 65 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Release

# Only run on new tags starting with `v`
on:
push:
tags:
- "v*"

jobs:
build:
name: Build dist
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
name: Install Python
with:
python-version: "3.11"

# Note: this should stay synced with the volta-pinned version in
# package.json
- uses: actions/setup-node@v4
with:
node-version: "18"

- name: Install JS dependencies
run: |
# Note: we use ci for a "clean install", checking the lockfile
npm ci

- name: Build JS bundle
run: |
npm run build

- name: Build dist
run: |
python -m pip install -U build
python -m build

- name: Ensure JS files included
run: |
# If no files with path lonboard/static, fail
unzip -l dist/*.whl | grep "lonboard/static" || exit 1

- uses: actions/upload-artifact@v4
with:
path: ./dist/

upload_pypi:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# To test: repository_url: https://test.pypi.org/legacy/
47 changes: 47 additions & 0 deletions .github/workflows/test-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CI

on:
push:
branches:
- "main"
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Volta
uses: volta-cli/action@v4

- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- uses: actions/cache@v4
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Install
run: npm install

- name: Prettier check
run: npm run prettier:check

- name: Lint check
run: npm run lint

- name: Test
run: npm run test
88 changes: 88 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Python test

# On every pull request, but only on push to master
on:
push:
branches:
- main
pull_request:

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

# Note: this should stay synced with the volta-pinned version in
# package.json
- uses: actions/setup-node@v4
with:
node-version: "18"

- name: Cache NPM dependencies
uses: actions/cache@v4
with:
path: ~/.npm
# Note: this does **not** depend on the Python version in the cache
# key
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}

- name: Install JS dependencies
run: |
# Note: we use ci for a "clean install", checking the lockfile
npm ci

- name: Install a specific version of uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
version: "0.4.x"

# Note: we don't install the "watchfiles" group on CI because it gives
# threading errors when running tests. See
# https://github.com/developmentseed/lonboard/pull/234
# https://github.com/manzt/anywidget/issues/374
- name: Install root project
run: uv sync --no-group watchfiles

- name: Build JS bundle
run: |
npm run build

- name: Run tests
run: uv run pytest

- name: Run tests (all deps)
run: |
uv sync --extra geopandas --extra cli
uv run pytest

# Ensure docs build without warnings
- name: Check docs
if: "${{ matrix.python-version == 3.11 }}"
run: uv run --group docs mkdocs build --strict

# Use ruff-action so we get annotations in the Github UI
- uses: astral-sh/ruff-action@v3

- name: Cache pre-commit virtualenvs
uses: actions/cache@v4
if: "${{ matrix.python-version == 3.11 }}"
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ hashFiles('.pre-commit-config.yaml') }}

- name: run pre-commit
if: "${{ matrix.python-version == 3.11 }}"
run: |
uv run pre-commit run --show-diff-on-failure --color=always --all-files
Loading