Skip to content

Commit

Permalink
fix: exclude mapserver raster layers using tile index from WCS reques…
Browse files Browse the repository at this point in the history
…table layers. (close #240)
  • Loading branch information
robinbourianes-kalisio committed Apr 8, 2021
1 parent 5fec9c5 commit 6bb3731
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configs/mapserver/ign_bdortho5m.map
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ LAYER
"wms_abstract" "Orthoimages from IGN BDORTHO5M"
"wms_format" "image/jpeg"
"wms_opaque" "1"

"wcs_enable_request" "!*" # layer can't be served using WCS
END

TILEINDEX "/mnt/data/ign_bdortho5m.shp"
Expand All @@ -39,6 +41,8 @@ LAYER
"wms_abstract" "Orthoimages from IGN BDORTHO5M"
"wms_format" "image/jpeg"
"wms_opaque" "1"

"wcs_enable_request" "!*" # layer can't be served using WCS
END

TILEINDEX "/mnt/data/ign_bdortho5m.shp"
Expand Down
4 changes: 4 additions & 0 deletions configs/mapserver/ign_highres.map
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ LAYER
"wms_abstract" "Mix of orthoimages from IGN BDORTHO and ORTHOHR sets."
"wms_format" "image/jpeg"
"wms_opaque" "1"

"wcs_enable_request" "!*" # layer can't be served using WCS
END

TILEINDEX "/mnt/data/ign_highres.shp"
Expand All @@ -36,6 +38,8 @@ LAYER
"wms_abstract" "Mix of orthoimages from IGN BDORTHO and ORTHOHR sets."
"wms_format" "image/jpeg"
"wms_opaque" "1"

"wcs_enable_request" "!*" # layer can't be served using WCS
END

TILEINDEX "/mnt/data/ign_highres.shp"
Expand Down
2 changes: 2 additions & 0 deletions configs/mapserver/ign_mask.map
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LAYER
METADATA
"wms_attribution_onlineresource" "https://github.com/gregoiredavid/france-geojson"
"wms_enable_request" "!*" # hide layer from list of requestable wms layers

"wcs_enable_request" "!*" # layer can't be served using WCS
END

# DATA "/mnt/data/ign_orthomask.shp"
Expand Down
2 changes: 2 additions & 0 deletions configs/mapserver/po_monde0s3.map
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ LAYER
"wms_attribution_onlineresource" "https://planetobserver.com"
"wms_format" "image/jpeg"
"wms_opaque" "1"

"wcs_enable_request" "!*" # layer can't be served using WCS
END

TILEINDEX "/mnt/data/po_monde0s3.shp"
Expand Down
2 changes: 2 additions & 0 deletions configs/mapserver/po_monde5s.map
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ LAYER
"wms_attribution_onlineresource" "https://planetobserver.com"
"wms_format" "image/jpeg"
"wms_opaque" "1"

"wcs_enable_request" "!*" # layer can't be served using WCS
END

TILEINDEX "/mnt/data/po_monde5s.shp"
Expand Down

0 comments on commit 6bb3731

Please sign in to comment.