Giter Site home page Giter Site logo

Comments (6)

giswqs avatar giswqs commented on June 14, 2024

This doesn't seems a geemap/ipyleaflet issue but rather a Sphinx issue. All Earth Engine layers are just tile layers like the basemap layers, which are png tiles. Both Earth vector and raster data are rendered as png tiles. You can use Map.layers to see the tile URLs.

from geemap.

giswqs avatar giswqs commented on June 14, 2024

The answer to your question is: yes, Earth Engine feature collections are rendered as images, just like OpenSteetMap is rendered as images. You can open the network tab in Chrome to see the png tiles that requested in real time based on the map view and zoom level.

from geemap.

12rambau avatar 12rambau commented on June 14, 2024

My point was that ipyleaflet offers other options to display vector data, namely:

That are all dedicated to vector data specifically. A use case where the current implementation would be for me an issue is when I crawl the layers in my geemap object and try to split the vectors from the images. It would not be possible as they are all TileLayer.
Also note that leaflet always displays vectors on top of image which is not the case if everything is a TileLayer.

from geemap.

giswqs avatar giswqs commented on June 14, 2024

Ipyleaflet geojson and geodata for rendering vector data are not scalable. It simply dumps all data into the html. They are only suitable for tiny vector datasets (a few MBs). ipyleaflet simply can't render large vector datasets. Vector tiles are scalable, but Earth Engine does not generate vector tiles, so the vector tile option can't be considered here.

from geemap.

giswqs avatar giswqs commented on June 14, 2024

If you really want to render ee.FeatureCollection as vector, you can use geemap.ee_to_gdf() and then Map.add_gdf(). However, the same ipyleaflet limitation applies. Not good for large vector datasets.

from geemap.

12rambau avatar 12rambau commented on June 14, 2024

fair enough as long as it's under control and a clear technical decision I'm good, let me close this issue.

from geemap.

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.