-
Notifications
You must be signed in to change notification settings - Fork 1
poly2allgrids
Maarten Hilferink edited this page Oct 17, 2024
·
10 revisions
poly2allgrids(poly: polyDomain->*points, rasterDomain)
unit<uint32> _ {
attribute<polyDomain> polygon_rel;
attribute<rasterDomain> grid_rel;
}
This function results in a cross-table having for each polygon all raster-cell-centres that are inside that polygon, allowing for raster-cell-centres to be found in multiple (overlapping) polygons, unlike the result of poly2grid, which can only represent one polygon per raster-cell-centre.
Note that the attribute polygon_rel
is only created when polyDomain is non-void.
-
poly
must have value compositionpolygon
, akapoly
, orarc
, i,e. must contain sequences of points. - The
rasterDomain
must be related to the same geographic projection as the values unit ofpoly
. - This function will fail if the number of cross-table entries is larger than 2^32-2. If you are uncertain that this will not be the case, use poly2allgrids_uint64
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.