Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First stab at intersections extension module #15

Merged
merged 57 commits into from
Jul 27, 2021
Merged

Commits on Jul 16, 2021

  1. Construct Vec2 from tuple

    tlestang committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    b91c2bb View commit details
    Browse the repository at this point in the history
  2. Add pybind11 as submodule

    tlestang committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    5764b55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    37f8014 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    77e9821 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c35294 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    405ba83 View commit details
    Browse the repository at this point in the history
  7. [format] clang-format

    tlestang committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    17ee3c9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8e694fc View commit details
    Browse the repository at this point in the history
  9. [refactor] Exctract conversion of linestring from cpp to py and impor…

    …t shapely linestring as global variable
    tlestang committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    68e874f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ca361bb View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    cb0aa65 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    40e7d95 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    706e38e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cf506b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Configuration menu
    Copy the full SHA
    06ade8f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aaee99b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    386a22e View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Configuration menu
    Copy the full SHA
    1011174 View commit details
    Browse the repository at this point in the history
  2. Add initial cli structure

    tlestang committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    94c3d5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    02ea991 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2efe820 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f237662 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3d763d5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    add0e71 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    30f53c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Write test raster and vector files inside temporary directory

    Cannot use tempfile.TemporaryFile() directly since this opens a file and removes it when close. To use rasterio.open I need a filename rather than a file-like obj?
    tlestang committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    71b12be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c82f31c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ee3b94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    966435d View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Configuration menu
    Copy the full SHA
    f2a2857 View commit details
    Browse the repository at this point in the history
  2. Add python function raster2split to attribute raster values to split …

    …linestrings in geodataframe
    tlestang committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    7fdc47e View commit details
    Browse the repository at this point in the history
  3. [format] Minor formatting

    tlestang committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    d23d613 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a93275 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3f73928 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Configuration menu
    Copy the full SHA
    5bc9f03 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff0dd55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7dc3121 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eaa5ca9 View commit details
    Browse the repository at this point in the history
  5. Remove raster2split's side effects. Function takes geodf and raster d…

    …ataset and returns geodf
    tlestang committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    79e901c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    828f8a0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ce8b7bd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d966058 View commit details
    Browse the repository at this point in the history
  9. [test] Rename test file

    tlestang committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    5249a30 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ef1a860 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f11004a View commit details
    Browse the repository at this point in the history
  12. [test] Use rasterio.io.MemoryFile to create test dataset object inste…

    …ad of temporary file.
    tlestang committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    b83dc74 View commit details
    Browse the repository at this point in the history
  13. [test] Use tuple instead of list to index underlying raster data.

    This adresses a FutureWarning raised by numpy:
    
    FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
      expected_raster_values = np.tile(raster_data[data_array_indices], 2)
    tlestang committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    c7759c4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    939b442 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f8950be View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7b3b438 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    143819c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d2411da View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    62cc6e6 View commit details
    Browse the repository at this point in the history
  20. Merge pull request #19 from nismod/restructure_python_intersections

    Restructure python side of intersection code
    tlestang authored Jul 27, 2021
    Configuration menu
    Copy the full SHA
    370c44b View commit details
    Browse the repository at this point in the history
  21. Merge pull request #18 from nismod/raster2vector

    Raster to vector attribution
    tlestang authored Jul 27, 2021
    Configuration menu
    Copy the full SHA
    665ec41 View commit details
    Browse the repository at this point in the history
  22. Merge pull request #17 from nismod/cli

    Add a command line interface to intersections kernel
    tlestang authored Jul 27, 2021
    Configuration menu
    Copy the full SHA
    4e2afa5 View commit details
    Browse the repository at this point in the history
  23. Merge pull request #16 from nismod/build_intersections_extension

    Build intersections extension
    tlestang authored Jul 27, 2021
    Configuration menu
    Copy the full SHA
    6d44676 View commit details
    Browse the repository at this point in the history