Giter Club home page Giter Club logo

Comments (3)

shenganzhan avatar shenganzhan commented on May 28, 2024

@simjoh please see below:

  1. The keywork is “resampling” only. It's suggested to set this property in .getConfiguration() as well as .updateRasterInfo().
    As per the code, it seems like if the property is set in .getConfiguration() you don’t need to set the property in .updateRasterInfo(). It should already have the correct value. Setting the property only in .updateRasterInfo() may not work as expected.
    If this doesn’t work, please share your py script with us and so we can take a look.
  2. The default value is False. Probably No.1 above is affecting your workflow.
  3. Please see 1 – the resampling flag is read from the properties returned by .getConfiguration() and then passed along to .updateRasterInfo().

from raster-functions.

simjoh avatar simjoh commented on May 28, 2024

@shenganzhan Thanks for your input. I've changed the code by setting resampling in getConfiguration(). But If it is suggested to set the propery in .getConfiguration() and updateRasterInfo(), then I think 'Resampling' is needed in updateRasterInfo.

Regarding default property my exceprience with the current dataset is that the default is False. Maybe it is a property of the dataset but I try to ovverride inheritence of properties by

'inheritProperties': 1,# inherit just PixelType
'invalidateProperties': 1| 2 | 4 |8,      # invalidate histogram and statistics because we are modifying pixel values

In my first post I also mentioned the method -selectRasters() how do I use that. I don't get it to run in my prf.

from raster-functions.

shenganzhan avatar shenganzhan commented on May 28, 2024

@simjoh selectRasters works on multiple raster inputs

from raster-functions.

Related Issues (20)

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.