PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rterror()

void rterror ( const char *  fmt,
  ... 
)

Raster core error and info handlers.

Wrappers used for reporting errors and info.

Since variadic functions cannot pass their parameters directly, we need wrappers for these functions to convert the arguments into a va_list structure.

Definition at line 199 of file rt_context.c.

199  {
200  va_list ap;
201 
202  va_start(ap, fmt);
203 
204  /* Call the supplied function */
205  (*ctx_t.err)(fmt, ap);
206 
207  va_end(ap);
208 }
def fmt
Definition: pixval.py:92
static struct rt_context_t ctx_t
Definition: rt_context.c:118
rt_message_handler err
Definition: rt_context.c:112

References ctx_t, rt_context_t::err, and pixval::fmt.

Referenced by _rti_colormap_arg_init(), _rti_iterator_arg_callback_init(), _rti_iterator_arg_empty_init(), _rti_iterator_arg_init(), _rti_iterator_arg_populate(), _rti_raster_get_band_perimeter(), _rti_rasterize_arg_init(), _rti_warp_arg_init(), chartrim(), rt_band_check_is_nodata(), rt_band_corrected_clamped_value(), rt_band_duplicate(), rt_band_from_wkb(), rt_band_get_file_size(), rt_band_get_file_timestamp(), rt_band_get_histogram(), rt_band_get_nearest_pixel(), rt_band_get_nodata(), rt_band_get_pixel(), rt_band_get_pixel_line(), rt_band_get_pixel_of_value(), rt_band_get_quantiles(), rt_band_get_quantiles_stream(), rt_band_get_summary_stats(), rt_band_get_value_count(), rt_band_load_offline_data(), rt_band_new_inline(), rt_band_new_offline(), rt_band_new_offline_from_path(), rt_band_reclass(), rt_band_set_isnodata_flag(), rt_band_set_nodata(), rt_band_set_pixel(), rt_band_set_pixel_line(), rt_pixel_set_to_array(), rt_pixtype_compare_clamped_values(), rt_pixtype_get_min_value(), rt_pixtype_name(), rt_pixtype_size(), rt_raster_add_band(), rt_raster_clone(), rt_raster_colormap(), rt_raster_compute_skewed_raster(), rt_raster_deserialize(), rt_raster_from_band(), rt_raster_from_gdal_dataset(), rt_raster_from_hexwkb(), rt_raster_from_two_rasters(), rt_raster_from_wkb(), rt_raster_fully_within_distance(), rt_raster_gdal_drivers(), rt_raster_gdal_polygonize(), rt_raster_gdal_rasterize(), rt_raster_gdal_warp(), rt_raster_generate_new_band(), rt_raster_geopoint_to_cell(), rt_raster_geos_spatial_relationship(), rt_raster_get_convex_hull(), rt_raster_get_envelope(), rt_raster_get_envelope_geom(), rt_raster_get_inverse_geotransform_matrix(), rt_raster_get_perimeter(), rt_raster_intersects(), rt_raster_iterator(), rt_raster_new(), rt_raster_replace_band(), rt_raster_same_alignment(), rt_raster_serialize(), rt_raster_serialized_size(), rt_raster_surface(), rt_raster_to_gdal(), rt_raster_to_gdal_mem(), rt_raster_to_hexwkb(), rt_raster_to_wkb(), rt_raster_within_distance(), rt_raster_wkb_size(), rt_util_envelope_to_lwpoly(), rt_util_gdal_convert_sr(), rt_util_gdal_open(), rt_util_gdal_sr_auth_info(), strreplace(), strsplit(), and trim().