Coder Social home page Coder Social logo

gee-community / pygaul Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 1.87 MB

Easy access to administrative boundary defined by FAO GAUL from Python scripts

License: MIT License

Python 100.00%
administration earthengine fao-dataset geography mapping python remote-sensing

pygaul's People

Contributors

12rambau avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pygaul's Issues

use an object approach

replace get_items by an Items object. It will offer more flexibility for extention. same for get_names.

Use native vectors to represent the Items in the docs

The current display is based on the geemap lib. Unfortunately the latter is displaying FeatureCollection as image which results in grey background in the dark theme.

We should rely on pure ipyleaflet methods to represent these datasets

initialization of ee should be left to the user

If one use exotic ways to connect to GEE (as in a private company where we connect with a service account) running ee.Initialize at the top of every file may end up by killing the process.

Instead the user should be responsible for initializeing ee and/or we should be able to connect to it whitouh conflict (more dificult)

continent seems badly defined

check all continent shapes and remove the one that should not be here

  • africa
  • asia
  • europe
  • oceania
  • north america
  • south america
  • antartica

is it possible to expose the package data?

one of the tools in @sepal-contrib was using a previous implementation of sepal_ui where the gaul_database was exposed, now that it has been removed in favor to the pygaul package, there's no way to directly access to this file.

Would it make sense to expose the database as a dataframe?, for example:

from pygaul.data import gaul_dadtabase

My current workaround imports the file using pkgs_resources:

resource_path = "pygaul/data/gaul_database.parquet"
content = pkg_resources.resource_filename("pygaul", resource_path)

use Items and Names it's better ;-)

yes I know it's the third time I change but I think it's the lats because it cannot be simplified more and it looks robust enough to be understood by anyone.

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.