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

PB-1000 : add support for local GeoTIFF import #1066

Merged
merged 5 commits into from
Sep 19, 2024

Commits on Sep 18, 2024

  1. PB-1000 : add support for local GeoTIFF import

    online GeoTIFF requires some work done on service-proxy, as it currently answers with 413 Payload Too Large (obviously...)
    I've tested with a Dropbox link (hence the use of the proxy). I couldn't get our STAC API to give me a file (through a URL import), it blocks somewhere (maybe on purpose, so that we don't use our STAC API as a web hosting)
    pakb committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7c9ae72 View commit details
    Browse the repository at this point in the history
  2. PB-1000 : switch GeoTIFF detection to a signature based

    instead of relying only on the file extension, will be more robust, and take into account .tif, .tiff (both as a mix of uppercased) and files without extension that are TIFF underneath
    pakb committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    8292057 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. PB-1000 : allow persistence of GeoTIFF layer through URL params

    adding the new type in the layer parser
    also fixing loading GeoTIFF through URL in the OL component.
    removing big-endian signature check, as 99.9% of hardware on the web uses little-endian
    removing the concept of GeoTIFF layer needing to load, they are either already loaded because local file, or will be loaded through the OpenLayers component (not by us, so no need to keep track of that in the menu)
    pakb committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4c8927b View commit details
    Browse the repository at this point in the history
  2. PB-1000 : take GeoTIFF layer opacity into account

    and also react to changes in the source of the GeoTIFF (if the URL is changed on-the-fly)
    pakb committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    b988b95 View commit details
    Browse the repository at this point in the history
  3. PB-1000 : add TIFF file as available format for file input

    also adding GeoTIFF to all labels linked to the file import UI (and KMZ that was forgotten)
    awaiting the handleFileContent in the drag&drop handler, so that error can be caught correctly (and shown to the user)
    pakb committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    dbcc4e7 View commit details
    Browse the repository at this point in the history