Skip to content

Commit ad862a6

Browse files
committed
Remove last running example from function ref page
Signed-off-by: Jason T. Brown <[email protected]>
1 parent 44eeb92 commit ad862a6

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

pyrasterframes/src/main/python/docs/reference.pymd

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -160,23 +160,6 @@ Convert a vector Geometry `geom` into a Tile representation. The `value` will be
160160

161161
Parameters `tile_columns` and `tile_rows` are literals, not column expressions. The others are column expressions.
162162

163-
164-
Example use. In the code snip below, you can visualize the `tri` and `b` geometries with tools like [Wicket](https://arthur-e.github.io/Wicket/sandbox-gmaps3.html). The result is a right triangle burned into the `tile`, with NoData values shown as ∘.
165-
166-
167-
```python
168-
spark.sql("""
169-
SELECT rf_render_ascii(
170-
rf_rasterize(tri, b, 8, 10, 10))
171-
172-
FROM
173-
( SELECT st_geomFromWKT('POLYGON((1.5 0.5, 1.5 1.5, 0.5 0.5, 1.5 0.5))') AS tri,
174-
st_geomFromWKT('POLYGON((0.0 0.0, 2.0 0.0, 2.0 2.0, 0.0 2.0, 0.0 0.0))') AS b
175-
) r
176-
""").show(1, False)
177-
```
178-
179-
180163
### rf_array_to_tile
181164

182165
Tile rf_array_to_tile(Array arrayCol, Int numCols, Int numRows)

0 commit comments

Comments
 (0)