|
POST
|
Ok, great! We plan on releasing Quartz final around Q3 of this year. Shapefile support will not make it into that release, so it'll be in our first update, which we are planning for 3-4 months after, so end of this year/beginning of next.
... View more
04-15-2016
10:46 AM
|
0
|
0
|
1117
|
|
POST
|
Just to follow up, with the local dynamic map service, you should be able to do definition expression. Here is how you would go about it: - Create a local map service - enable dynamic layers on it - ArcGIS Runtime SDK for Qt C++ API: EsriRuntimeQt::LocalMapService Class Reference - Once the service is started and the layer is loaded, obtain the dynamic layer infos from the layer - obtain the dynamic layer info for the associated layer you are working with - set the definition expression on the applicable dynamic layer info - ArcGIS Runtime SDK for Qt C++ API: EsriRuntimeQt::LayerInfo Class Reference - refresh the layer - ArcGIS Runtime SDK for Qt C++ API: EsriRuntimeQt::ArcGISDynamicMapServiceLayer Class Reference This should work for you. Like I said, the workflow is a bit long right now, but we will soon have native support for shapefiles, and it should be very straightforward to do something like this. -Luke
... View more
04-14-2016
04:52 PM
|
0
|
1
|
1117
|
|
POST
|
Yes, you should be able to do this no problem. If I were you, I would take a look at the code that is executed when you click your generate button. If you have offline layers already in the map, there's no reason why you shouldn't be able to just create a replica geodatabase for the one layer that you want to edit. I would keep one geodatabase for all of the reference data that you need, and another for the one where you will be doing edits.
... View more
04-14-2016
01:53 PM
|
0
|
1
|
1048
|
|
POST
|
It will be out in the next couple of weeks. Watch the blog and geonet for an announcement. Thanks, Luke
... View more
04-14-2016
08:42 AM
|
0
|
0
|
1660
|
|
POST
|
Hi Daniel, You have a few options. The first is ArcGISDynamicMapServiceLayer, and that will give better performance, but applying a definition expression is the tricky part. If the service supports dynamic layers, then you could get the dynamic layer info, and set definition expression here - https://developers.arcgis.com/qt/cpp/api-reference/class_esri_runtime_qt_1_1_layer_info.html#a8b4ab81ca398c213d40664c260d12bdb. I am trying to confirm if you can turn on dynamic layer info support or not with local services right now… I will get back to you on that. Otherwise, you could also go the feature layer route, but it sounds like you are having some performance issues. I would try a few things for this: - Set max allowable offset, to generalize the geometries - ArcGIS Runtime SDK for Qt C++ API: EsriRuntimeQt::ArcGISFeatureLayer Class Reference - Limit the out fields to only what you need - ArcGIS Runtime SDK for Qt C++ API: EsriRuntimeQt::ArcGISFeatureLayer Class Reference - Instead of ArcGISFeatureLayer, try using the GeodatabaseFeatureServiceTable and the FeatureLayer We will soon have native support for shapefiles, so you don't need to spin up local server at all for this. It should be a very simple and straight forward way for you to do this with our upcoming release, but for now, there are unfortunately a few hoops to jump through. Hope this helps. Luke
... View more
04-13-2016
01:42 PM
|
0
|
2
|
2570
|
|
POST
|
What specifically do you want to do? What do you mean by dynamically query? In general, ArcGISDynamicMapServiceLayer will be better for performance than the Feature Layer, because it is sending back dynamically generated images, versus complex geometries and symbols. If you need to only show features that match some given query, then you will need to use a FeatureLayer. If you can upload some sample code/project and data, that would be helpful too.
... View more
04-12-2016
03:31 PM
|
0
|
0
|
2570
|
|
POST
|
Something doesn't sound right. Are you trying to make an ArcGISDynamicMapServiceLayer, or ArcGISFeatureLayer? The dynamic layer should be much faster, but I see your code is for ArcGIS Feature Layer.
... View more
04-12-2016
09:58 AM
|
0
|
1
|
2570
|
|
POST
|
You are welcome. Everything you did here in QML can be done with C++ as well. -Luke
... View more
04-12-2016
09:54 AM
|
0
|
1
|
1011
|
|
POST
|
It works for me with your new geodatabase and the code I posted earlier. Did you try that code? However, the network dataset still doesn't cover the area for the coordinates you provided. Below you can see that the original points you gave are not within the network dataset extent. However, using the code I provided, I can click on the map (near roads) and get routes back.
... View more
04-11-2016
09:47 AM
|
0
|
0
|
3664
|
|
POST
|
Hi Jakob, I think you have a couple of potential issues here. First is that when I look at the streets dataset and where your coordinates are, I think the streets dataset is clipped to not include some of the streets you need to solve. I tested this by adding the streets layer from your geodatabase into the map, and I can see that the coordinates are not over a street. My best guess is that the data is getting unintentionally clipped when created in ArcMap. The data will automatically clipped by the extent of the data frame. Sometimes, the "Analyze" window that pops up further shrinks the data frame and causes this issue, so perhaps your analyst can undock the window to make sure they are getting the correct extent to you. The other potential issue is mixing spatial references. I don't know what spatial reference your map is in, but it may be good to try and have a basemap in 3057, since your network dataset is in this spatial reference. I also recommend projecting your input points to 3057. The above gif shows the original points outside of the street extent. However, as I click inside of the street network, I am able to solve successfully. I attached my code for you to try. Hope this helps! Luke
... View more
04-08-2016
10:25 AM
|
2
|
0
|
3664
|
|
POST
|
This looks like just the request, not the response. In Fiddler, if you are in the Default view, you should see a box on the bottom right of the screen, with a bunch of tabs. Click on the JSON one.
... View more
04-08-2016
08:42 AM
|
0
|
1
|
2315
|
|
POST
|
What does the json response look like in fiddler? Do you get more details other than "failed"?
... View more
04-07-2016
01:33 PM
|
0
|
3
|
2315
|
|
POST
|
Hmm, I wonder if you can try the following - ArcGISRuntime.doPost = true; RuntimeQtSamples/main.qml at master · ldanzinger/RuntimeQtSamples · GitHub
... View more
04-07-2016
09:47 AM
|
0
|
1
|
2646
|
|
POST
|
This is a bug/known issue with 10.2.6. Our upcoming Quartz release of ArcGIS Runtime will support getting legend info from feature layers. In fact, beyond bringing in support for retrieving legend info on all layer types, we have greatly simplified the workflow for creating a legend control with our upcoming Quartz release.
... View more
04-07-2016
09:26 AM
|
0
|
0
|
1055
|
|
POST
|
My recommendation is to either contact Esri support to have them help you troubleshoot this, or to use Fiddler (or some other web debugging utility) to monitor the http traffic. I would compare the requests and responses when using the Runtime API and when just using the REST page to see if you can narrow down where the issue is, based on any differences that I see in the http requests.
... View more
04-06-2016
08:57 AM
|
0
|
1
|
2646
|
| 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
|