Local Polynomial Interpolation

Fits the specified order (zero, first, second, third, and so on) polynomial, each within specified overlapping neighborhoods, to produce an output surface

Computable Model Source Code
  43

Contributor

contributed at 2019-05-16

Authorship

Homepage:  
View
Is authorship not correct? Feedback

Detailed Description

Code Sample

LocalPolynomialInterpolation example 1 (Python window)

Interpolate point features onto a rectangular raster.

import arcpy

arcpy.env.workspace = "C:/gapyexamples/data"

arcpy.LocalPolynomialInterpolation_ga(

    "ca_ozone_pts", "OZONE", "outLPI", "C:/gapyexamples/output/lpiout", "2000",

    "2", arcpy.SearchNeighborhoodSmooth(300000, 300000, 0, 0.5), "QUARTIC",

    "", "", "", "", "PREDICTION")

LocalPolynomialInterpolation example 2 (stand-alone script)

Interpolate point features onto a rectangular raster.

# Name: LocalPolynomialInterpolation_Example_02.py

# Description: Local Polynomial interpolation fits many polynomials, each

#              within specified overlapping neighborhoods.

# Requirements: Geostatistical Analyst Extension

 

# Import system modules

import arcpy

 

# Set environment settings

arcpy.env.workspace = "C:/gapyexamples/data"

 

# Set local variables

inPointFeatures = "ca_ozone_pts.shp"

zField = "ozone"

outLayer = "outLPI"

outRaster = "C:/gapyexamples/output/lpiout"

cellSize = 2000.0

power = 2

kernelFunction = "QUARTIC"

bandwidth = ""

useConNumber = ""

conNumber = ""

weightField = ""

outSurface = "PREDICTION"

 

# Set variables for search neighborhood

majSemiaxis = 300000

minSemiaxis = 300000

angle = 0

smoothFactor = 0.5

searchNeighbourhood = arcpy.SearchNeighborhoodSmooth(majSemiaxis, minSemiaxis,

                                                     angle, smoothFactor)

 

 

# Check out the ArcGIS Geostatistical Analyst extension license

arcpy.CheckOutExtension("GeoStats")

 

# Execute LocalPolynomialInterpolation

arcpy.LocalPolynomialInterpolation_ga(inPointFeatures, zField, outLayer, outRaster,

                                      cellSize, power, searchNeighbourhood,

                                      kernelFunction, bandwidth, useConNumber,

                                      conNumber, weightField, outSurface)

 

How to Cite

ESRI (2019). Local Polynomial Interpolation, Computable Model, OpenGMS, https://geomodeling.njnu.edu.cn/computableModel/7f6699d4-43bb-4238-9082-a5be8d5922a2
Copy

QR Code

Contributor

contributed at 2019-05-16

Authorship

Homepage:  
View
Is authorship not correct? Feedback

QR Code

This computable model has not been deployed, do you want to deploy it now?

Deploying...

Deploy successfully!

Deploy failed! Please try again.

Cancel OK OK

We have provided several servers of different platforms for model deploying.

If this model was contributed by you, and you want to deploy this model only on your model server, please change its content type to 'md5' in your space.

{{container.hardware.hostName}}

{{container.hardware.system}} {{container.hardware.version}}

{{container.hardware.cpu_Core}} Core - {{container.hardware.totalMemory}} RAM - {{container.hardware.diskAll}} Hard Disk

Running
Offline
Deploy Cancel