|
POST
|
If you are referring to a MGRS, Lat Long, or UTM grid, then we do not yet support this. We hope to support it in a future release of the SDK. We do support a background grid, but it's there more for visual reference than for geographic context - https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-backgroundgrid.html
... View more
04-11-2019
06:18 AM
|
0
|
0
|
880
|
|
BLOG
|
Yesterday, we released Update 5 of ArcGIS Runtime SDK for Qt version 100. To get an overview all of the new functionality across all of the Runtime SDKs, you can read the blog on the ArcGIS Blog. Some notable new features include support for WFS, 3D subsurface navigation, mobile scene packages, and several new 3D layer types. In addition to this, the Qt team has been working very hard on some additional work items throughout the release. Here are some noteworthy things to know about the Update 5 release for the Qt SDK: Qt 5.12 Upgrade We updated our build environment to be based on Qt 5.12. This brought us a whole host of new features such as improved performance and memory consumption. In addition, 5.12 brought in support for Xcode 10, which is critical for apps that are deployed to Apple's AppStore. Finally, 5.12 brought in a compiler change in Android from gcc to clang. This allowed us to update our NDK minimum and bring in support for Android armv8 (64-bit). This is crucial for apps that are deployed to the Google Play Store and also opens the door for performance gains. C++ 11 range-based for loops We now fully support using C++ 11 style range-based for loops with our list model types. This means you can migrate your C-style loops from this: for (int i = 1; i < m_graphicsOverlay->graphics()->size(); i++)
{
} to this: for (auto graphic : *(m_graphicsOverlay->graphics()))
{
} New compiler warnings for deprecations We have refactored the selection mechanism for visually selecting features and graphics in 2D and 3D. As such, we have some newly deprecated members. As part of this release, we have introduced new compiler warnings that will warn you if you are using these deprecated members. We plan to use this pattern going forward to notify you of any API deprecations. ECMAScript 6 & 7 Support One of the cool new features of Qt 5.12 is the inclusion of ES 6 & 7 features within QML's JavaScript engine. We have sanity tested many of the newer JS language features and everything thus far is working as expected. Some new features include arrow functions, string interpolation, constant variables (const instead of var), block scoped variables (let instead of var), function default parameters, classes, static functions, and more. This was one of the topics of discussion at this year's Dev Summit, so feel free to check out this video of the presentation if you'd like to hear more. TableView Qt 5.12 brings in support for a new Qt Quick Table View. At the Dev Summit last month, Neil MacDonald gave an interesting talk on how you can use our AttributeListModel and the Qt Quick Table View to build an attribute table. You can watch this presentation here. Sample Improvements Upgrading our minimum to Qt 5.12 means that we now fully embrace Qt Quick Controls 2 and have removed Qt Quick Controls 1 from all samples (Qt Quick Controls 1 were deprecated at 5.11). As such, we now have a unified style throughout the samples and our sample viewer app, and we were also able to utilize Qt's new high DPI support. This can be enabled by setting QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); in your main.cpp. Once this is enabled, your code can be cleaned up by removing all of the scaleFactor multiplications that were previously required to scale pixel values on different DPI devices. In the coming weeks, we will be adding more Update 5 samples to the master branch of our GitHub page, so please continue to watch the repo here. Platform updates As mentioned in our 100.4 release notes, 100.5 will no longer support Ubuntu 14.04, macOS Sierra, or iOS 10. As such, 100.5 also dropped support for 32-bit iOS, which means our static library size was cut in half, and the macOS installer is now significantly smaller than previous releases. As mentioned earlier, we now support 64-bit android, and we also have an embedded Linux beta available for ARM devices. You can join this beta program through the early adopter site.
... View more
04-10-2019
07:07 AM
|
1
|
0
|
976
|
|
POST
|
The fine-grained controls (setting additional options on the symbol swatch) are at the Symbol level. To make it simpler, Qt added the autoFetchLegendInfos property as a convenience method to go fetch them all for you, but it will just use defaults for the swatch image. What is the workflow you are after? Does autoFetchLegendInfos work for you, only you want different defaults?
... View more
04-09-2019
07:01 AM
|
0
|
0
|
2575
|
|
POST
|
I'm not seeing this behavior. Which version are you using? Are you in an area that only has the one layer visible in it? Here is my output which contains points, lines, and polygons:
... View more
04-08-2019
12:44 PM
|
0
|
1
|
708
|
|
POST
|
Hi Paul- The autoFetchLegendInfos property is something we added as a convenience to have it fetch everything and populate the model for you. If you'd like to customize further, you can drill down the legendInfoListModel of each layer and manually call fetchLegendInfos on each Layer. This is async, so you'll need to wait until it is done before accessing it - https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-legendinfolistmodel.html#fetchLegendInfos-method With that said, I've been playing around with SwatchOptions, because that is what is designed to give you the flexibility to change image size and scale, but it doesn't seem to be working properly. We will need to look into this further. - Lucas
... View more
04-08-2019
07:19 AM
|
0
|
2
|
2575
|
|
POST
|
Are you trying to do this in 3D or 2D? I tested in 2D and it worked ok. We have not yet implemented this functionality to work in 3D.
... View more
04-02-2019
06:56 AM
|
0
|
2
|
1393
|
|
POST
|
Here is the documentation on creating a mobile scene package - https://pro.arcgis.com/en/pro-app/help/sharing/overview/mobile-scene-package.htm In the mean time, you can programmatically build up a scene with its layers in code. For example, here is the code from the help with offline equivalent // Create a scene using a TPK BaseMap
ArcGISTiledLayer* tiledLayer = new ArcGISTiledLayer(QUrl("pathToData/basemap.tpk"), this);
m_scene = new Scene(Basemap(tiledLayer), this);
// Create a new elevation source
const QString montereyRasterElevationPath = "pathToData/MontereyElevation.dt2";
RasterElevationSource* elevationSrc = new RasterElevationSource{QStringList{montereyRasterElevationPath}, this};
m_scene->baseSurface()->elevationSources()->append(elevationSrc);
// add a scene service with ArcGISSceneLayer from SLPK
m_sceneLayer = new ArcGISSceneLayer(
QUrl("pathToData/lyrPkg.slpk"));
m_scene->operationalLayers()->append(m_sceneLayer);
... View more
04-02-2019
06:26 AM
|
0
|
0
|
2486
|
|
POST
|
Roles are only a concept within the list models themselves. If you iterate through the LegendInfo objects, you will get a name string and a Symbol object. To get the symbol "swatch", call createSwatch on the Symbol, and the swatchImage URL will be returned - https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-symbol.html#swatchImage-prop
... View more
04-01-2019
06:25 AM
|
0
|
5
|
2575
|
|
POST
|
Hey Jeremy, I think there are some differences in how the toolkit must be built on iOS. There are some details here - https://github.com/Esri/arcgis-runtime-toolkit-qt#alternate-setup-instructions-importing-the-toolkit-as-a-plugin Can you try adding the following include line into /Users/<username>/ArcGIS_SDKs/Qt100.4/sdk/ideintegration/arcgis_runtime_qml.pri. Add it around line 200 underneath where you see # Set ArcGIS Runtime Toolkit Path
ARCGIS_TOOLKIT_IMPORT_PATH = $${SDK_INSTALL_DIR}/sdk/toolkit/Import
android {
contains(QMAKE_HOST.os, Windows):{
ARCGIS_TOOLKIT_IMPORT_PATH = $$ARCGIS_RUNTIME_IMPORT_PATH
}
}
# ************************************
# THIS IS THE NEW THING TO ADD
# ************************************
ios {
include($${SDK_INSTALL_DIR}/sdk/toolkit/Plugin/ArcGISRuntimeToolkitPlugin.pri)
} I tested it out and it works for me. If it works for you, we can see about getting it added into the PRI by default
... View more
03-29-2019
10:56 AM
|
0
|
1
|
987
|
|
POST
|
Hello, Good news - our next release of ArcGIS Runtime (100.5) will support Mobile Scene Packages to view 3D content completely offline. The release will be available in the first week or two of April 2019. Here is a preview from our dev branch in github showcasing how to use the new API - https://github.com/Esri/arcgis-runtime-samples-qt/tree/v.next/ArcGISRuntimeSDKQt_CppSamples/Scenes/OpenMobileScenePackage You can package the elevation source directly from Pro into the Mobile Scene Package so that it is very simple to open the package, obtain a Scene, and then add it to the view, and all of the layers, elevation, etc will be carried over automatically. Thanks, Lucas
... View more
03-29-2019
06:37 AM
|
0
|
6
|
2486
|
|
POST
|
I found the same thing - if I programmatically change viewpoint, it works ok, but it is something with the mouse interaction/events. We are only a week or so away from release, so it is looking like we unfortunately will not be able to fix this for this upcoming release (100.5)
... View more
03-21-2019
09:34 AM
|
0
|
0
|
1491
|
|
POST
|
We require visual c++. If mingw is a requirement of yours, please email me at [email protected] with a business case. This should include your business name and as many project details as you can share. We don't have plans to support mingw at the moment, so this is dependent on feedback from the community.
... View more
03-21-2019
07:07 AM
|
0
|
0
|
1484
|
|
POST
|
Are you deleting the Graphics? RemoveOne will remove it from the list but will not delete the object. If you are deleting the graphic after/while you remove it from the list model, I think you are likely hitting this bug, which is fixed in 100.5 - BUG-000117464: Modifying the graphics list and deleting the graphic..
... View more
03-20-2019
11:35 AM
|
0
|
1
|
1921
|
|
POST
|
Hard to say. Do you use versioning with a rec/post operation that might be scheduled? Or perhaps you are editing in different extents than your replicas? As soon as you sync, edits should be applied unless either of those 2 scenarios are happening
... View more
03-20-2019
11:31 AM
|
0
|
0
|
634
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 05-27-2026 09:52 AM | |
| 1 | 11-24-2025 10:45 AM | |
| 1 | 07-30-2025 08:26 AM | |
| 1 | 05-15-2025 07:35 AM | |
| 2 | 11-26-2024 01:27 PM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|