|
POST
|
@Kanzakiryu , Hi and thanks for reaching out to the team. We do implement http caching in the Qt API, so on subsequent access of the same map/basemap it should speed up. There's nothing specific I can offer to speed up loading that particular basemap, but if you're concerned about your app displaying something incomplete, we do have a layerViewStateChanged signal you can connect to to show a loading screen or something similar if that would help. That way you can make sure that everything is in the active state before displaying the map. https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-mapquickview.html#layerViewStateChanged https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-layerviewstate.html#statusFlags I hope that helps. Here is some extra info about our http caching class: https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-networkcacheconfiguration.html
... View more
06-11-2021
09:46 AM
|
0
|
1
|
1553
|
|
POST
|
@KennSebesta thanks for the update. If you feel there's a Runtime bug here, please log an issue with support so we can follow up. There is a fair amount of complexity here, so we'd need to dedicate some time and resources to chasing this down further.
... View more
06-10-2021
05:08 PM
|
0
|
0
|
3527
|
|
POST
|
Hey @KennSebesta , Another option would be a ClassBreaksRenderer. Here's an example where we use that. https://github.com/Esri/arcgis-runtime-samples-qt/tree/0d40b7f2793f220af8355374115a1036db582c39/ArcGISRuntimeSDKQt_QMLSamples/Layers/ChangeSublayerRenderer You could probably write a loop to create all the class breaks (all 100 or however many you need), along with the symbol and color you want for each. For that many distinct values, ClassBreaksRenderer is likely more suitable and easier to work with. One thing to keep in mind is that with this or the previous solution, you will need to break apart your breadcrumbs polyline into multiple sections with rather than treating it is a single feature/graphic. You'd need to weigh that with your needs.
... View more
06-10-2021
12:05 PM
|
0
|
0
|
1907
|
|
POST
|
@KennSebesta thanks for the info. I see what you're seeing in the online viewer now. I don't have the offline dataset for that region near Boston to display and troubleshoot with Runtime, but I do see that this is working as intended with the sample dataset. Here's some code I added to test it: Component.onCompleted: {
// set resource path
EncEnvironmentSettings.resourcePath = dataPath + "/ENC/hydrography";
// load the EncExchangeSet
encExchangeSet.load();
EncEnvironmentSettings.displaySettings.marinerSettings.shallowContour = 1.8;
EncEnvironmentSettings.displaySettings.marinerSettings.safetyContour = 3.5;
EncEnvironmentSettings.displaySettings.marinerSettings.deepContour = 10.0;
}
MapView {
id: mapView
anchors.fill: parent
CheckBox {
checked: false
text: qsTr("Two-color depth zones")
onCheckStateChanged: {
EncEnvironmentSettings.displaySettings.marinerSettings.twoDepthShades = (checkState === Qt.Checked);
}
}
... View more
06-08-2021
10:49 AM
|
0
|
3
|
3559
|
|
POST
|
@KennSebesta that's great to hear! I will pass along your suggestion to our sample team. We do have samples that showcase identifying features, but I see what you're saying for the ENC sample; it's not much to add.
... View more
06-08-2021
10:16 AM
|
0
|
0
|
4016
|
|
POST
|
Hi @KennSebesta , I cannot reproduce what you're seeing at https://www.nauticalcharts.noaa.gov/ENCOnline/enconline.html. Can you confirm if some other Maritime display properties are needed to display the four-color mode? Here's what I did (see screenshot from online viewer). At that long/lat the section in question displays identical to your Runtime screenshot.
... View more
06-08-2021
10:12 AM
|
0
|
5
|
3563
|
|
POST
|
Hi @KennSebesta , There is a way to achieve this with a few caveats. First, there is no multicolor symbolization in Runtime right now. That being said, I think this solution would be suitable. You can have multiple GraphicsOverlays in each GraphicsOverlayListModel. So for example, you could add 3 GraphicsOverlays; one for each speed and each with their own renderer. With this approach overlay 1 could be slow (green), overlay 2 could be moderate (blue) and overlay 3 could be fast (red). Then, when processing each new segment of the breadcrumbs polyline, you could determine which overlay to add it to. This may require some extra data structures. For example, you'd need to keep track of each segment rather than using a PolylineBuilder to keep adding onto with each new track. Let us know if that works.
... View more
06-08-2021
10:01 AM
|
0
|
2
|
1925
|
|
POST
|
Hi @KennSebesta , I have some code that I was able to add to that existing sample code that should help. This is added within the MapView declaration. MapView {
id: mapView
anchors.fill: parent
// identify layers on mouse click
onMouseClicked: {
// for every EncLayer, clear all selection on every mouse click
map.operationalLayers.forEach(function(layer) {
if (layer.layerType === Enums.LayerTypeEncLayer)
layer.clearSelection();
});
const screenX = mouse.x;
const screenY = mouse.y;
const tolerance = 12;
const returnPopups = false;
const maxResults = 3;
mapView.identifyLayersWithMaxResults(screenX, screenY, tolerance, returnPopups, maxResults);
}
// handle the identify results
onIdentifyLayersStatusChanged: {
if (identifyLayersStatus !== Enums.TaskStatusCompleted)
return;
console.log("identified on", identifyLayersResults.length, "layers");
// for the result of every layer in the map...
for (let i = 0; i < identifyLayersResults.length; i++) {
const identifyLayerResult = identifyLayersResults[i];
let layerContent = identifyLayerResult.layerContent;
let encFeatures = identifyLayerResult.geoElements;
// for all geoelements of that layer's results...
for (let j = 0; j < encFeatures.length; ++j) {
let encFeature = encFeatures[j];
layerContent.selectFeature(encFeature);
console.log("found EncFeature", encFeature.description, encFeature.acronym,
JSON.stringify(encFeature.attributes.attributesJson));
}
}
} With that code you can identify the EncFeatures to locate the Safety Contour Line feature(s), and get their geometry. As mentioned in the other post, there is no way to query for features and search for only the Contour features, but you can identify them and get their geometry. In the sample code you can adjust the max number of features identified on each mouse click. Let us know if this is helpful.
... View more
06-07-2021
05:34 PM
|
1
|
2
|
4027
|
|
POST
|
Hi @KennSebesta . Can you please provide some more details? I'm not clear on what you mean by "extract". Are you wanting to identify the Safety Contour Line and get its geometry? We do provide an ENC sample for the Qt C++ SDK but I am guessing you'll need a bit more assistance than simply displaying the ENC dataset. https://github.com/Esri/arcgis-runtime-samples-qt/tree/main/ArcGISRuntimeSDKQt_CppSamples/Layers/AddEncExchangeSet We're eager to help once we get some more details.
... View more
06-04-2021
05:19 PM
|
1
|
4
|
4125
|
|
POST
|
Hi @TASL_Virendra . Can you provide some more details about what you're trying to do? What do you mean when you are replacing the image format with a char buffer?
... View more
06-04-2021
05:10 PM
|
0
|
1
|
1443
|
|
POST
|
Hi @Kanzakiryu, Unfortunately I don't believe there is any way to do what you're wanting. A Multipoint geometry is a single geometry containing multiple points, so if you identify any point of that Multipoint, you will get back the entire Multipoint from the identify operation. If it is possible, using individual point geometries would alleviate this situation for you. You'd be able to identify every point uniquely. https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-multipoint.html#details I hope this helps.
... View more
05-19-2021
04:34 PM
|
0
|
3
|
2107
|
|
POST
|
Sounds good @EricAtkinson1 . Glad it's working now.
... View more
05-18-2021
12:52 PM
|
0
|
0
|
1947
|
|
POST
|
@EricAtkinson1 , Thanks for reaching out to the Runtime team. It's hard to say without access to that web map so we can take a look. My best guess is that you may need to descend into the subLayerContents list and check those. Here's a related example: https://github.com/Esri/arcgis-runtime-samples-qt/blob/main/ArcGISRuntimeSDKQt_QMLSamples/DisplayInformation/ControlAnnotationSublayerVisibility/ControlAnnotationSublayerVisibility.qml#L145-L146 https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-layer.html#subLayerContents-prop If you're able to share the web map we may be able to better assist.
... View more
05-17-2021
11:12 AM
|
0
|
2
|
1954
|
|
POST
|
@EkkaratPrasongsap thank you for updating us with your progress. This is helpful information to know that using the Qt Framework provided by the Qt Company is a viable solution for you.
... View more
05-16-2021
08:28 AM
|
1
|
0
|
4348
|
|
POST
|
@FatmaAkdemir , We do have a sample that adds a polyline on mouse clicks with our Service Area sample. https://github.com/Esri/arcgis-runtime-samples-qt/tree/master/ArcGISRuntimeSDKQt_CppSamples/Routing/ServiceArea This code snippet shows the mouseClicked handler and how to get the projected point for the click location https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_CppSamples/Routing/ServiceArea/ServiceArea.cpp#L259-L286 And this code block shows have to add points to a geometry builder and symbolize this on the graphics overlay. https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_CppSamples/Routing/ServiceArea/ServiceArea.cpp#L295-L309 We are working on the Sketch Editor for Qt and hope to have this ready for the next release. That will be a big improvement in the sketching experience. We also have a ShowLocationHistory sample that adds points as "breadcrumbs" to a polyline via PolylineBuilder. https://github.com/Esri/arcgis-runtime-samples-qt/tree/master/ArcGISRuntimeSDKQt_CppSamples/Maps/ShowLocationHistory
... View more
05-06-2021
11:01 AM
|
1
|
0
|
3677
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-22-2026 12:26 PM | |
| 1 | 10-22-2025 03:59 PM | |
| 1 | 06-18-2025 10:30 AM | |
| 1 | 06-18-2025 08:43 AM | |
| 1 | 05-15-2025 01:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-22-2026
12:23 PM
|