Git Product home page Git Product logo

geotiff-feedstock's Introduction

About geotiff-feedstock

Feedstock license: BSD-3-Clause

Home: https://trac.osgeo.org/geotiff

Package license: MIT

Summary: TIFF based interchange format for georeferenced raster imagery

GeoTIFF represents an effort by over 160 different remote sensing, GIS, cartographic, and surveying related companies and organizations to establish a TIFF based interchange format for georeferenced raster imagery.

Current build status

Azure
VariantStatus
linux_64 variant
linux_aarch64 variant
osx_64 variant
osx_arm64 variant
win_64 variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing geotiff

Installing geotiff from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, geotiff can be installed with conda:

conda install geotiff

or with mamba:

mamba install geotiff

It is possible to list all of the versions of geotiff available on your platform with conda:

conda search geotiff --channel conda-forge

or with mamba:

mamba search geotiff --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search geotiff --channel conda-forge

# List packages depending on `geotiff`:
mamba repoquery whoneeds geotiff --channel conda-forge

# List dependencies of `geotiff`:
mamba repoquery depends geotiff --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating geotiff-feedstock

If you would like to improve the geotiff recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/geotiff-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

geotiff-feedstock's People

Contributors

akrherz avatar beckermr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar gillins avatar github-actions[bot] avatar hobu avatar j9ac9k avatar ocefpaf avatar omad avatar regro-cf-autotick-bot avatar xhochy avatar xylar avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geotiff-feedstock's Issues

Bug in deactivate script

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

A square bracket is missing with the latest commit:

if [ -n "${_CONDA_SET_GEOTIFF_CSV:-}" ]]; then

should be:

if [[ -n "${_CONDA_SET_GEOTIFF_CSV:-}" ]]; then

Otherwise, we get:

geotiff-deactivate.sh:[:5: ']' expected

Installed packages

geotiff                   1.7.1               h00e2a8a_10    conda-forge

Environment info

active environment : base
    active env location : /opt/homebrew/Caskroom/miniforge/base
            shell level : 1
       user config file : /Users/user/.condarc
 populated config files : /opt/homebrew/Caskroom/miniforge/base/.condarc
          conda version : 23.5.2
    conda-build version : not installed
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=arm64
                          __osx=13.4.1=0
                          __unix=0=0
       base environment : /opt/homebrew/Caskroom/miniforge/base  (writable)
      conda av data dir : /opt/homebrew/Caskroom/miniforge/base/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /opt/homebrew/Caskroom/miniforge/base/pkgs
                          /Users/user/.conda/pkgs
       envs directories : /opt/homebrew/Caskroom/miniforge/base/envs
                          /Users/user/.conda/envs
               platform : osx-arm64
             user-agent : conda/23.5.2 requests/2.31.0 CPython/3.10.12 Darwin/22.5.0 OSX/13.4.1
                UID:GID : 501:20
             netrc file : None
           offline mode : False

can geotiff support newer proj releases?

Issue: latest geotiff release doesn't appear to support newer proj releases.

I am attempting to resolve what is jamming up an upgrade to proj 6.3 and I appear to be at the point of blaming the geotiff package.

$ conda create  -n geotiff python=3.8 proj=6.3.0 geotiff
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: / 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                                                                                        
                                                                                                                                                                                              
UnsatisfiableError: The following specifications were found to be incompatible with each other:                                                                                               



Package proj conflicts for:
proj=6.3.0
Package proj4 conflicts for:
geotiff -> proj4[version='4.9.3|6.0.0.*|>=4.9.3,<4.9.4.0a0|>=5.1.0,<5.1.1.0a0|>=5.2.0,<5.2.1.0a0|>=6.0.0,<6.0.1.0a0|>=6.1.0,<6.1.1.0a0|>=6.1.1,<6.1.2.0a0']
Note that strict channel priority may have removed packages required for satisfiability.


Thanks for your efforts on these packages!

libgeotiff dev location has moved

libgeotiff development location now lives on github at https://github.com/OSGeo/libgeotiff and the recipe should be updated. The announcement was made at https://lists.osgeo.org/pipermail/geotiff/2018-December/000847.html

Additionally, the next major release of libgeotiff is going to change the dependency relationships of these projects significantly. This is all a result of the gdalbarn.com efforts that @rouault has been grinding through. Here's a short synopsis:

  • PROJ 6.0 will be released with support for SQLite-based dictionaries, late-binding datum shifts, and a full implementation of a OGC Well Known Text SRS engine. PROJ will be dependent on SQLite going forward.
  • libgeotiff 1.5 (or 2.0) will be dependent on PROJ 6 for its dictionaries (replacing the CSV files)
  • GDAL 2.5 will be dependent on PROJ 6 for its dictionaries and WKT engine (replacing the CSV files)

Find out more at gdalbarn.com

Howard

Activation scripts should be POSIX compliant

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I'm attempting to use tox-conda to create and activate conda environments, and it reports error messages like:

sh: 6: /home/omad/miniconda3/envs/odc-core/etc/conda/activate.d/geotiff-activate.sh: [[: not found

This could be fixed within tox-conda by using /bin/bash instead of /bin/sh, however, I think it actually points to an issue with the activation scripts in this repo.

The Deep dive: conda init and activate โ€” conda 4.13.0 documentation shows that activate/deactivate scripts are sourced by the executing shell, not run as independent scripts. This means the #! leading line is being ignored (and as such is misleading), and the activation scripts only work with /bin/bash.

They should be rewritten to be POSIX compliant.

Installed packages

not relevant

Environment info

active environment : odc-core
    active env location : /home/omad/miniconda3/envs/odc-core
            shell level : 1
       user config file : /home/omad/.condarc
 populated config files : /home/omad/.condarc
          conda version : 23.5.2
    conda-build version : not installed
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.35=0
                          __linux=6.2.6=0
                          __unix=0=0
       base environment : /home/omad/miniconda3  (writable)
      conda av data dir : /home/omad/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/omad/miniconda3/pkgs
                          /home/omad/.conda/pkgs
       envs directories : /home/omad/miniconda3/envs
                          /home/omad/.conda/envs
               platform : linux-64
             user-agent : conda/23.5.2 requests/2.31.0 CPython/3.10.12 Linux/6.2.6-76060206-generic pop/22.04 glibc/2.35
                UID:GID : 1000:1000
             netrc file : /home/omad/.netrc
           offline mode : False

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.