GeoScript

Previous topic

Transform

This Page

render

geoscript.render.draw(obj, style=None, bounds=None, size=None, format=None, **options)

Draws an object onto a canvas.

obj can be a geometry, list of geometries, or a Layer.

style is a Symbolizer that specifies how to render the object.

size is a tuple that specifies the dimensions of the canvas the object will drawn upon.

format is the format or renderer to use for rendering.

geoscript.render.plot(geoms, size=(500, 500))

Plots a set of geometry objects into a xy grid.

geom is a list of geometry objects to plot. size is the resulting size of the rendered plot.