|
POST
|
Please refer to this document License your app—ArcGIS Runtime SDK for Qt | ArcGIS for Developers Tile packages should work with lite, as they fall under the "Viewing maps, scenes, layers, and packages from the ArcGIS platform". However, reading local raster files in the Runtime SDKs falls under a Standard license - "Access to additional data, including shapefiles, GeoPackages, ENC layers (S-57), local raster layers, use of raster functions, and local raster elevation sources." So in your case, if using tile packages will fit your workflow, I suggest you give this a try. If you need to use rasters, you will need to purchase a standard license. Hope that helps.
... View more
07-10-2018
07:20 AM
|
0
|
0
|
3089
|
|
POST
|
At the moment, the method you are looking at is the best option, and there is no explicit out fields that you can set. We are evaluating adding an outfields parameter to more closely represent the REST endpoint/previous API.
... View more
07-10-2018
07:13 AM
|
2
|
1
|
3282
|
|
POST
|
Looks like there was a small error in the code - when the addMmpk function is called (line 11 below), the unpacked location should be passed in instead of the original location. Once I did this, all 3 of your MMPKs displayed for me. MapView {
id: mapView
anchors.fill: parent
focus: true
function unpackMmpk(path, outputDirectory) {
// once the unpack status is complete, add the mmpk
MobileMapPackageUtility.unpackStatusChanged.connect(function() {
if (MobileMapPackageUtility.unpackStatus === Enums.TaskStatusCompleted) {
console.log("unpacked mmpk");
addMmpk(outputDirectory);
} else if (MobileMapPackageUtility.unpackStatus === Enums.TaskStatusErrored) {
console.log("unpacking TaskStatusErrored", MobileMapPackageUtility.error.message);
}
});
console.log("unpacking mmpk");
// unpackage the mmpk
MobileMapPackageUtility.unpack(path, outputDirectory);
}
function addMmpk(path) {
console.log("adding mmpk");
// create the mmpk and set the path
var mobileMapPackage = ArcGISRuntimeEnvironment.createObject("MobileMapPackage");
mobileMapPackage.path = path;
// wait for the package to load
mobileMapPackage.loadStatusChanged.connect(function() {
if (mobileMapPackage.loadStatus === Enums.LoadStatusLoaded) {
// set the mapview's map to the first map in the package
console.log("loaded")
mapView.map = mobileMapPackage.maps[0];
} else if (mobileMapPackage.loadStatus === Enums.LoadStatusFailedToLoad) {
console.log("failed to load", error.message, error.additionalMessage)
}
});
// load the mmpk
mobileMapPackage.load();
}
Component.onCompleted: {
var timeStamp = new Date();
var hms = "-" + timeStamp.getHours() + "-" + timeStamp.getMinutes() + "-" + timeStamp.getSeconds();
var tempPath = System.temporaryFolder.url + "/goldstream_valley" + hms;
console.log(tempPath)
unpackMmpk("file:///Users/<username>/Downloads/goldstream_valley.mmpk", tempPath)
}
}
... View more
07-02-2018
08:56 AM
|
0
|
3
|
3089
|
|
POST
|
something along these lines should do the trick: function unpackMmpk(path) {
// once the unpack status is complete, add the mmpk
MobileMapPackageUtility.unpackStatusChanged.connect(function() {
if (MobileMapPackageUtility.unpackStatus === Enums.TaskStatusCompleted)
addMmpk(path);
}
});
// unpackge the mmpk
MobileMapPackageUtility.unpack(path);
}
function addMmpk(path) {
// create the mmpk and set the path
var mobileMapPackage = ArcGISRuntimeEnvironment.createObject("MobileMapPackage");
mobileMapPackage.path = path;
// wait for the package to load
mobileMapPackage.loadStatusChanged.connect(function() {
if (mobileMapPackage.loadStatus === Enums.LoadStatusLoaded) {
// set the mapview's map to the first map in the package
mapView.map = mobileMapPackage.maps[0];
}
});
// load the mmpk
mobileMapPackage.load();
}
... View more
06-28-2018
05:37 PM
|
1
|
8
|
3089
|
|
POST
|
Gabe- The dev lab solution contains some older, out of date qmake lines. Our new should templates setup the QML Import Paths correctly. We will have this fixed shortly. Apologies for the confusion. FYI, we discuss the options you have to include the SDK into your project here - Qt SDK best practices—ArcGIS Runtime SDK for Qt | ArcGIS for Developers You can either include our PRI file that we ship or you can use the environment variable like you did. Thanks, Lucas
... View more
06-15-2018
10:07 AM
|
1
|
1
|
2622
|
|
POST
|
Thanks, Jorg. This is a gap that we know we need to fill. What organization are you with? I would like to add you to a list of customers that are requesting this.
... View more
06-13-2018
06:47 AM
|
2
|
1
|
1549
|
|
IDEA
|
this is now supported - System requirements for 100.2.1—ArcGIS Runtime SDK for Java | ArcGIS for Developers
... View more
05-31-2018
11:46 AM
|
0
|
0
|
2159
|
|
IDEA
|
we have support for many different raster functions now. Do these cover your use cases? Add raster data—ArcGIS Runtime SDK for .NET | ArcGIS for Developers
... View more
05-31-2018
11:22 AM
|
0
|
0
|
772
|
|
IDEA
|
we have support for many different raster functions now. Do these cover your use cases? Add raster data—ArcGIS Runtime SDK for .NET | ArcGIS for Developers
... View more
05-31-2018
11:22 AM
|
0
|
0
|
834
|
|
POST
|
Marek- I downloaded your example and noticed that there were debug binaries but not any release binaries. The sample viewer ships as release, so that might be why if you copy the exe into the sample viewer why it does not work.
... View more
05-31-2018
07:31 AM
|
0
|
1
|
1122
|
|
POST
|
Yes. Instead of applying opacity on the GraphicsOverlay, apply an alpha value to the color of your symbol. For example, the below code gives me this result: // add a mapView component
MapView {
anchors.fill: parent
// set focus to enable keyboard navigation
focus: true
// add a map to the mapview
Map {
// add the BasemapTopographic basemap to the map
BasemapTopographic {}
}
GraphicsOverlay {
Graphic {
Point {
x: -20
y: 0
spatialReference: SpatialReference {wkid: 4326}
}
SimpleMarkerSymbol {
size: 120
color: Qt.rgba(1,0,0,0.5) // this is the key part - set alpha value when defining color
}
}
Graphic {
Point {
x: 20
y: 0
spatialReference: SpatialReference {wkid: 4326}
}
SimpleMarkerSymbol{
size: 120
color: Qt.rgba(1,0,0,0.5)
}
}
}
}
... View more
05-31-2018
07:07 AM
|
2
|
0
|
1207
|
|
POST
|
Marek- To show the full route, the best thing to do would be to not use Camera, and just use the GeoView.setViewpoint function and pass in a ViewpointExtent (which you could create from the route geometry's full extent: GeoView QML Type | ArcGIS for Developers ViewpointExtent QML Type | ArcGIS for Developers
... View more
05-25-2018
06:29 AM
|
1
|
1
|
2369
|
|
POST
|
With the camera, you'll have to set a few additional things: - location - set this to the center of your route geometry (or optionally to some other vertex along the route). You can get the center by taking the geometry from the route and getting the Envelope (.extent), then getting the center Point (.center) - pitch - this is your vertical angle you want the camera. 0 will look straight down. 90 will look straight across. - heading - this is the heading direction you want the camera - distance - this is how far you want the camera to be from the specified location. - roll - this is the side to side angle. This is less commonly used.
... View more
05-24-2018
01:52 PM
|
0
|
3
|
2369
|
|
POST
|
Can you please contact Esri Support with your repro app? I think they will be able to help troubleshoot different scenarios further and hopefully come to a resolution. One thing I am suspicious of is if there is some issue with separator , vs . as those differ between U.S. and Polish/other locales on the various operating systems. Somehow your geometry precision is going from 1 to 1000000, and that is the cause of the generalized lines - I am just not sure how the number is changing.
... View more
05-23-2018
07:46 AM
|
0
|
1
|
609
|
|
POST
|
1) Perform an identifyGraphicsOverlay on the GeoView - GeoView Class | ArcGIS for Developers 2) Connect to the identifyGraphicsOverlayCompleted signal to access the result - MapQuickView Class | ArcGIS for Developers 3) Get the identified graphics from the result - IdentifyGraphicsOverlayResult Class | ArcGIS for Developers 4) Call selectGraphics on the GraphicsOverlay with the results from identify GraphicsOverlay Class | ArcGIS for Developers
... View more
05-21-2018
07:51 AM
|
0
|
0
|
1083
|
| 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 |
06-17-2026
07:54 AM
|