Skip to content

Commit 0668649

Browse files
committed
fix wording again
1 parent df3cef4 commit 0668649

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/15_polygon_fill.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,11 +1065,11 @@
10651065
"\n",
10661066
"Off-boundary pixels are pixels that have at least one corner tangential to an AOI polygon's edge. They are useful for gridding error correction in [FastSquareGridGenerator](https://geowrangler.thinkingmachin.es/grids.html#fastsquaregridgenerator) and [FastBingTileGridGenerator](https://geowrangler.thinkingmachin.es/grids.html#fastbingtilegridgenerator). \n",
10671067
"\n",
1068-
"Since there are loss in precision errors from translating geographic coordinates to pixel coordinates, the polygon fill algorithm sometimes misses out on pixels tangential to the AOI polygon. To correct this error, we need to add back some of the off-boundary pixels.\n",
1068+
"Since there are loss in precision errors from translating geographic coordinates to pixel coordinates, the polygon fill algorithm sometimes misses out on pixels tangential to the AOI polygon. To correct this error, we need to add some of the off-boundary pixels.\n",
10691069
"\n",
10701070
"### How is error correction implemented?\n",
10711071
"\n",
1072-
"We determine which pixels to add to the main pixel set by intersecting the polygon boundary linestring with the off-boundary pixel polygon. Both the linestring and the off-boundary pixel polygon should be in geographic coordinates, not pixel coordinates. The pixels that intersect should be added to the main set of filled pixels. You can find this implementation in the `generate_grid` method under [FastSquareGridGenerator](https://geowrangler.thinkingmachin.es/grids.html#fastsquaregridgenerator) and [FastBingTileGridGenerator](https://geowrangler.thinkingmachin.es/grids.html#fastbingtilegridgenerator)\n",
1072+
"We determine which pixels to add to the main pixel set by intersecting the polygon boundary linestring with the off-boundary pixel polygon. Both the linestring and the off-boundary pixel polygon should be in geographic coordinates, not pixel coordinates. The pixels that intersect should be added to the main pixel set. You can find this implementation in the `generate_grid` method under [FastSquareGridGenerator](https://geowrangler.thinkingmachin.es/grids.html#fastsquaregridgenerator) and [FastBingTileGridGenerator](https://geowrangler.thinkingmachin.es/grids.html#fastbingtilegridgenerator)\n",
10731073
"\n",
10741074
"- *Why can't we just add all of the off-boundary pixels?* We can't because not all of the off-boundary pixels actually intersect the polygon when in geographic coordinates. \n",
10751075
"\n",

0 commit comments

Comments
 (0)