Comments (4)
This would be great to do.
I tried to spin a Binder notebook with one of the examples: https://mybinder.org/v2/gh/developmentseed/lonboard/HEAD?labpath=examples%2Finternet-speeds.ipynb
It seems like there are some missing dependencies / I could be doing something wrong but was not able to get the map to work.
From the Binder docs, it seems like it's looking for an environment.yml
file similar to https://github.com/binder-examples/conda/blob/main/environment.yml
@kylebarron let me know if I can help with this or help testing or anything .
from lonboard.
I'll look into this, but one thing to try is subsetting the data to a smaller region before plotting.
Binder should be picking up the requirements.txt in the .binder
folder: https://github.com/developmentseed/lonboard/blob/main/.binder/requirements.txt
And additionally we try to pre-cache binder docker images so that it'll be fast to load for the user https://github.com/developmentseed/lonboard/blob/main/.github/workflows/build-binder-image.yml (ref https://github.com/jupyterhub/repo2docker-action#cache-builds-on-mybinderorg)
On Friday, I believe the point notebook was working consistently for me (even with all the data) while the linestring example was crashing the kernel for an unknown reason
from lonboard.
Hmm today it seems like the build step on Binder is failing, which was working yesterday: https://mybinder.org/v2/gh/developmentseed/lonboard/HEAD?labpath=examples%2Finternet-speeds.ipynb
@kylebarron do you know if this looks like something you changed in lonboard
or something on the Binder side? I've tried 2-3 times today and the build has consistently failed for me with:
Step 50/50 : CMD ["jupyter", "notebook", "--ip", "0.0.0.0"]
---> Running in 688cfbefda2f
Removing intermediate container 688cfbefda2f
---> c726de31344b
{"aux": {"ID": "sha256:c726de31344b99108d27e5999ad6ea6f566f2ddd6b89876e821aeb9850a8a7b1"}}Successfully built c726de31344b
Successfully tagged gesiscss/binder-r2d-g5b5b759-developmentseed-2dlonboard-b99df7:42d90bb6ecd275afb55b15b6d6d462133733eec8
Error during build: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out.
from lonboard.
I'm 99% sure Read timed out
is a binder issue and not ours. I've seen it randomly a few times myself.
from lonboard.
Related Issues (20)
- Handle WKB-typed GeoArrow columns
- Raise warning for input without CRS
- Host executed docs notebooks in s3 bucket HOT 1
- Add support for OrthographicView HOT 3
- Bug: Allow non-served HTML export for polygon layer
- Default colors in viz
- Create a Bug Issue Template
- Create a Feature Request Issue Template
- Update README to include notes on using the new issue templates HOT 2
- [BUG] Get ArrowInvalid on what should be a valid GeoJSON file HOT 1
- Export Map to HTML zipfile HOT 1
- Notes on using Lonboard in a remote (esp JupyterHub) environment HOT 2
- Validate frontend and backend widget versions match HOT 1
- Swipe and sync between two maps
- Record and export animations
- Allow "GeoParquet" input
- Lonboard with tiled data
- Update viz to render polygon exteriors HOT 1
- Update examples to assign CRS on geodataframe
- Support deck.gl v9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lonboard.