GeoServer WMTS Store Layers
A WMTS store is a store whose source is a remote WMTS service. Also known as "Cascading WMTS". A WMTS store layer is a layer from this store.
Version: 1.0.0
BasePath:/geoserver/rest
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
[ Jump to Models ]
Table of Contents
Up
delete /workspaces/{workspace}/wmtslayers/{wmtslayer}
(deleteWMTSStoreLayer)
Deletes a layer from the server.
Path parameters
workspace (required)
Path Parameter — Name of the workspace
wmtslayer (required)
Path Parameter — Name of the layer to be deleted
Query parameters
recurse (optional)
Query Parameter — Recursively deletes all layers referenced by the specified wmtslayer. Allowed values for this parameter are true or false. The default value is false. A request with 'recurse=false' will fail if any layers reference the wmtslayer. default: false
Responses
200
OK
Up
delete /workspaces/{workspace}/wmtslayers
(deleteWMTSStoreLayers)
Invalid. Can only delete an individual layer.
Responses
405
Method Not Allowed
Up
delete /workspaces/{workspace}/wmtsstores/{wmtsstore}/layers/{wmtslayer}
(deleteWMTSStoreStoreLayer)
Deletes a layer from the server.
Path parameters
workspace (required)
Path Parameter — Name of the workspace
wmtsstore (required)
Path Parameter — Name of the store
wmtslayer (required)
Path Parameter — Name of the layer to be deleted
Query parameters
recurse (optional)
Query Parameter — Recursively deletes all layers referenced by the specified wmtslayer. Allowed values for this parameter are true or false. The default value is false. A request with 'recurse=false' will fail if any layers reference the wmtslayer. default: false
Responses
200
OK
Up
delete /workspaces/{workspace}/wmtsstores/{wmtsstore}/layers
(deleteWMTSStoreStoreLayers)
Invalid. Can only delete an individual layer.
Responses
405
Method Not Allowed
Up
get /workspaces/{workspace}/wmtslayers/{wmtslayer}
(getWMTSStoreLayer)
Retrieves an individual WMTS layer. Use the "Accept:" header to specify format or append an extension to the endpoint (example "/workspaces/{workspace}/wmtslayers/{wmtslayer}.xml" for XML).
Path parameters
workspace (required)
Path Parameter — Name of the workspace
wmtslayer (required)
Path Parameter — Name of the layer
Query parameters
quietOnNotFound (optional)
Query Parameter — When set to "true", will not log an exception when the style is not present. The 404 status code will still be returned. Allowable values are "true" or "false" (default).
Return type
Example data
Content-Type: application/xml
"\n dem\n usgs:dem\n \n cite\n \n \n Digital elevation model\n USGS GTOPO30 digital elevation model\n USGS GTOPO30 digital elevation model\n \n WCS\n GeoTIFF\n W100N40\n \n GEOGCS["WGS 84",
\n DATUM["World Geodetic System 1984",
\n SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
\n AUTHORITY["EPSG","6326"]],
\n PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
\n UNIT["degree", 0.017453292519943295],
\n AXIS["Geodetic longitude", EAST],
\n AXIS["Geodetic latitude", NORTH],
\n AUTHORITY["EPSG","4326"]]\n EPSG:4326\n \n -100.0\n -60.000000000015994\n -9.999999999980012\n 39.99999999999999\n EPSG:4326\n \n \n -100.0\n -60.000000000015994\n -9.999999999980012\n 39.99999999999999\n EPSG:4326\n \n FORCE_DECLARED\n true\n \n false\n \n \n cite:altgs\n \n \n\n"
Example data
Content-Type: application/json
"{\"wmtsLayer\":{\"name\":\"dem\",\"nativeName\":\"usgs:dem\",\"namespace\":{\"name\":\"cite\",\"href\":\"http://localhost:8080/geoserver/rest/namespaces/cite.json\"},\"title\":\"Digital elevation model\",\"description\":\"USGS GTOPO30 digital elevation model\",\"abstract\":\"USGS GTOPO30 digital elevation model\",\"keywords\":{\"string\":[\"WCS\",\"GeoTIFF\",\"W100N40\"]},\"nativeCRS\":\"GEOGCS[\\\"WGS 84\\\", \\r\\n DATUM[\\\"World Geodetic System 1984\\\", \\r\\n SPHEROID[\\\"WGS 84\\\", 6378137.0, 298.257223563, AUTHORITY[\\\"EPSG\\\",\\\"7030\\\"]], \\r\\n AUTHORITY[\\\"EPSG\\\",\\\"6326\\\"]], \\r\\n PRIMEM[\\\"Greenwich\\\", 0.0, AUTHORITY[\\\"EPSG\\\",\\\"8901\\\"]], \\r\\n UNIT[\\\"degree\\\", 0.017453292519943295], \\r\\n AXIS[\\\"Geodetic longitude\\\", EAST], \\r\\n AXIS[\\\"Geodetic latitude\\\", NORTH], \\r\\n AUTHORITY[\\\"EPSG\\\",\\\"4326\\\"]]\",\"srs\":\"EPSG:4326\",\"nativeBoundingBox\":{\"minx\":-100,\"maxx\":-60.000000000015994,\"miny\":-9.999999999980012,\"maxy\":39.99999999999999,\"crs\":\"EPSG:4326\"},\"latLonBoundingBox\":{\"minx\":-100,\"maxx\":-60.000000000015994,\"miny\":-9.999999999980012,\"maxy\":39.99999999999999,\"crs\":\"EPSG:4326\"},\"projectionPolicy\":\"FORCE_DECLARED\",\"enabled\":true,\"metadata\":{\"entry\":{\"@key\":\"cachingEnabled\",\"$\":\"false\"}},\"store\":{\"@class\":\"wmtsStore\",\"name\":\"cite:altgs\",\"href\":\"http://localhost:8080/geoserver/rest/workspaces/cite/wmtsstores/altgs.json\"}}}\n"
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/xml
application/json
text/html
Responses
200
OK
WMTSStoreLayerInfo
Example data
Content-Type: application/xml
dem
usgs:dem
cite
Digital elevation model
USGS GTOPO30 digital elevation model
USGS GTOPO30 digital elevation model
WCS
GeoTIFF
W100N40
GEOGCS["WGS 84",
DATUM["World Geodetic System 1984",
SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4326"]]
EPSG:4326
-100.0
-60.000000000015994
-9.999999999980012
39.99999999999999
EPSG:4326
-100.0
-60.000000000015994
-9.999999999980012
39.99999999999999
EPSG:4326
FORCE_DECLARED
true
false
cite:altgs
Example data
Content-Type: application/json
{"wmtsLayer":{"name":"dem","nativeName":"usgs:dem","namespace":{"name":"cite","href":"http://localhost:8080/geoserver/rest/namespaces/cite.json"},"title":"Digital elevation model","description":"USGS GTOPO30 digital elevation model","abstract":"USGS GTOPO30 digital elevation model","keywords":{"string":["WCS","GeoTIFF","W100N40"]},"nativeCRS":"GEOGCS[\"WGS 84\", \r\n DATUM[\"World Geodetic System 1984\", \r\n SPHEROID[\"WGS 84\", 6378137.0, 298.257223563, AUTHORITY[\"EPSG\",\"7030\"]], \r\n AUTHORITY[\"EPSG\",\"6326\"]], \r\n PRIMEM[\"Greenwich\", 0.0, AUTHORITY[\"EPSG\",\"8901\"]], \r\n UNIT[\"degree\", 0.017453292519943295], \r\n AXIS[\"Geodetic longitude\", EAST], \r\n AXIS[\"Geodetic latitude\", NORTH], \r\n AUTHORITY[\"EPSG\",\"4326\"]]","srs":"EPSG:4326","nativeBoundingBox":{"minx":-100,"maxx":-60.000000000015994,"miny":-9.999999999980012,"maxy":39.99999999999999,"crs":"EPSG:4326"},"latLonBoundingBox":{"minx":-100,"maxx":-60.000000000015994,"miny":-9.999999999980012,"maxy":39.99999999999999,"crs":"EPSG:4326"},"projectionPolicy":"FORCE_DECLARED","enabled":true,"metadata":{"entry":{"@key":"cachingEnabled","$":"false"}},"store":{"@class":"wmtsStore","name":"cite:altgs","href":"http://localhost:8080/geoserver/rest/workspaces/cite/wmtsstores/altgs.json"}}}
Up
get /workspaces/{workspace}/wmtslayers
(getWMTSStoreLayers)
Retrieves the WMTS layers available on the server. Use the "Accept:" header to specify format or append an extension to the endpoint (example "/workspaces/{workspace}/wmtslayers" for XML).
Path parameters
workspace (required)
Path Parameter — Name of the workspace
Query parameters
list (optional)
Query Parameter — Set "list=available" to see all possible layers in the store, not just ones currently published default: configured
Return type
Example data
Content-Type: application/xml
"\n \n dem\n \n \n \n states\n \n \n\n"
Example data
Content-Type: application/json
"{\"wmtsLayers\":{\"wmtsLayer\":[{\"name\":\"dem\",\"href\":\"http:\\/\\/localhost:8080\\/geoserver\\/rest\\/workspaces\\/cite\\/wmtsstores\\/altgs\\/wmtslayers\\/dem.json\"},{\"name\":\"states\",\"href\":\"http:\\/\\/localhost:8080\\/geoserver\\/rest\\/workspaces\\/cite\\/wmtsstores\\/altgs\\/wmtslayers\\/states.json\"}]}}\n"
Example data
Content-Type: application/xml (list=available)
"\n ne:basemap\n ne:ne1\n ne:boundary_lines_land\n ne:states_provinces_lines\n ne:populated_places\n opengeo:countries\n usgs:dem\n ne:ocean\n ne:roads\n usa:states\n ne:states_provinces_shp\n ne:urban_areas\n
\n"
Example data
Content-Type: application/json (list=available)
"{\"list\":{\"string\":[\"ne:basemap\",\"ne:ne1\",\"ne:boundary_lines_land\",\"ne:states_provinces_lines\",\"ne:populated_places\",\"opengeo:countries\",\"usgs:dem\",\"ne:ocean\",\"ne:roads\",\"usa:states\",\"ne:states_provinces_shp\",\"ne:urban_areas\"]}}\n"
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/xml
application/json
text/html
Responses
200
OK
WMTSStoreLayersList
Example data
Content-Type: application/xml
dem
states
Example data
Content-Type: application/json
{"wmtsLayers":{"wmtsLayer":[{"name":"dem","href":"http:\/\/localhost:8080\/geoserver\/rest\/workspaces\/cite\/wmtsstores\/altgs\/wmtslayers\/dem.json"},{"name":"states","href":"http:\/\/localhost:8080\/geoserver\/rest\/workspaces\/cite\/wmtsstores\/altgs\/wmtslayers\/states.json"}]}}
Example data
Content-Type: application/xml (list=available)
ne:basemap
ne:ne1
ne:boundary_lines_land
ne:states_provinces_lines
ne:populated_places
opengeo:countries
usgs:dem
ne:ocean
ne:roads
usa:states
ne:states_provinces_shp
ne:urban_areas
Example data
Content-Type: application/json (list=available)
{"list":{"string":["ne:basemap","ne:ne1","ne:boundary_lines_land","ne:states_provinces_lines","ne:populated_places","opengeo:countries","usgs:dem","ne:ocean","ne:roads","usa:states","ne:states_provinces_shp","ne:urban_areas"]}}
Up
get /workspaces/{workspace}/wmtsstores/{wmtsstore}/layers/{wmtslayer}
(getWMTSStoreStoreLayer)
Retrieves an individual WMTS store layer for a given store. Use the "Accept:" header to specify format or append an extension to the endpoint (example "/workspaces/{workspace}/wmtsstores/{wmtsstore}/wmtslayers/{wmtslayer}.xml" for XML).
Path parameters
workspace (required)
Path Parameter — Name of the workspace
wmtsstore (required)
Path Parameter — Name of the store
wtmslayer (required)
Path Parameter — Name of the layer
Query parameters
quietOnNotFound (optional)
Query Parameter — When set to "true", will not log an exception when the style is not present. The 404 status code will still be returned. Allowable values are "true" or "false" (default).
Return type
Example data
Content-Type: application/xml
"\n dem\n usgs:dem\n \n cite\n \n \n Digital elevation model\n USGS GTOPO30 digital elevation model\n USGS GTOPO30 digital elevation model\n \n WCS\n GeoTIFF\n W100N40\n \n GEOGCS["WGS 84",
\n DATUM["World Geodetic System 1984",
\n SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
\n AUTHORITY["EPSG","6326"]],
\n PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
\n UNIT["degree", 0.017453292519943295],
\n AXIS["Geodetic longitude", EAST],
\n AXIS["Geodetic latitude", NORTH],
\n AUTHORITY["EPSG","4326"]]\n EPSG:4326\n \n -100.0\n -60.000000000015994\n -9.999999999980012\n 39.99999999999999\n EPSG:4326\n \n \n -100.0\n -60.000000000015994\n -9.999999999980012\n 39.99999999999999\n EPSG:4326\n \n FORCE_DECLARED\n true\n \n false\n \n \n cite:altgs\n \n \n\n"
Example data
Content-Type: application/json
"{\"wmtsLayer\":{\"name\":\"dem\",\"nativeName\":\"usgs:dem\",\"namespace\":{\"name\":\"cite\",\"href\":\"http://localhost:8080/geoserver/rest/namespaces/cite.json\"},\"title\":\"Digital elevation model\",\"description\":\"USGS GTOPO30 digital elevation model\",\"abstract\":\"USGS GTOPO30 digital elevation model\",\"keywords\":{\"string\":[\"WCS\",\"GeoTIFF\",\"W100N40\"]},\"nativeCRS\":\"GEOGCS[\\\"WGS 84\\\", \\r\\n DATUM[\\\"World Geodetic System 1984\\\", \\r\\n SPHEROID[\\\"WGS 84\\\", 6378137.0, 298.257223563, AUTHORITY[\\\"EPSG\\\",\\\"7030\\\"]], \\r\\n AUTHORITY[\\\"EPSG\\\",\\\"6326\\\"]], \\r\\n PRIMEM[\\\"Greenwich\\\", 0.0, AUTHORITY[\\\"EPSG\\\",\\\"8901\\\"]], \\r\\n UNIT[\\\"degree\\\", 0.017453292519943295], \\r\\n AXIS[\\\"Geodetic longitude\\\", EAST], \\r\\n AXIS[\\\"Geodetic latitude\\\", NORTH], \\r\\n AUTHORITY[\\\"EPSG\\\",\\\"4326\\\"]]\",\"srs\":\"EPSG:4326\",\"nativeBoundingBox\":{\"minx\":-100,\"maxx\":-60.000000000015994,\"miny\":-9.999999999980012,\"maxy\":39.99999999999999,\"crs\":\"EPSG:4326\"},\"latLonBoundingBox\":{\"minx\":-100,\"maxx\":-60.000000000015994,\"miny\":-9.999999999980012,\"maxy\":39.99999999999999,\"crs\":\"EPSG:4326\"},\"projectionPolicy\":\"FORCE_DECLARED\",\"enabled\":true,\"metadata\":{\"entry\":{\"@key\":\"cachingEnabled\",\"$\":\"false\"}},\"store\":{\"@class\":\"wmtsStore\",\"name\":\"cite:altgs\",\"href\":\"http://localhost:8080/geoserver/rest/workspaces/cite/wmtsstores/altgs.json\"}}}\n"
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/xml
application/json
text/html
Responses
200
OK
WMTSStoreLayerInfo
Example data
Content-Type: application/xml
dem
usgs:dem
cite
Digital elevation model
USGS GTOPO30 digital elevation model
USGS GTOPO30 digital elevation model
WCS
GeoTIFF
W100N40
GEOGCS["WGS 84",
DATUM["World Geodetic System 1984",
SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4326"]]
EPSG:4326
-100.0
-60.000000000015994
-9.999999999980012
39.99999999999999
EPSG:4326
-100.0
-60.000000000015994
-9.999999999980012
39.99999999999999
EPSG:4326
FORCE_DECLARED
true
false
cite:altgs
Example data
Content-Type: application/json
{"wmtsLayer":{"name":"dem","nativeName":"usgs:dem","namespace":{"name":"cite","href":"http://localhost:8080/geoserver/rest/namespaces/cite.json"},"title":"Digital elevation model","description":"USGS GTOPO30 digital elevation model","abstract":"USGS GTOPO30 digital elevation model","keywords":{"string":["WCS","GeoTIFF","W100N40"]},"nativeCRS":"GEOGCS[\"WGS 84\", \r\n DATUM[\"World Geodetic System 1984\", \r\n SPHEROID[\"WGS 84\", 6378137.0, 298.257223563, AUTHORITY[\"EPSG\",\"7030\"]], \r\n AUTHORITY[\"EPSG\",\"6326\"]], \r\n PRIMEM[\"Greenwich\", 0.0, AUTHORITY[\"EPSG\",\"8901\"]], \r\n UNIT[\"degree\", 0.017453292519943295], \r\n AXIS[\"Geodetic longitude\", EAST], \r\n AXIS[\"Geodetic latitude\", NORTH], \r\n AUTHORITY[\"EPSG\",\"4326\"]]","srs":"EPSG:4326","nativeBoundingBox":{"minx":-100,"maxx":-60.000000000015994,"miny":-9.999999999980012,"maxy":39.99999999999999,"crs":"EPSG:4326"},"latLonBoundingBox":{"minx":-100,"maxx":-60.000000000015994,"miny":-9.999999999980012,"maxy":39.99999999999999,"crs":"EPSG:4326"},"projectionPolicy":"FORCE_DECLARED","enabled":true,"metadata":{"entry":{"@key":"cachingEnabled","$":"false"}},"store":{"@class":"wmtsStore","name":"cite:altgs","href":"http://localhost:8080/geoserver/rest/workspaces/cite/wmtsstores/altgs.json"}}}
Up
get /workspaces/{workspace}/wmtsstores/{wmtsstore}/layers
(getWMTSStoreStoreLayers)
Retrieves the WMTS store layers available in the given store. Use the "Accept:" header to specify format or append an extension to the endpoint (example "/workspaces/{workspace}/wmtsstores/{wmtsstore}/wmtslayers.xml" for XML).
Path parameters
workspace (required)
Path Parameter — Name of the workspace
wmtsstore (required)
Path Parameter — Name of the store
Query parameters
list (optional)
Query Parameter — Set "list=available" to see all possible layers in the store, not just ones currently published default: configured
Return type
Example data
Content-Type: application/xml
"\n \n dem\n \n \n \n states\n \n \n\n"
Example data
Content-Type: application/json
"{\"wmtsLayers\":{\"wmtsLayer\":[{\"name\":\"dem\",\"href\":\"http:\\/\\/localhost:8080\\/geoserver\\/rest\\/workspaces\\/cite\\/wmtsstores\\/altgs\\/wmtslayers\\/dem.json\"},{\"name\":\"states\",\"href\":\"http:\\/\\/localhost:8080\\/geoserver\\/rest\\/workspaces\\/cite\\/wmtsstores\\/altgs\\/wmtslayers\\/states.json\"}]}}\n"
Example data
Content-Type: application/xml (list=available)
"\n ne:basemap\n ne:ne1\n ne:boundary_lines_land\n ne:states_provinces_lines\n ne:populated_places\n opengeo:countries\n usgs:dem\n ne:ocean\n ne:roads\n usa:states\n ne:states_provinces_shp\n ne:urban_areas\n
\n"
Example data
Content-Type: application/json (list=available)
"{\"list\":{\"string\":[\"ne:basemap\",\"ne:ne1\",\"ne:boundary_lines_land\",\"ne:states_provinces_lines\",\"ne:populated_places\",\"opengeo:countries\",\"usgs:dem\",\"ne:ocean\",\"ne:roads\",\"usa:states\",\"ne:states_provinces_shp\",\"ne:urban_areas\"]}}\n"
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/xml
application/json
text/html
Responses
200
OK
WMTSStoreLayersList
Example data
Content-Type: application/xml
dem
states
Example data
Content-Type: application/json
{"wmtsLayers":{"wmtsLayer":[{"name":"dem","href":"http:\/\/localhost:8080\/geoserver\/rest\/workspaces\/cite\/wmtsstores\/altgs\/wmtslayers\/dem.json"},{"name":"states","href":"http:\/\/localhost:8080\/geoserver\/rest\/workspaces\/cite\/wmtsstores\/altgs\/wmtslayers\/states.json"}]}}
Example data
Content-Type: application/xml (list=available)
ne:basemap
ne:ne1
ne:boundary_lines_land
ne:states_provinces_lines
ne:populated_places
opengeo:countries
usgs:dem
ne:ocean
ne:roads
usa:states
ne:states_provinces_shp
ne:urban_areas
Example data
Content-Type: application/json (list=available)
{"list":{"string":["ne:basemap","ne:ne1","ne:boundary_lines_land","ne:states_provinces_lines","ne:populated_places","opengeo:countries","usgs:dem","ne:ocean","ne:roads","usa:states","ne:states_provinces_shp","ne:urban_areas"]}}
Up
post /workspaces/{workspace}/wmtslayers/{wmtslayer}
(postWMTSStoreLayer)
Invalid. Use PUT to edit a layer, or POST on the /wmtslayers endpoint to add a new layer.
Responses
405
Method Not Allowed
Up
post /workspaces/{workspace}/wmtslayers
(postWMTSStoreLayers)
Publishes a new WMTS store layer.
Path parameters
workspace (required)
Path Parameter — Name of the workspace
Consumes
This API call consumes the following media types via the request header:
application/xml
application/json
Request body
Body Parameter — Body of the WMTS store layer
Responses
201
Created
Up
post /workspaces/{workspace}/wmtsstores/{wmtsstore}/layers/{wmtslayer}
(postWMTSStoreStoreLayer)
Invalid. Use PUT to edit a layer, or POST on the /wmtslayers endpoint to add a new layer.
Responses
405
Method Not Allowed
Up
post /workspaces/{workspace}/wmtsstores/{wmtsstore}/layers
(postWMTSStoreStoreLayers)
Publishes a new WMTS store layer in the given store.
Path parameters
workspace (required)
Path Parameter — Name of the workspace
wmtsstore (required)
Path Parameter — Name of the data store
Consumes
This API call consumes the following media types via the request header:
application/xml
application/json
Request body
Body Parameter — Body of the WMTS store layer
Responses
201
Created
Up
put /workspaces/{workspace}/wmtslayers/{wmtslayer}
(putWMTSStoreLayer)
Edits an existing WMTS store layer.
Path parameters
workspace (required)
Path Parameter — Name of the workspace
wmtslayer (required)
Path Parameter — Name of the layer to be edited
Consumes
This API call consumes the following media types via the request header:
application/xml
application/json
Request body
Body Parameter — Body of the WMTS store layer
Query parameters
calculate (optional)
Query Parameter — Specifies whether to recalculate any bounding boxes for a wmtWMTSs layer. Some properties are automatically recalculated when necessary. In particular, the native bounding box is recalculated when the projection or projection policy are changed, and the lat/lon bounding box is recalculated when the native bounding box is recalculated, or when a new native bounding box is explicitly provided in the request. (The native and lat/lon bounding boxes are not automatically recalculated when they are explicitly included in the request.) In addition, the client may explicitly request a fixed set of fields to calculate, by including a comma-separated list of their names in the recalculate parameter. The empty parameter 'recalculate=' is useful avoid slow recalculation when operating against large datasets as 'recalculate=' avoids calculating any fields, regardless of any changes to projection, projection policy, etc. The nativebbox parameter 'recalculate=nativebbox' is used recalculates the native bounding box, while avoiding recalculating the lat/lon bounding box. Recalculate parameters can be used in together - 'recalculate=nativebbox,latlonbbox' can be used after a bulk import to to recalculates both the native bounding box and the lat/lon bounding box.
Responses
201
Created
Up
put /workspaces/{workspace}/wmtslayers
(putWMTSStoreLayers)
Invalid. Use POST for adding a new layer, or PUT on an individual layer to edit it.
Responses
405
Method Not Allowed
Up
put /workspaces/{workspace}/wmtsstores/{wmtsstore}/layers/{wmtslayer}
(putWMTSStoreStoreLayer)
Edits an existing WMTS store layer.
Path parameters
workspace (required)
Path Parameter — Name of the workspace
wmtsstore (required)
Path Parameter — Name of the store
wmtslayer (required)
Path Parameter — Name of the layer to be edited
Consumes
This API call consumes the following media types via the request header:
application/xml
application/json
Request body
Body Parameter — Body of the WMTS store layer
Query parameters
calculate (optional)
Query Parameter — Specifies whether to recalculate any bounding boxes for a wmts layer. Some properties are automatically recalculated when necessary. In particular, the native bounding box is recalculated when the projection or projection policy are changed, and the lat/lon bounding box is recalculated when the native bounding box is recalculated, or when a new native bounding box is explicitly provided in the request. (The native and lat/lon bounding boxes are not automatically recalculated when they are explicitly included in the request.) In addition, the client may explicitly request a fixed set of fields to calculate, by including a comma-separated list of their names in the recalculate parameter. The empty parameter 'recalculate=' is useful avoid slow recalculation when operating against large datasets as 'recalculate=' avoids calculating any fields, regardless of any changes to projection, projection policy, etc. The nativebbox parameter 'recalculate=nativebbox' is used recalculates the native bounding box, while avoiding recalculating the lat/lon bounding box. Recalculate parameters can be used in together - 'recalculate=nativebbox,latlonbbox' can be used after a bulk import to to recalculates both the native bounding box and the lat/lon bounding box.
Responses
201
Created
Up
put /workspaces/{workspace}/wmtsstores/{wmtsstore}/layers
(putWMTSStoreStoreLayers)
Invalid. Use POST for adding a new layer, or PUT on an individual layer to edit it.
Responses
405
Method Not Allowed
[ Jump to Methods ]
Table of Contents
MetadataEntry
- entry
WMTSStoreLayerInfo
- wmtsLayer
WMTSStoreLayerInfo_dataLinks
-
WMTSStoreLayerInfo_dataLinks_metadataLink
-
WMTSStoreLayerInfo_keywords
-
WMTSStoreLayerInfo_latLonBoundingBox
-
WMTSStoreLayerInfo_metadatalinks
-
WMTSStoreLayerInfo_metadatalinks_metadataLink
-
WMTSStoreLayerInfo_namespace
-
WMTSStoreLayerInfo_nativeBoundingBox
-
WMTSStoreLayerInfo_store
-
WMTSStoreLayersAvailableList
- list
WMTSStoreLayersList
- wmtsLayers
wmtsLayer
-
@key (optional)
String Key used for metadata entry
regionateStrategy
regionateFeatureLimit
cacheAgeMax
cachingEnabled
regionateAttribute
indexingEnabled
dirName
text (optional)
name (optional)
String Name of the layer, corresponding to the published name of the resource
nativeName (optional)
String Name of the layer as known on the remote WMTS
namespace (optional)
title (optional)
abstract (optional)
String Description of the layer
description (optional)
keywords (optional)
metadatalinks (optional)
dataLinks (optional)
nativeCRS (optional)
String Native coordinate reference system object in WKT
srs (optional)
String Identifier of coordinate reference system
nativeBoundingBox (optional)
latLonBoundingBox (optional)
projectionPolicy (optional)
String How to handle the coordinate reference system (native versus declared)
FORCE_DECLARED
REPROJECT_TO_DECLARE
NONE
enabled (optional)
Boolean Whether the layer is enabled
metadata (optional)
store (optional)
Wraps a collection of data links
type (optional)
content (optional)
Bounds of the layer in latitude / longitude. This value represents a "fixed value" and is not calculated.
minx (optional)
maxx (optional)
miny (optional)
maxy (optional)
crs (optional)
String Coordinate reference system object of the bounding box
Wraps a collection of metadata links
type (optional)
metadataType (optional)
String Type of metadata such as "FGDC"
content (optional)
Namespace of the layer
name (optional)
link (optional)
String URL to the namespace representation.
Bounds of the layer in its declared CRS.
minx (optional)
maxx (optional)
miny (optional)
maxy (optional)
crs (optional)
String Coordinate reference system of the bounding box
Store conaining the resource
@class (optional)
name (optional)
href (optional)
name (optional)
link (optional)
String URL of the layer representation