Git Product home page Git Product logo

Comments (7)

giswqs avatar giswqs commented on May 22, 2024 1

It appears that the recent Earth Engine API update broke the .getDonwloadURL() function. We will have to wait for Google to fix it.

import ee
ee.Initialize()
states = ee.FeatureCollection('TIGER/2018/States')
url = states.getDownloadURL(filetype="csv", selectors=['NAME', 'STATEFP', 'STUSPS'], filename="states")
print(url)

from geemap.

zuoqichen avatar zuoqichen commented on May 22, 2024

Same error was occurred when using zonal statistic.

from geemap.

giswqs avatar giswqs commented on May 22, 2024

See this GEE Issue tracker https://issuetracker.google.com/issues/156139602

from geemap.

zuoqichen avatar zuoqichen commented on May 22, 2024

See this GEE Issue tracker https://issuetracker.google.com/issues/156139602

Got it. Thanks.

from geemap.

giswqs avatar giswqs commented on May 22, 2024

The GEE team is aware of this issue and a fix is under way.

https://issuetracker.google.com/issues/156139602

from geemap.

UjjwalGarai avatar UjjwalGarai commented on May 22, 2024

Dear Sir,
my zonal stat file is downloaded but I see only two columns, system:index and .geo.
please help me what is the problem. I run your example code
https://github.com/giswqs/geemap/blob/master/examples/notebooks/13_zonal_statistics_by_group.ipynb

from geemap.

giswqs avatar giswqs commented on May 22, 2024

Earth Engine no longer supports downloading featureCollection as shapefile or json using the getDownloadURL() function. Please use geemap.ee_export_vector_to_drive() to export featureCollection to Google Drive if you want to use shp or json format.

See https://issuetracker.google.com/issues/159926579

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.