|
POST
|
Hello, Unfortunately, Local Server is only supported with the C++ API and is only supported on Windows and Linux. -Luke
... View more
04-03-2015
09:38 AM
|
0
|
0
|
736
|
|
POST
|
Hey Andy- In general, it can be done. Here is a simplified version of your code that uses the DamageInpsection geodatabase that comes with the sdk. I can switch it over to use a simple marker symbol. 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
wrapAroundEnabled: true
ArcGISTiledMapServiceLayer {
url: "http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer"
}
FeatureLayer {
id: featLyr
featureTable: featTab
}
}
Button {
anchors {
left: parent.left
top: parent.top
margins: 15
}
text: "change renderer"
onClicked: {
var newRenderer = ArcGISRuntime.createObject("SimpleRenderer");
newRenderer.symbol = ArcGISRuntime.createObject("SimpleMarkerSymbol", {color: "blue", size: 25});
featLyr.renderer = newRenderer;
}
}
Geodatabase {
id: damageGdb
path: "C:/temp/DamageInspection6.geodatabase"
}
GeodatabaseFeatureTable {
id: featTab
geodatabase: damageGdb
featureServiceLayerId: 0
}
}
... View more
04-02-2015
06:02 PM
|
0
|
3
|
2030
|
|
POST
|
I didn't debug the whole thing, but I think the reason you are getting this failure debug message is because your feature table is for layer id "0" in the feature service, which is a point, and you are trying to add in a polyline to that feature table. It doesn't match the correct geometry, so it is rejecting the addFeature() call. I recommend switching the GeodatabaseFeatureTable and the GeodatabaseFeatureServiceTable both be 1. -Luke
... View more
04-02-2015
09:29 AM
|
0
|
2
|
2210
|
|
POST
|
KK- Can you please post your project, or a snippet that reproduces the issue? Thanks, Luke
... View more
04-01-2015
09:52 AM
|
0
|
4
|
2210
|
|
POST
|
Are you by chance running this through remote desktop? If so, then this is a known issue with Qt OpenGL on Windows, and is documented here - Release notes for ArcGIS Runtime SDK 10.2.5 for Qt—ArcGIS Runtime SDK for Qt | ArcGIS for Developers If possible, run the post installer without using remote desktop protocol, and this should get everything copied into the right place. VNC should work, if you have access to this. Let me know if this doesn't work. I can get you a list of steps to do, but it is quite extensive and error prone. Please note that if you can only use remote desktop, that you will run into further problems once you actually start developing and trying to launch apps, as this issue will not only be problematic with the installation process. Thanks, Luke
... View more
04-01-2015
09:44 AM
|
1
|
1
|
1038
|
|
POST
|
I suggest you try something like the following: var feature = ArcGISRuntime.createObject("Feature");
feature.geometry = userPolyline;
offlineLayer.featureTable.addFeature(feature);
... View more
03-31-2015
10:09 AM
|
0
|
6
|
2210
|
|
POST
|
Is this just going to be making some REST http requests? If so, you might want to post the question in Qt's forum - Home | Qt Forum -Luke
... View more
03-31-2015
09:50 AM
|
0
|
0
|
1390
|
|
POST
|
Francisco- That should work. libc++.so.1 is in that same directory. I'll suggest one more hack to try, but if this doesn't work, I suggest you contact Esri Support Services to troubleshoot it further, as there may be some back and forth involved. cd to ~/arcgis/runtime_sdk/qt10.2.5/sdk/linux/x64/lib (or wherever it was installed to) ln -s libc++.so.1 libc++.so # create symlink so we can explicitly link the clang runtime library in Qt project file, add: LIBS += -lc++' That should work, but what you were doing before should work as well. Thanks, Luke
... View more
03-31-2015
09:46 AM
|
1
|
1
|
3824
|
|
POST
|
Hey Francisco, Regarding setting LD_LIBRARY_PATH, as specified in the help here... Install and set up on Linux—ArcGIS Runtime SDK for Qt | ArcGIS for Developers You can go about doing this in a few different ways: 1) In Qt Creator, go to your Projects tab on the left side, scroll down to Build Environment, and click Add to add a new environment variable for LD_LIBRARY_PATH=/<path_to_ArcGIS_SDK>/x64/lib. 2) Create a .sh script that first sets this environment variable, then launches Qt Creator. Then use this whenever you launch Qt Creator ex: export LD_LIBRARY_PATH=/<path_to_ArcGIS_SDK>/x64/lib sh /<path_to_qt_creator/bin/qtcreator.sh 3) Add the following to your bash profile export LD_LIBRARY_PATH=/<path_to_ArcGIS_SDK>/x64/lib Basically, one way or another you need to set the LD_LIBRARY_PATH environment variable equal to the location of your x64/lib folder in your ArcGIS Runtime SDK for Qt location. Thanks, Luke
... View more
03-30-2015
11:24 AM
|
3
|
3
|
3824
|
|
POST
|
The issue is an iOS specific issue that has to do with Qt's wrapping of OpenSSL. In order to workaround this, add the following inside of the ApplicationWindow - Component.onCompleted:{ ArcGISRuntime.identityManager.ignoreSslErrors = true; }
... View more
03-30-2015
10:54 AM
|
0
|
0
|
1074
|
|
POST
|
I think you may need to create a GP Package/Service from a GP Model or Python script in ArcGIS Desktop. This sounds like something you will likely need the Spatial Analyst extension for. To do this, you could use either Local Server or ArcGIS Server, and consume the service in your application using the Geoprocessor. Note that this workflow would only work with the C++ API (on Windows and Linux), as the QML API does not yet have Geoprocessor implemented. As far the actual script, you may need to string a few tools together. You could consider converting your x,y,density data (I assume these are points) to raster (Point to Raster—Help | ArcGIS for Desktop ). Then, feed the raster into Contour Spatial Analyst tool (Contour—Help | ArcGIS for Desktop ). From that, you could return a Feature Set to Qt, and displaying those features on the map. You could then do all of the symbology with the Qt SDK, using something like the Class Breaks Renderer. I hope this helps. As I'm not familiar with your data, it is hard to say if this is exactly what you need, but hopefully it can get you on the right track. Neither the C++ nor the QML API have spatial analyst functions built within it, so the GP Service route is what most people need to do for these types of workflows. Thanks! Luke
... View more
03-30-2015
09:29 AM
|
0
|
0
|
1183
|
|
POST
|
Hey KK, Can you provide some more details about what exactly you are looking to do? Thanks, Luke
... View more
03-30-2015
09:17 AM
|
0
|
2
|
1390
|
|
POST
|
KK- ArcGISDynamicMapServiceLayer isn't the layer you want for editing. This type of layer is for retrieving images from a server, similar to ArcGISTiledMapServiceLayer. The difference between these 2 is that the dynamic layer can be dynamically changed on the server, whereas the tiled layer has pre-generated tiles stored on the server. If you are editing, you want to use the FeatureLayer and the GeodatabaseFeatureServiceTable/GeodatabaseFeatureTable. In MVC speak, the GeodatabaseFeatureTable is your model and the FeatureLayer is your view. In order to switch from online to offline, switch the feature table on the FeatureLayer from the GeodatabaseFeatureServiceTable to GeodatabaseFeatureTable. The "Local geodatabase editing" sample should show this concept. Thanks, Luke
... View more
03-27-2015
09:39 AM
|
0
|
0
|
2631
|
|
POST
|
Hi KK, I'm not sure that I follow- advantages for the user compared to what? When you edit features, you will either be working with the GeodatabaseFeatureTable (which is offline and takes in a geodatabase) or the GeodatabaseFeatureServiceTable (which is online and takes in a service url). When you generate an offline geodatabase from server, you will switch from GeodatabaseFeatuerServiceTable to GeodatabaseFeatureTable. The API for both scenarios should be nearly identical. Thanks, Luke
... View more
03-27-2015
09:12 AM
|
0
|
0
|
1127
|
|
POST
|
Marco- It looks like this is a documentation bug. We only support working with TPKs directly or compact tile caches. Exploded tile caches are not supported in the Runtime. This is consistent across all of the Runtime APIs. We will be updating the doc to reflect this. Sorry for the confusion. -Luke
... View more
03-26-2015
12:03 PM
|
2
|
1
|
1803
|
| 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
|