Closed MaartenHilferink closed 5 months ago
This Neigborhood is NOT a solution for wrapping raster functions around projection boundaries, specifically: potential (convolution) and griddist.
For that one can define a new, local raster that stitches the projection boundary:
unit<wpoint> local_raster := range(0, extents_of_continent)
{
attribute<domain_grid> org_rel :=
point_xy(
mod(pointcol(ID(.))+left_offset,pointcol(boundrange(domain_grid)))
, pointrow(ID(.))+top_offset
);
}
Note that: pointcol(ID(.))+left_offset
must be representable in the coordinate type of domain_grid
.
See also the overview of affected raster operations and possible solutions in: https://github.com/ObjectVision/GeoDMS/issues/724
Memory issue on TRI for NorthAmerica partially resolved:
third_rel should wrap around the projection-boundary to support Oceania, Western hemisphere part of Russia, and the Eastern hemisphere part of Alaska.
Furthermore it should relate to the compacted domain of a continent, similar to how it now relates to a compacted kernel; in code: