|
POST
|
Hey Miguel- I suggest you take a look at the pro file in one of the ArcGIS Template apps. One of the things it sets is to use the prf file called esri_runtime_qt. I tried creating a new Qt Widgets app (non ArcGIS Template), and by adding the below line to the pro file, I was able to include ArcGISRuntime.h. CONFIG += c++11 esri_runtime_qt If that doesn't work, I would try comparing your .pro files and see what the difference is between the two. Thanks, Luke
... View more
04-21-2015
11:56 AM
|
0
|
4
|
1395
|
|
POST
|
Hey Richard- You shouldn't need to call initialize on anything. The below code should be enough to display a feature service on top of a basemap. Map {
anchors.fill: parent
ArcGISTiledMapServiceLayer {
url: "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"
}
FeatureLayer {
featureTable: gdbFST
}
GeodatabaseFeatureServiceTable {
id: gdbFST
url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0"
}
} Does this work for you? Thanks, Luke
... View more
04-21-2015
10:03 AM
|
1
|
0
|
887
|
|
POST
|
Andy- It looks like the issue is that we need a definitionExpression property on the FeatureLayer, but do not have it in C++ or QML. The definitionExpression on the GeodatabaseFeatureServiceTable is meant to work with that class only, and isn't supported with the GeodatabaseFeatureTable. I have logged an issue internally to get this added to the FeatureLayer. If you are creating your geodatabase from a service, then you could provide a query when generating the geodatabase. Otherwise, if you are generating the geodatabase through ArcMap, then I unfortunately cannot think of an easy workaround. What you suggested could work, but will likely be very time consuming. -Luke
... View more
04-20-2015
02:59 PM
|
1
|
4
|
1554
|
|
POST
|
KK- There are unfortunately no classes for consuming WFS in the Qt SDK. Thanks, Luke
... View more
04-20-2015
09:30 AM
|
1
|
3
|
1946
|
|
POST
|
We have logged an internal issue to make sure we can get this working in a future release. Due to the declarative nature of QML, it can be a bit odd to step through the declarative code, but it should work in the JavaScript functions.
... View more
04-17-2015
02:55 PM
|
0
|
0
|
1706
|
|
POST
|
Andy- The correct syntax would be { "VALUE_SEQ": Enums.OrderByFieldsAscending }. However, I unfortunately just ran across an internal bug we recently logged, where the order by fields property is not being honored correctly. I don't have a public facing bug number for you, but if you would like one, you can contact support and they can get it hooked up for you. Thanks, Luke
... View more
04-16-2015
03:21 PM
|
1
|
1
|
934
|
|
POST
|
Chris- Can you please email me a copy of your project? ldanzinger@esri.com Thanks, Luke
... View more
04-16-2015
03:14 PM
|
0
|
1
|
1359
|
|
POST
|
Prem- There's no official application to verify the creation was successful. You may consider making a little runtime application for them that just pops up a file dialog, and they can browse to a geodatabase. It could then iterate through the tables, create feature layers, and add them to a map with a tiled map service in the background. Thanks, Luke
... View more
04-15-2015
10:15 AM
|
0
|
0
|
1160
|
|
POST
|
Hey KK, You can just change the source, as it is a QML file. Right click on SearchBox in your Qt Creator, and select to Follow Symbol Under Cursor. Here you can change up the searchTextInput property along with the "textInput" component to say whatever you want. You could also change it to make it a configurable property. Here is an issue in the github repo to fix it up - Change SearchBox so that the default text displayed is a configurable property · Issue #55 · Esri/arcgis-runtime-toolkit… If you get something put together that works well, please submit a pull request. Otherwise, we will add something in shortly. Thanks, Luke
... View more
04-14-2015
11:08 AM
|
2
|
1
|
980
|
|
POST
|
Prem- Before you upgrade to 10.3, you may want to consider the known issue with accessing secure services at 10.3 Server with the Qt/QML APIs - Release notes for ArcGIS Runtime SDK 10.2.5 for Qt—ArcGIS Runtime SDK for Qt | ArcGIS for Developers For now, 10.2.2 should work. Can you please email me the service URL, and set up some temporary test credentials on the server for me to try and log in with? Thanks, Luke
... View more
04-14-2015
09:54 AM
|
0
|
0
|
3593
|
|
POST
|
Prem- Can you email me the geodatabase (ldanzinger@esri.com)? If it is too large, can you put it on some FTP site (or something similar) for me to download? Also, what version of Desktop was used to produce the geodatabase? Thanks, Luke
... View more
04-14-2015
09:51 AM
|
1
|
2
|
1160
|
|
POST
|
Could you please check and see if there is a log at ~/arcgis/qt/.Setup/ArcGISRuntimeSDKQt_InstallLog.log? If there is, please go ahead and attach it. Thanks, Luke
... View more
04-06-2015
09:49 AM
|
0
|
1
|
2796
|
|
POST
|
Hi River, I recommend you put this same post in the Beta forum for AppStudio. You can get there from this page AppStudio for ArcGIS | ArcGIS. That way, the AppStudio team will see it, and other AppStudio users can benefit from the question/answer. You can place breakpoints like this if you are building natively with the SDK, but if you use this AppStudio external Player tool, I'm not sure that you will be able to debug. However, I will leave that up to the AppStudio team to tell you for sure. Thanks, Luke
... View more
04-03-2015
02:27 PM
|
1
|
0
|
1747
|
|
POST
|
Hey Andy, Yes, that should work as well. I think the main issue with your code is that you aren't setting the attributeNames on the feature layer's new renderer. Check out the example below and see if you can get that working in your app. -Luke import QtQuick 2.3
import QtQuick.Controls 1.2
import ArcGIS.Runtime 10.25
import ArcGIS.Extras 1.0
ApplicationWindow {
id: appWindow
width: 800
height: 600
title: "SmallSymbolFix"
Map {
id: appMap
anchors.fill: parent
ArcGISTiledMapServiceLayer {
url: "http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer"
}
FeatureLayer {
id: featLyr
featureTable: featureServiceTable
}
}
Button {
anchors {
left: parent.left
top: parent.top
margins: 15
}
text: "change renderer"
onClicked: {
var orig_info_List = featLyr.renderer.uniqueValues;
var new_renderer = ArcGISRuntime.createObject("UniqueValueRenderer", {attributeNames: featLyr.renderer.attributeNames});
for (var i = 0; i < orig_info_List.length; ++i) {
//create the new symbol
var symbol = orig_info_List.symbol;
symbol.width = 40;
symbol.height = 40;
//create the new UniqueValueInfo
var newInfo = ArcGISRuntime.createObject("UniqueValueInfo");
newInfo = orig_info_List;
newInfo.symbol = symbol;
new_renderer.addValue(newInfo);
}
featLyr.renderer = new_renderer;
}
}
GeodatabaseFeatureServiceTable {
id: featureServiceTable
url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0"
}
}
... View more
04-03-2015
01:12 PM
|
0
|
1
|
2042
|
|
POST
|
Are you launching the installer through the terminal and seeing this message? If so, what happens if you just double click the dmg, then double click the .app? Thanks, Luke
... View more
04-03-2015
09:43 AM
|
0
|
3
|
2796
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 1 | 06-26-2015 10:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|