Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GiD_Raster create|interpolate|subsample|fillnodatavalue
To create from the mesh a raster (2D grid) with a value that represents the z, and use a raster to efficiently interpolate values to other points or all points of other raster.

...

increment_row must be an integer>0 and <num_rows of the input raster
If increment_col is omitted it is assumed equal to increment_row


GiD_Raster fillnodatavalue<raster>

To fill the missing values (with nodata special value) interpolating them from the existing values. The raster itself is modified.


Some auxiliary Tcl procedures:
GIS::GetRasterFromTriangles { selected_element_ids cellsize far_points_set_nodata far_points_distance }
It returns a raster from the selected mesh of triangles.selected_element_ids is expected sorted increasing.

If cellsize is 0.0an automatic value is used

far_points_set_nodata 0 or 1

GIS::GetRasterFromNodes { selected_node_ids cellsize far_points_set_nodata far_points_distance }
It returns a raster from the selected mesh nodes. selected_node_ids is expected sorted increasing.

...

far_points_set_nodata 0 or 1

if 0 all grid points will have interpolated value, 1 far grid points will be set with special nodata (usually -9999) value 

far_points_distance is only used if far_points_set_nodata is 1, and must be a distance>=0.0 (if  0.0 will use an automatic distance value)

...

GIS::ImportRaster_Geometry { raster show_advance_bar {value_smoothed_to_nodes 1} }
It creates geometrical surfaces (and its lines and points) from the raster

values are considered on elements (the value on the cell center), and the mesh created will connect these centers.

but with value_smoothed_to_nodes==1 they are calculated on the nodes, averaging the value of the cells to be a continuous field.

GIS::CreateSurfaceParallelLines { raster {layer ""} }

It creates a single NURBS surface interpolating a collection of near-parallel curves (that interpolate the points of each row of the raster).

<layer> is the layer where the new surface will be assigned (the current layer to use if defaulted to "")

GIS::ImportRaster_Mesh { raster show_advance_bar {value_smoothed_to_nodes 1} {pre_post "pre"}}
It creates mesh quadrilaterals (and its nodes) from the raster. p

re_post can be "post" to create mesh of postprocess.

GIS::SaveRaster_ArcInfoASCII { raster filename }
It saves the raster in the file named filename with ArcInfo grid ASCII format

...