Comments (3)
@simjoh please see below:
- 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. - The default value is False. Probably No.1 above is affecting your workflow.
- Please see 1 – the resampling flag is read from the properties returned by .getConfiguration() and then passed along to .updateRasterInfo().
from raster-functions.
@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.
@simjoh selectRasters works on multiple raster inputs
from raster-functions.
Related Issues (20)
- can not import scikit-image in ArcGIS Pro 1.4 HOT 4
- Slope-Aspect Customized Slope Values HOT 1
- Add support for non c-contiguous arrays in the python raster function HOT 1
- How to use code HOT 3
- Write Wiki to have instructions for ArcGIS Pro instead or in addition to ArcMap HOT 2
- Add Section to Wiki on Writing RFTs to Process Collections of Imagery HOT 4
- How reference many Rasters to other rasters (Warb) HOT 1
- Implement FMask based cloud filtering
- Add error catching to pixel percentile calculations
- Hillshade.py in ArcGIS Pro HOT 4
- Python extension packages missing
- Zonal stats function HOT 4
- How to write YOLO or U-Net Deep Learning code which is integrated with RasterFrames? HOT 5
- Hyperlinks Missing for select Raster Functions and Templates HOT 1
- Deploy Raster function on server HOT 4
- How to reference a field value in mosaic table to use in Python RFT HOT 9
- error running Clip raster function using Foreach loop HOT 2
- Difficulties with publishing a rft with a python raster function from Pro to ArcGIS server 10.9.1 HOT 1
- Issue with XGBoost loading a pretrained model in a custom raster function HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raster-functions.