Giter Site home page Giter Site logo

eotile's People

Contributors

gbonnefille avatar mgerma avatar savmickael avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eotile's Issues

Deprecated Frame.append from pandas

Since the version 1.4.0 of pandas the DataFrame.append is deprecated and should be replaced by pandas.concat.

The function build_reference_geom is still using the DataFrame.append method.

One way of solving this isssue is by replacing:

 output = output.append(tile)

with

 output = pd.concat([output, tile], ignore_index=True)

Thanks!

Timeout error when using eotile to get S2 tile extent

Using eotile to convert S2 tile id to wkt extent will call an external geocoder API even when it's not needed.
These calls will cause timeouts in case of intensive use.

The geolocation function here https://github.com/CS-SI/eotile/blob/af395a0804af79ed1e7f25eb2cf3d875fcd85108/eotile/eotiles/utils.py#L82 should be used only when the user request is a location name like Toulouse. In case of a geometry input or a tile id input, this step should be skipped.

Shapely's cascaded_union depreciation

Error message:
[...]/python3.6/site-packages/eotile/eotiles/get_bb_from_tile_id.py:89: ShapelyDeprecationWarning: The 'cascaded_union()' function is deprecated. Use 'unary_union()' instead. geometry = cascaded_union(list(output.geometry))

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.