gws.gis.render

Map render utilities

Source code: gws.gis.render

Package Contents

gws.gis.render.map_view_from_bbox(size: gws.UomSize, bbox: gws.Extent, crs: gws.Crs, dpi, rotation=0) gws.MapView
gws.gis.render.map_view_from_center(size: gws.UomSize, center: gws.Point, crs: gws.Crs, dpi, scale, rotation=0) gws.MapView
gws.gis.render.map_view_transformer(view: gws.MapView)

Create a pixel transformer f(map_x, map_y) -> (pixel_x, pixel_y) for a view

gws.gis.render.MAX_DPI = 1200
gws.gis.render.MIN_DPI
gws.gis.render.output_to_html_element(mro: gws.MapRenderOutput, wrap='relative') gws.XmlElement
gws.gis.render.output_to_html_string(mro: gws.MapRenderOutput, wrap='relative') str
gws.gis.render.render_map(mri: gws.MapRenderInput) gws.MapRenderOutput