cesium-native icon indicating copy to clipboard operation
cesium-native copied to clipboard

WebMapServiceRasterOverlay did not execute correctly on CesiumForUnreal

Open 627496967 opened this issue 2 years ago • 1 comments

I am using CesiumForUnreal to add a WMS service, and the bbox parameter passed by the request service is not consistent with the expected one. I have checked the code and found that the issue is here. I am not sure if this is an error? path:https://github.com/CesiumGS/cesium-native/blob/main/Cesium3DTilesSelection/src/WebMapServiceRasterOverlay.cpp#L106C15-L106C15 const std::map<std::string, std::string> urlTemplateMap = { {"baseUrl", this->_url}, {"version", this->_version}, {"maxx", radiansToDegrees(tileRectangle.getNorth())}, {"maxy", radiansToDegrees(tileRectangle.getEast())}, {"minx", radiansToDegrees(tileRectangle.getSouth())}, {"miny", radiansToDegrees(tileRectangle.getWest())}, {"layers", this->_layers}, {"format", this->_format}, {"width", std::to_string(this->getWidth())}, {"height", std::to_string(this->getHeight())} };

627496967 avatar Jun 27 '23 08:06 627496967

Do you mean the fact that X is North/South and Y is East/West? That's correct for WMS 1.3.0 and EPSG:4256. Good explanation here (even if you're not using Geoserver as your WMS server): https://docs.geoserver.org/stable/en/user/services/wms/basics.html#axis-ordering

kring avatar Jun 27 '23 08:06 kring

I'm closing this issue due to inactivity. If this is still a concern, please reopen with a response to Kevin's question above. Thank you!

j9liu avatar Oct 28 '24 17:10 j9liu