{"openapi":"3.1.0","info":{"title":"Tile Server","description":"A microservice for serving the map tiles","version":"0.1.0"},"paths":{"/vector/{z}/{x}/{y}.pbf":{"get":{"summary":"Vector Tile View","operationId":"vector_tile_view_vector__z___x___y__pbf_get","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","title":"Z"}},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"X"}},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Y"}},{"name":"key","in":"query","required":false,"schema":{"type":"string","description":"S3 key of tiles folder","title":"Key"},"description":"S3 key of tiles folder"},{"name":"layer_id","in":"query","required":false,"schema":{"type":"string","format":"uuid","description":"Id of the layer","title":"Layer Id"},"description":"Id of the layer"},{"name":"with_master_server","in":"query","required":false,"schema":{"default":false,"title":"With Master Server"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cesium-terrain/layer.json":{"get":{"summary":"Get the cesium terrain's layer.json for a COG","description":"Get the dynamically generated cesium terrain's layer.json for a COG","operationId":"cesium_terrain_metadata_view_cesium_terrain_layer_json_get","parameters":[{"name":"cog","in":"query","required":false,"schema":{"type":"string","title":"Path to cog","description":"Path to cog (.tif, .tiff, .vrt, .json, .mosaic) file, can be local or over http"},"description":"Path to cog (.tif, .tiff, .vrt, .json, .mosaic) file, can be local or over http"},{"name":"minZoom","in":"query","required":false,"schema":{"type":"integer","title":"Minimum Zoomlevel","description":"When set CTOD returns empty tiles for zoom < minZoom, Default (1)"},"description":"When set CTOD returns empty tiles for zoom < minZoom, Default (1)"},{"name":"maxZoom","in":"query","required":false,"schema":{"type":"integer","title":"Max Zoom","description":"Maximum zoom level that will be requested by the client, Default (18)"},"description":"Maximum zoom level that will be requested by the client, Default (18)"},{"name":"resamplingMethod","in":"query","required":false,"schema":{"type":"string","title":"Resampling Method","description":"Resampling method for COG: 'nearest', 'bilinear', 'cubic', 'cubic_spline', 'lanczos', 'average', 'mode', 'gauss', 'rms'. Default ('none')"},"description":"Resampling method for COG: 'nearest', 'bilinear', 'cubic', 'cubic_spline', 'lanczos', 'average', 'mode', 'gauss', 'rms'. Default ('none')"},{"name":"meshingMethod","in":"query","required":false,"schema":{"type":"string","title":"Meshing Method","description":"Meshing method to use: grid, martini, delatin, Default (grid)"},"description":"Meshing method to use: grid, martini, delatin, Default (grid)"},{"name":"skipCache","in":"query","required":false,"schema":{"type":"boolean","title":"Skip Cache","description":"Set to true to prevent loading tiles from the cache. Default (False)"},"description":"Set to true to prevent loading tiles from the cache. Default (False)"},{"name":"defaultGridSize","in":"query","required":false,"schema":{"type":"integer","title":"Default Grid Size","description":"The default grid size (amount of rows/cols) to use if there is no specific zoomGridSizes defined for a requested tile, Default (20)"},"description":"The default grid size (amount of rows/cols) to use if there is no specific zoomGridSizes defined for a requested tile, Default (20)"},{"name":"zoomGridSizes","in":"query","required":false,"schema":{"type":"string","title":"Default Grid Size","description":"Default grid size for terrain tiles"},"description":"Default grid size for terrain tiles"},{"name":"defaultMaxError","in":"query","required":false,"schema":{"type":"integer","title":"Default Max Error","description":"The default max triangulation error in meters to use, Default (4)"},"description":"The default max triangulation error in meters to use, Default (4)"},{"name":"zoomMaxErrors","in":"query","required":false,"schema":{"type":"string","title":"Default Grid Size","description":"Per level defined max error, when requested zoom for tile not specified use defaultMaxError. Default (`{'15': 8, '16': 5, '17': 3, '18': 2, '19': 1, '20': 0.5, '21': 0.3, '22': 0.1}`)"},"description":"Per level defined max error, when requested zoom for tile not specified use defaultMaxError. Default (`{'15': 8, '16': 5, '17': 3, '18': 2, '19': 1, '20': 0.5, '21': 0.3, '22': 0.1}`)"},{"name":"extensions","in":"query","required":false,"schema":{"type":"string","title":"Quantized Mesh Extensions","description":"Normally supplied trough Accept header but can be set and overridden here, by multiple extensions user separator '-' (octvertexnormals-watermask) Currently only octvertexnormals is supported"},"description":"Normally supplied trough Accept header but can be set and overridden here, by multiple extensions user separator '-' (octvertexnormals-watermask) Currently only octvertexnormals is supported"},{"name":"with_master_server","in":"query","required":false,"schema":{"default":false,"title":"With Master Server"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cesium-terrain/{z}/{x}/{y}.terrain":{"get":{"summary":"Get a terrain tile","description":"Generates and returns a terrain tile from a COG","operationId":"cesium_terrain_tile_view_cesium_terrain__z___x___y__terrain_get","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","title":"Z"}},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"X"}},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Y"}},{"name":"cog","in":"query","required":false,"schema":{"type":"string","title":"Path to cog","description":"Path to cog (.tif, .tiff, .vrt, .json, .mosaic) file, can be local or over http"},"description":"Path to cog (.tif, .tiff, .vrt, .json, .mosaic) file, can be local or over http"},{"name":"minZoom","in":"query","required":false,"schema":{"type":"integer","title":"Minimum Zoomlevel","description":"When set CTOD returns empty tiles for zoom < minZoom, Default (1)"},"description":"When set CTOD returns empty tiles for zoom < minZoom, Default (1)"},{"name":"resamplingMethod","in":"query","required":false,"schema":{"type":"string","title":"Resampling Method","description":"Resampling method for COG: 'nearest', 'bilinear', 'cubic', 'cubic_spline', 'lanczos', 'average', 'mode', 'gauss', 'rms'. Default ('none')"},"description":"Resampling method for COG: 'nearest', 'bilinear', 'cubic', 'cubic_spline', 'lanczos', 'average', 'mode', 'gauss', 'rms'. Default ('none')"},{"name":"meshingMethod","in":"query","required":false,"schema":{"type":"string","title":"Meshing Method","description":"Meshing method to use: grid, martini, delatin, Default (grid)"},"description":"Meshing method to use: grid, martini, delatin, Default (grid)"},{"name":"skipCache","in":"query","required":false,"schema":{"type":"boolean","title":"Skip Cache","description":"Set to true to prevent loading tiles from the cache. Default (False)"},"description":"Set to true to prevent loading tiles from the cache. Default (False)"},{"name":"defaultGridSize","in":"query","required":false,"schema":{"type":"integer","title":"Default Grid Size","description":"The default grid size (amount of rows/cols) to use if there is no specific zoomGridSizes defined for a requested tile, Default (20)"},"description":"The default grid size (amount of rows/cols) to use if there is no specific zoomGridSizes defined for a requested tile, Default (20)"},{"name":"zoomGridSizes","in":"query","required":false,"schema":{"type":"string","title":"Default Grid Size","description":"Default grid size for terrain tiles"},"description":"Default grid size for terrain tiles"},{"name":"defaultMaxError","in":"query","required":false,"schema":{"type":"integer","title":"Default Max Error","description":"The default max triangulation error in meters to use, Default (4)"},"description":"The default max triangulation error in meters to use, Default (4)"},{"name":"zoomMaxErrors","in":"query","required":false,"schema":{"type":"string","title":"Default Grid Size","description":"Per level defined max error, when requested zoom for tile not specified use defaultMaxError. Default (`{'15': 8, '16': 5, '17': 3, '18': 2, '19': 1, '20': 0.5, '21': 0.3, '22': 0.1}`)"},"description":"Per level defined max error, when requested zoom for tile not specified use defaultMaxError. Default (`{'15': 8, '16': 5, '17': 3, '18': 2, '19': 1, '20': 0.5, '21': 0.3, '22': 0.1}`)"},{"name":"extensions","in":"query","required":false,"schema":{"type":"string","title":"Quantized Mesh Extensions","description":"Normally supplied trough Accept header but can be set and overridden here, by multiple extensions user separator '-' (octvertexnormals-watermask) Currently only octvertexnormals is supported"},"description":"Normally supplied trough Accept header but can be set and overridden here, by multiple extensions user separator '-' (octvertexnormals-watermask) Currently only octvertexnormals is supported"},{"name":"fastMode","in":"query","required":false,"schema":{"type":"boolean","title":"Fast Mode","description":"When true, skips loading neighbor tiles for edge smoothing. Faster response (~1-2s vs 5-8s) but edges between tiles may have visible seams."},"description":"When true, skips loading neighbor tiles for edge smoothing. Faster response (~1-2s vs 5-8s) but edges between tiles may have visible seams."},{"name":"with_master_server","in":"query","required":false,"schema":{"default":false,"title":"With Master Server"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/terrain/layer.json":{"get":{"summary":"Terrain Metadata View","operationId":"terrain_metadata_view_terrain_layer_json_get","parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}},{"name":"iteration_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Iteration Id"}},{"name":"with_master_server","in":"query","required":false,"schema":{"default":false,"title":"With Master Server"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/terrain/{z}/{x}/{y}.terrain":{"get":{"summary":"Terrain Tile View","operationId":"terrain_tile_view_terrain__z___x___y__terrain_get","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","title":"Z"}},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"X"}},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Y"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}},{"name":"with_master_server","in":"query","required":false,"schema":{"default":false,"title":"With Master Server"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ortho/{z}/{x}/{y}.png":{"get":{"summary":"Cog Tile View","operationId":"cog_tile_view_ortho__z___x___y__png_get","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","title":"Z"}},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"X"}},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Y"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}},{"name":"tile_size","in":"query","required":false,"schema":{"type":"integer","default":256,"title":"Tile Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mbtiles/{z}/{x}/{y}.png":{"get":{"summary":"Mbtiles View","operationId":"mbtiles_view_mbtiles__z___x___y__png_get","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","title":"Z"}},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"X"}},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Y"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}},{"name":"with_master_server","in":"query","required":false,"schema":{"default":false,"title":"With Master Server"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/histogram/{z}/{x}/{y}.png":{"get":{"summary":"Cog Histogram Tile View","operationId":"cog_histogram_tile_view_histogram__z___x___y__png_get","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","title":"Z"}},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"X"}},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Y"}},{"name":"rescale","in":"query","required":true,"schema":{"type":"string","title":"Rescale"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}},{"name":"tile_size","in":"query","required":false,"schema":{"type":"integer","default":256,"title":"Tile Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/3dtiles/{filename}.{extension}":{"get":{"summary":"Cesium 3Dtiles View","operationId":"cesium_3dtiles_view_3dtiles__filename___extension__get","parameters":[{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}},{"name":"extension","in":"path","required":true,"schema":{"enum":["json","pnts","b3dm","i3dm","glb"],"type":"string","title":"Extension"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"S3 key of tiles directory","title":"Key"},"description":"S3 key of tiles directory"},{"name":"with_master_server","in":"query","required":false,"schema":{"default":false,"title":"With Master Server"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cv-tiles/{filename}.{extension}":{"get":{"summary":"Cv Tiles View","operationId":"cv_tiles_view_cv_tiles__filename___extension__get","parameters":[{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}},{"name":"extension","in":"path","required":true,"schema":{"enum":["json","gz"],"type":"string","title":"Extension"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Cloud Storage key of tiles directory","title":"Key"},"description":"Cloud Storage key of tiles directory"},{"name":"with_master_server","in":"query","required":false,"schema":{"default":false,"title":"With Master Server"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/altitude":{"get":{"summary":"Get Altitude View","operationId":"get_altitude_view_altitude_get","parameters":[{"name":"longitude","in":"query","required":true,"schema":{"type":"number","title":"Longitude"}},{"name":"latitude","in":"query","required":true,"schema":{"type":"number","title":"Latitude"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ping":{"get":{"summary":"Ping","operationId":"ping_ping_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}