gis_render
To get a tile of a WebGIS map, use the following request:
https://<host>/gis_render/<x>_<y>_<z>/<uid>/<tile_name>.png?density=...
Parameters
The required parameters are marked with an asterisk (*).
Name | Description |
---|---|
x* | X-coordinate of the tile. |
y* | Y-coordinate of the tile. |
z* | Zoom. |
uid* | Current user ID. Deprecated, always use gis_sid. |
density | Tile size. |
gis_sid* | Unique ID of the user session. |
f* | Flags: 0x200 - zoom Google Maps. |
Tile coordinates are calculated according to the concept described here. Zoom tiles for Webgis from 17 to z.
Density
The parameter is optional. The default tile size is 256*256.
Value | Tile size | Ratio |
---|---|---|
1 | 256*256 | 1 |
2 | 384*384 | 1.5 |
3 | 512*512 | 2 |
4 | 768*768 | 3 |
5 | 1024*1024 | 4 |
Error codes
Error code | Description |
---|---|
500 | Internal server error. |
401 | Access denied. |
304 | Not modified. |
Response
Returns an image in the PNG format.