|
POST
|
Marc- good catch. As for your follow up question, do you have a proposal or some pseudocode of what you would like to do? From what I understand, you are able to get the IDs of the layers and tables in the service, so you should be able to loop through each of these and create appropriate layer options for each list. Let me know what you're thinking.
... View more
09-21-2017
06:13 AM
|
0
|
1
|
2190
|
|
POST
|
We have a test that does this. I just ran it, and it successfully generated the gdb with the table. Here is the code: // Create default generate geodatabase parameters
auto geodatabaseSyncTask = std::unique_ptr<GeodatabaseSyncTask>(new GeodatabaseSyncTask(url_standAloneTable, this));
VERIFY2(TestObject::waitForLoadableInit(geodatabaseSyncTask.get()), "Sync task did not initialize, tests will fail");
Envelope env(-1.36572476878E7, -1.15446130221E7, 4281966740, 1.41330105216E7, SpatialReference(102100));
// A GenerateLayerOption must be specified, otherwise generateGeodatabaseAsync() throws an exception
GenerateLayerOption option;
option.setLayerId(1);
option.setWhereClause("1=1");
GenerateGeodatabaseParameters params;
params.setLayerOptions(QList<GenerateLayerOption>() << option);
// An extent must be specified, because "Geometry cannot be null in generate geodatabase parameters"
params.setExtent(env);
QString path = QDir::tempPath() + QString("/nonSpatial.geodatabase");
QPointer<GenerateGeodatabaseJob> generateGeodatabaseJob = geodatabaseSyncTask->generateGeodatabase(params, path);
... View more
09-20-2017
12:13 PM
|
1
|
3
|
2190
|
|
POST
|
Marc- This should be possible without the workaround you suggest. See the suggestion here - GenerateGeodatabaseParameters Class | ArcGIS for Developers "For non-spatial records, set GenerateLayerOption::useGeometry to false and provide a GenerateLayerOption::whereClause."
... View more
09-20-2017
07:49 AM
|
0
|
5
|
2190
|
|
POST
|
The GeometryEngine has a project method that will convert from any spatial reference to a new spatial reference
... View more
09-20-2017
07:43 AM
|
0
|
1
|
1884
|
|
POST
|
You're welcome. Here is a sample to help you get started arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_CppSamples/Geometry/FormatCoordinates at master · Esri/arcgis-runtime-sampl…
... View more
09-20-2017
07:29 AM
|
0
|
0
|
2768
|
|
POST
|
This is now available in 100.1 release with the CoordinateFormatter class - CoordinateFormatter Class | ArcGIS for Developers
... View more
09-20-2017
07:25 AM
|
1
|
2
|
2768
|
|
POST
|
This currently isn't something that can be changed on the client side
... View more
09-20-2017
07:20 AM
|
0
|
0
|
934
|
|
POST
|
As we are not able to reproduce the issue on several machines, could you please log a support ticket with Esri Support Services so that they can further test and triage the issue?
... View more
09-20-2017
07:10 AM
|
0
|
2
|
2636
|
|
POST
|
Taner- Please log an issue through Esri Technical Support so that they can triage the issue and log a bug. Thank you, Luke
... View more
09-20-2017
07:03 AM
|
0
|
0
|
3216
|
|
POST
|
2 things you can try: 1) Instead of searching for symbols, apply a DictionaryRenderer to the GraphicsOverlay. This is demonstrated in the Graphics Overlay Dictionary Renderer sample - arcgis-runtime-samples-qt/GODictionaryRenderer.cpp at master · Esri/arcgis-runtime-samples-qt · GitHub The key is to create graphics where each attribute maps to one of the 2525d fields, and the renderer will automatically display the symbol 2) Use the fetchSymbol method on DictionarySymbolStyle. If you feed all of the various attributes you want into that method, you will get a symbol back that you could add to a graphics overlay
... View more
09-20-2017
06:55 AM
|
0
|
0
|
1103
|
|
POST
|
How are you getting the key? Are you using SymbolStyle::searchSymbols, and then getting back the result through the list model? If so, instead of getting the key from the SymbolStyleSearchResult, you can directly get the Symbol object. Once you have that, construct a Graphic by giving it geometry and the symbol obtained from the search - Graphic Class | ArcGIS for Developers Then, add the Graphics that you create to a GraphicsOverlay, which should be added to our MapView or SceneView.
... View more
09-12-2017
06:55 AM
|
0
|
2
|
1103
|
|
POST
|
Please post this question in the AppStudio space. If you have migrated all of the classes, then it sounds like there is something that needs to change in AppStudio - https://community.esri.com/groups/appstudio
... View more
09-11-2017
07:23 AM
|
0
|
0
|
2026
|
|
POST
|
Thanks Hideki. I've had it running on Windows 5.9.1 64 bit msvc2015 and Mac 5.9.1 for about 3 hours and it has not crashed yet. How long does it typically take? Also, do you need to do anything other than just start it up?
... View more
08-24-2017
10:37 AM
|
0
|
4
|
2636
|
|
POST
|
One option would be to subclass MapView. In the API, we have MapView subclassed as MapQuickView (for Qt Quick) and MapGraphicsView (for Qt Widgets), so you could subclass MapView on your own and add whatever default behaviors you want to your own CustomMapQuickView. A simpler but less elegant option would be to add a MouseArea over your MapView in QML. This automatically accepts all mouse/wheel events that go through, so you would need to listen to the various signal handlers and then have those call functions that do whatever you want. MapView {
anchors.fill: parent
objectName: "mapView"
MouseArea {
anchors.fill: parent
onDoubleClicked: {
console.log("double click");
customCppFunctionToHandleDoubleClicks();
}
onClicked: {
console.log("single click");
customCppFunctionToHandleSingleClicks();
}
}
}
... View more
08-22-2017
06:51 AM
|
1
|
0
|
948
|
|
POST
|
Sorry for the lack of clarity from my earlier statement. Update 2 is not yet available, but we have been working on fixing a problem that sounds similar to this. If you can send me an example project that reproduces the issue, I can test it out to see if it is indeed fixed or not.
... View more
08-22-2017
06:42 AM
|
0
|
6
|
2636
|
| 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
|