|
POST
|
Hi @TroyFoster. The "Included ranges" parameter is not yet supported in the Runtime (any Runtime, not just Qt).
... View more
05-09-2022
09:29 AM
|
0
|
3
|
1627
|
|
POST
|
Hi @RichardWei. Unfortunately the beta program is closed for the ArcGIS Runtime SDK for Qt on embedded Linux. We can't offer any official support for it since it was never moved into production. That being said, I'm excited you want to run on Raspberry Pi. That was my initial goal with the entire program! I can share a few things with you that may help you get a bit further, but ultimately I do not think it will work. >Is it possible that there is a lack of implementation of the 2D map in this beta SDK? It is there and implemented. This is perhaps the biggest weak spot of the Beta. The Beta requires full desktop-class OpenGL support; not OpenGL ES. I don't know if such support exists on the Pi 4, but this could be the issue. Our main test devices were higher-end Nvidia devices, like the Jetson TX2 and Jetson mini. Furthermore, it requires hardware GPU drivers; not mesa rendering in software. The Pi 4 may have this but I'm not certain. >This would lead me to believe that there is no basemap in this beta SDK for Arm. Would I be correct? It's all there. All the binaries are present but the workflow might change if you are cross-compiling from one target or compiling natively on the Pi itself. Another potential complication is the Raspberry Pi OS. They're just recently rolling our 64-bit OS support. This is worth mentioning because the Beta only supports 64-bit (aarch64-linux-gnu) targets, so that means the OS must be 64-bit as well. It's not enough that the PI is 64-bit hardware but still running the 32-bit Raspberry Pi OS (or Raspbian). It sounds like you do have this already, but it is worth mentioning. I hope this helps you out, but since the beta program is closed we are limited in how much we can troubleshoot. Good luck!
... View more
05-06-2022
10:58 AM
|
0
|
2
|
1820
|
|
POST
|
@HomeroOriaAguilera no that doesn't look right. I assume it's the same or similar dataset from https://community.esri.com/t5/arcgis-runtime-sdk-for-qt-questions/large-shapefile-dataset-load-process-with-bad/m-p/1170495#M4540. Are you able to share the dataset so we can take a look into the static rendering problem? You can send it to me directly if you don't want to post it on the forum. If it's sensitive data we can try to come up with something on our end to reproduce the problem.
... View more
05-05-2022
03:11 PM
|
0
|
2
|
1080
|
|
POST
|
Hi @HomeroOriaAguilera . That is a new supporting file with 100.14. It is required to be deployed with all apps. We have this logic in our .pri file: ANDROID_LIBS_DIR = $$shell_path($$OUT_PWD/android-build/libs)
RuntimeNativeJar.target = $$ANDROID_LIBS_DIR/libs/RuntimeIndoors.jar
RuntimeNativeJar.commands = \
$$sprintf($$QMAKE_MKDIR_CMD, $$ANDROID_LIBS_DIR) $$escape_expand(\n\t) \
$${QMAKE_COPY} $${SDK_INSTALL_DIR}/sdk/$${PLATFORM}/jar/RuntimeIndoors.jar $$ANDROID_LIBS_DIR $$escape_expand(\n\t)
target.depends += RuntimeNativeJar
QMAKE_EXTRA_TARGETS += RuntimeNativeJar
ALL_DEPS += $${RuntimeNativeJar.target} That is what happens to deploy the file with the app. Building Android on Windows is tricky, and we've struggled with that combination on the team in the past. It's possible the command may need Windows separators, or something similar. Here's what I recommend: 1. See if commenting that section out gets your app building. This will narrow down the problem to those specific steps. 2. Tinker with those commands and see if you can get it working. There could be something buggy or inconsistent with the make commands on Windows that is problematic. Let us know how it goes. Also, can you confirm if you are using qmake or CMake? CMake would be something else to troubleshoot if that's the case.
... View more
05-02-2022
01:06 PM
|
0
|
1
|
2513
|
|
POST
|
Thanks for the update @RitvikRanadive . Good to hear it's all working now.
... View more
04-25-2022
09:20 AM
|
0
|
0
|
1367
|
|
POST
|
@KevinCheriyan, ok sounds good. If you do get a working (or non-working) example you can share, let me know so I can see what's going on and reproduce it on our end. If it used to work it sounds like a regression so I'm keen to get to the bottom of it.
... View more
04-22-2022
10:11 AM
|
1
|
4
|
2065
|
|
POST
|
Hi @KevinCheriyan. Thanks for reaching out to us. Your code looks valid. Is it possible to provide a contrived, but working example that I can run to debug what's going on? You can use any public layers or services on ArcGIS online that don't need any credentials. I was able to get this working, but it's not quite what you have. Portal {
id: portal
}
MapView {
id:mapView
anchors.fill: parent
Map {
id: map
BasemapImagery{}
}
}
FeatureLayer {
id: featureLayer
serviceLayerIdAsInt: 0
PortalItem {
id: portalItem
portal: portal
itemId: "b8f4033069f141729ffb298b7418b653"
}
Component.onCompleted: { map.operationalLayers.append(featureLayer); }
} Also it's worth noting that you should be able to nest the FeatureLayer within the Map component, but that's not working. I've logged a bug for that internally.
... View more
04-21-2022
03:26 PM
|
1
|
6
|
2084
|
|
POST
|
Hi @TroyFoster. Let's try to get you a solution that doesn't involve remapping mouse buttons. If I follow, what you're looking for is a way to differentiate between a "drag" (mouse is moving, while one or more buttons are pressed), and a "hover", meaning the mouse is moving over the map but not interacting (no buttons pressed). You should be able to do this already with the mouseMoved event. You can check the QMouseEvent object and determine if any mouse buttons were pressed at the time of the move. https://doc.qt.io/qt-5/qmouseevent.html#buttons https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-mapgraphicsview.html#mouseMoved Do you think that will work for your case?
... View more
04-20-2022
03:03 PM
|
0
|
0
|
2159
|
|
POST
|
Hi @RitvikRanadive . Thanks for reaching out to the Qt team. We've not tested or certified on WSL2, so it's not technically supported. That being said, we require full GPU acceleration on Linux (not Mesa or software rendering). If you can make sure you have hardware GPU drivers installed, it "should" work. Let us know if that helps. It is a configuration we're looking to support in the future. Another good test would be to see if you can run any of the OpenGL Qt example apps (or any QtQuick-based Qt app) on WSL2 and see if those work.
... View more
04-06-2022
08:51 AM
|
0
|
0
|
1401
|
|
POST
|
Hi @VipalShah1 . Thanks for reaching out to the Runtime team. I checked with our engineers and unfortunately there is no way with the Runtime to switch to the addAttachment API call alone. One possibility you could try would be to disable supportsAttachmentsByUploadId feature on the service, but I don't know the details on how to do that. If the server doesn't support that, the Runtime should fallback to only using the addAttachment REST Api call.
... View more
03-03-2022
02:00 PM
|
0
|
1
|
752
|
|
POST
|
Hi @Anonymous User. I can answer this from an ArcGIS Runtime perspective. We do actually support and encourage setting the license in C++ code. Code like this will work, and this is the boilerplate example code we provide in our QML template: QCoreApplication::instance()->setProperty("Esri.ArcGISRuntime.license", "YourLicenseStringHere"); The Runtime will internally check for that property (with that exact name) at startup and set the license string. As you guessed, it can be a security concern to have your API key in Qml code directly, as some app configurations ship qml files in plaintext, so that leaves the key unprotected. Unfortunately, I cannot answer about AppStudio specifics. I recommend posting your question in https://community.esri.com/t5/arcgis-appstudio-questions/bd-p/arcgis-appstudio-questions so the AppStudio experts can help you.
... View more
02-17-2022
10:19 AM
|
1
|
0
|
1245
|
|
POST
|
@DavidPuckett interesting, yes could be something with the data. I am getting the name printed out, but it does depend on which legendInfo it is, and it will also depend on the source data online and whether that contains any name info. Row {
Component.onCompleted: {
if (index !== -1) {
let legendInfo = map.legendInfos.get(index);
console.log(legendInfo.name);
}
} Using that with the sample prints as follows as I scroll through the legend: qml: 0 - 61
qml: 62 - 264
qml: 265 - 759
qml: 760 - 1900
qml: 1901 - 9409
qml:
qml:
qml:
qml: Camping
qml: Dining
qml: Drinking Water
qml: Medical Facility You can see that some of the legend entries here don't contain any "label" https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/legend?f=pjson
... View more
02-01-2022
12:48 PM
|
0
|
1
|
2165
|
|
POST
|
Hi @DavidPuckett, Looks like you're on the right track. Take a look at our QML BuildLegend sample for some guidance. https://github.com/Esri/arcgis-runtime-samples-qt/tree/main/ArcGISRuntimeSDKQt_QMLSamples/DisplayInformation/BuildLegend A few things you want to check for are to be sure that the autoFetchLegendInfos property on the map is set to true. That will make sure all the legend infos came down automatically without extra work on your part. https://github.com/Esri/arcgis-runtime-samples-qt/blob/main/ArcGISRuntimeSDKQt_QMLSamples/DisplayInformation/BuildLegend/BuildLegend.qml#L38 After that, if your symbol types in the model are SimpleLineSymbol types, you should be able to pull out the color. Here's a minor tweak I added to the sample I mentioned. It shows the basic idea of accessing each LegendInfo from the model's delegate and printing the color if it's a SimpleLineSymbol. // Create a list view to display the legend
ListView {
id: legendListView
anchors.margins: 10
width: 165
height: 150
clip: true
model: map.legendInfos
// Create delegate to display the name with an image
delegate: Item {
width: parent ? parent.width : 0
height: 35
clip: true
Row {
Component.onCompleted: {
if (index !== -1) {
let symbol = map.legendInfos.get(index).symbol;
if (symbol && symbol.symbolType === Enums.SymbolTypeSimpleLineSymbol) {
// this symbol is a simple line symbol, print the color
console.log(symbol.color);
}
}
} Let us know if this helps.
... View more
01-31-2022
04:04 PM
|
1
|
3
|
2175
|
|
POST
|
Hi @FatmaAkdemir , If it works fine when the files are local, but is laggy when accessing the files over a network samba share, it sounds like a network latency issue. If both computers are Linux, NFS might be better performance but that's a guess. You could implement some caching algorithms to store the images locally in /tmp as they're accessed, and retrieve them from local disk if they are accessed again. The first access would still be slow. Another idea would be to index and store all your tile images into a database. Then in your method that gets the tile bytes, it would be a sql (or whatever db) call rather than accessing files over the network. That may not work depending on how many tiles you have. https://doc.qt.io/qt-5/sql-driver.html Another thought would be to compress your tiles and store them at lower resolutions (so smaller file sizes) so they can be read quicker over the samba mount. Lots of options, but the core issue sounds like the network latency and not the Runtime. You can likely measure the data read times and compare to local file access to see how much network latency you're dealing with to decide on the best course of action. I hope this help.
... View more
10-27-2021
03:49 PM
|
0
|
0
|
1384
|
|
POST
|
Hi @DrewMorris . Would you mind posting this over in the AppStudio community? They are better suited to to answer specific questions about the AppStudio frameworks and deprecations. https://community.esri.com/t5/arcgis-appstudio-questions/bd-p/arcgis-appstudio-questions
... View more
10-26-2021
12:39 PM
|
0
|
1
|
1144
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 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 |
a month ago
|