Coder Social home page Coder Social logo

Comments (5)

kylebarron avatar kylebarron commented on September 27, 2024

Can you ensure that you don't have version 0.9.0 installed, which was broken and yanked?

Otherwise, everything is expected to work in Colab.

image

Can you look in your browser console for any errors? (e.g. command option I on a mac)

from lonboard.

Melda-s avatar Melda-s commented on September 27, 2024

I'm facing a similar issue. No error but the map doesn't show. Here's a link to the colab notebook: https://colab.research.google.com/drive/1A-6eopcEH8XlXH2IVWzmitSjxALxe8iz?usp=sharing

The code I'm trying to run is from this Overture demo
https://docs.overturemaps.org/blog/2024/05/16/land-cover/

from lonboard.

kylebarron avatar kylebarron commented on September 27, 2024

I know when I tested Colab originally that there were issues with rendering large datasets. Can you see any map even one without any data? If so, it's likely issues on Colab's side with dropping the connection for large datasets

from lonboard.

kylebarron avatar kylebarron commented on September 27, 2024

@Melda-s looking at your notebook, it also crashes for me during the cell that constructs the layer. It looks like that is the same issue I referenced before, where Colab crashes when trying to send large amounts of data outside of the Python session. At its core, this is a colab issue that's hard to work around. We could potentially export user settings for how big each data chunk should be from Python to the frontend, but that's an unideal workaround

from lonboard.

kylebarron avatar kylebarron commented on September 27, 2024

This isn't really possible for us to reliably work around. It's Colab's core issue that it's unable to manage a stable connection for large data to move from Python to JS.

from lonboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.