Skip to content

Commit

Permalink
Fix isQueryable
Browse files Browse the repository at this point in the history
  • Loading branch information
Belén Torrente committed Sep 23, 2024
1 parent 768cab2 commit b58596c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adagucserverEC/CXMLGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ int CXMLGen::getWMS_1_1_1_Capabilities(CT::string *XMLDoc, std::vector<MetadataL
addErrorInXMLForMisconfiguredLayer(XMLDoc, layer);
}
if (layer->hasError == 0) {
XMLDoc->printconcat("<Layer queryable=\"%d\" opaque=\"1\" cascaded=\"%d\">\n", layer->isQuerable,
XMLDoc->printconcat("<Layer queryable=\"%d\" opaque=\"1\" cascaded=\"%d\">\n", layer->layerMetadata.isQueryable,
layer->dataSource->dLayerType == CConfigReaderLayerTypeCascaded && layer->dataSource->dLayerType == CConfigReaderLayerTypeLiveUpdate ? 1 : 0);
XMLDoc->concat("<Name>");
XMLDoc->concat(&layer->layerMetadata.name);
Expand Down Expand Up @@ -586,7 +586,7 @@ int CXMLGen::getWMS_1_3_0_Capabilities(CT::string *XMLDoc, std::vector<MetadataL
addErrorInXMLForMisconfiguredLayer(XMLDoc, layer);
}
if (layer->hasError == 0) {
XMLDoc->printconcat("<Layer queryable=\"%d\" opaque=\"1\" cascaded=\"%d\">\n", layer->isQuerable,
XMLDoc->printconcat("<Layer queryable=\"%d\" opaque=\"1\" cascaded=\"%d\">\n", layer->layerMetadata.isQueryable,
layer->dataSource->dLayerType == CConfigReaderLayerTypeCascaded && layer->dataSource->dLayerType == CConfigReaderLayerTypeLiveUpdate ? 1 : 0);
XMLDoc->concat("<Name>");
XMLDoc->concat(&layer->layerMetadata.name);
Expand Down

0 comments on commit b58596c

Please sign in to comment.