PostGIS  2.4.9dev-r@@SVN_REVISION@@
rtpg_pixel.c File Reference
#include <postgres.h>
#include <fmgr.h>
#include "utils/lsyscache.h"
#include <funcapi.h>
#include "utils/array.h"
#include "catalog/pg_type.h"
#include "../../postgis_config.h"
#include "lwgeom_pg.h"
#include "access/htup_details.h"
#include "rtpostgis.h"
Include dependency graph for rtpg_pixel.c:

Go to the source code of this file.

Data Structures

struct  rtpg_dumpvalues_arg_t
 
struct  rtpg_setvaluesgv_arg_t
 
struct  rtpg_setvaluesgv_geomval_t
 

Macros

#define VALUES_LENGTH   2
 
#define VALUES_LENGTH   3
 

Typedefs

typedef struct rtpg_dumpvalues_arg_trtpg_dumpvalues_arg
 
typedef struct rtpg_setvaluesgv_arg_trtpg_setvaluesgv_arg
 
typedef struct rtpg_setvaluesgv_geomval_trtpg_setvaluesgv_geomval
 

Functions

Datum RASTER_getPixelValue (PG_FUNCTION_ARGS)
 
Datum RASTER_dumpValues (PG_FUNCTION_ARGS)
 
Datum RASTER_setPixelValue (PG_FUNCTION_ARGS)
 
Datum RASTER_setPixelValuesArray (PG_FUNCTION_ARGS)
 
Datum RASTER_setPixelValuesGeomval (PG_FUNCTION_ARGS)
 
Datum RASTER_pixelOfValue (PG_FUNCTION_ARGS)
 
Datum RASTER_nearestValue (PG_FUNCTION_ARGS)
 
Datum RASTER_neighborhood (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (RASTER_getPixelValue)
 Return value of a single pixel. More...
 
static rtpg_dumpvalues_arg rtpg_dumpvalues_arg_init ()
 
static void rtpg_dumpvalues_arg_destroy (rtpg_dumpvalues_arg arg)
 
 PG_FUNCTION_INFO_V1 (RASTER_dumpValues)
 
 PG_FUNCTION_INFO_V1 (RASTER_setPixelValue)
 Write value of raster sample on given position and in specified band. More...
 
 PG_FUNCTION_INFO_V1 (RASTER_setPixelValuesArray)
 Set pixels to value from array. More...
 
static rtpg_setvaluesgv_arg rtpg_setvaluesgv_arg_init ()
 
static void rtpg_setvaluesgv_arg_destroy (rtpg_setvaluesgv_arg arg)
 
static int rtpg_setvalues_geomval_callback (rt_iterator_arg arg, void *userarg, double *value, int *nodata)
 
 PG_FUNCTION_INFO_V1 (RASTER_setPixelValuesGeomval)
 
 PG_FUNCTION_INFO_V1 (RASTER_pixelOfValue)
 Get pixels of value. More...
 
 PG_FUNCTION_INFO_V1 (RASTER_nearestValue)
 Return nearest value to a point. More...
 
 PG_FUNCTION_INFO_V1 (RASTER_neighborhood)
 Return the neighborhood around a pixel. More...