Struct GeoRaster¶
-
template<typename
T
, typenameZ
>
structGeoRaster
¶ Public Functions
-
template<typename
T2
, typenameZ2
>GeoRaster
(const Column<T2> &input_x, const Column<T2> &input_y, const Column<Z2> &input_z, const double bin_dim_meters, const bool geographic_coords, const bool align_bins_to_zero_based_grid)¶
-
template<typename
T2
, typenameZ2
>GeoRaster
(const Column<T2> &input_x, const Column<T2> &input_y, const Column<Z2> &input_z, const double bin_dim_meters, const bool geographic_coords, const bool align_bins_to_zero_based_grid, const T x_min, const T x_max, const T y_min, const T y_max)¶
-
T
get_x_bin
(const T input) const¶
-
T
get_y_bin
(const T input) const¶
-
bool
is_null
(const Z value) const¶
-
bool
is_bin_out_of_bounds
(const int64_t source_x_bin, const int64_t source_y_bin) const¶
-
Z
offset_source_z_from_raster_z
(const int64_t source_x_bin, const int64_t source_y_bin, const Z source_z_offset) const¶
-
Z
fill_bin_from_avg_neighbors
(const int64_t x_centroid_bin, const int64_t y_centroid_bin, const int64_t bins_radius) const¶
-
void
align_bins_max_inclusive
()¶
-
void
align_bins_max_exclusive
()¶
-
void
calculate_bins_and_scales
()¶
-
template<typename
T2
, typenameZ2
>
voidcompute
(const Column<T2> &input_x, const Column<T2> &input_y, const Column<Z2> &input_z)¶
-
template<typename
T2
, typenameZ2
>
voidcomputeParallel
(const Column<T2> &input_x, const Column<T2> &input_y, const Column<Z2> &input_z, const size_t max_inputs_per_thread)¶
-
void
fill_bins_from_neighbors
(const int64_t neighborhood_fill_radius, const bool fill_only_nulls)¶
-
bool
get_nxn_neighbors_if_not_null
(const int64_t x_bin, const int64_t y_bin, const int64_t num_bins_radius, std::vector<Z> &neighboring_bins) const¶
-
std::pair<Z, Z>
calculate_slope_and_aspect_of_cell
(const std::vector<Z> &neighboring_cells, const bool compute_slope_in_degrees) const¶
-
void
calculate_slope_and_aspect
(Column<Z> &slope, Column<Z> &aspect, const bool compute_slope_in_degrees) const¶
-
int64_t
outputDenseColumns
(TableFunctionManager &mgr, Column<T> &output_x, Column<T> &output_y, Column<Z> &output_z) const¶
-
int64_t
outputDenseColumns
(TableFunctionManager &mgr, Column<T> &output_x, Column<T> &output_y, Column<Z> &output_z, const int64_t neighborhood_null_fill_radius) const¶
Public Members
-
const T
bin_dim_meters_
¶
-
const bool
geographic_coords_
¶
-
const Z
null_sentinel_
¶
-
std::vector<Z>
z_
¶
-
T
x_min_
¶
-
T
x_max_
¶
-
T
y_min_
¶
-
T
y_max_
¶
-
T
x_range_
¶
-
T
y_range_
¶
-
T
x_meters_per_degree_
¶
-
T
y_meters_per_degree_
¶
-
int64_t
num_x_bins_
¶
-
int64_t
num_y_bins_
¶
-
int64_t
num_bins_
¶
-
T
x_scale_input_to_bin_
¶
-
T
y_scale_input_to_bin_
¶
-
T
x_scale_bin_to_input_
¶
-
T
y_scale_bin_to_input_
¶
-
template<typename