Using WMS service in Qt/Qml alternative problem

3462
1
Jump to solution
06-22-2015 12:53 AM
KK2014
by
New Contributor III

Hi,

We have developed a project with Qt and Arcgis Runtime Sdk for QT, and we come closer to finish it. We have completed any operations/ functions in the Project except this wms problem. To complete Project we must do it. We cannot another map service layer because this Project a offical state project partially classified and map and feature services hosted by them. This subject very important and vital for us.Here is more detail about this problem we were asked in these forum in past:

Adding wms dynamic map service layer  in QT/QML

Using (geoserver) wms service in Qt/QML

Please help,

Thanks

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
ThomasDunn
Occasional Contributor

Hello, KK.  As shown in our QML API documentation (https://developers.arcgis.com/qt/qml/api-reference/class_wms_dynamic_map_service_layer.html) only the URL property may be specified for WMS layers. This means that you can only specify a URL and get the default representation of the WMS service as a layer. Changing the visibility of each WMS layer from the service is not supported from QML in 10.2.6 and earlier.

As demonstrated in our C++ samples viewer (https://developers.arcgis.com/qt/cpp/sample-code/wms_layer_sample.htm) you can set visibility for each WMS layer. This sample works with our servers.

However, we are not able to access the WMS service that you specified. It is not clear why. There may be an incompatibility with the service, or you may have uncovered an issue with our C++ API. If you want to pursue this using the C++ API, please contact Esri Technical Support and submit an incident. If there is a problem, we would like to address it in our next release. Thank you.

View solution in original post

0 Kudos
1 Reply
ThomasDunn
Occasional Contributor

Hello, KK.  As shown in our QML API documentation (https://developers.arcgis.com/qt/qml/api-reference/class_wms_dynamic_map_service_layer.html) only the URL property may be specified for WMS layers. This means that you can only specify a URL and get the default representation of the WMS service as a layer. Changing the visibility of each WMS layer from the service is not supported from QML in 10.2.6 and earlier.

As demonstrated in our C++ samples viewer (https://developers.arcgis.com/qt/cpp/sample-code/wms_layer_sample.htm) you can set visibility for each WMS layer. This sample works with our servers.

However, we are not able to access the WMS service that you specified. It is not clear why. There may be an incompatibility with the service, or you may have uncovered an issue with our C++ API. If you want to pursue this using the C++ API, please contact Esri Technical Support and submit an incident. If there is a problem, we would like to address it in our next release. Thank you.

View solution in original post

0 Kudos