tilearray.XYZService#
- class tilearray.XYZService(base_url, *, zoom, tile_size=256, output_format=Format.PNG, crs=CRS.EPSG_4326, **config)[source]#
Client for XYZ / slippy-map tile endpoints.
- Parameters:
- __init__(base_url, *, zoom, tile_size=256, output_format=Format.PNG, crs=CRS.EPSG_4326, **config)[source]#
Methods
__init__(base_url, *, zoom[, tile_size, ...])build_tile_request(tile, **options)Build the HTTP request description for a tile.
compose_tile_request(tile, *, url[, params, ...])Build a tile request with config headers/params applied.
from_url(url, **config)Factory hook for constructing a service from a URL.
generate_tile_requests(bbox, chunk_size, ...)Generate concrete tile requests for the provided bounding box.
plan_tiles(bbox, chunk_size, **options)Return the spatial layout of tiles for the requested area.
request_headers(**options)Merge service-level and per-call HTTP headers.
Attributes
inferred_grid_shapeservice_type