|
POST
|
Hi Troy! Sounds good or in other words: typical for this SDK 😞 I will try your suggestion ~next week and will let you know. Thx a lot
... View more
04-06-2018
11:43 PM
|
0
|
4
|
2157
|
|
POST
|
Hi! What is the difference between GeometryEngine::densify and GeometryEngine::densifyGeodetic? I tried to create additional coordinates in i polyline: First i create a polyline with a length of ~1000meters: Esri::ArcGISRuntime::SpatialReference sr = Esri::ArcGISRuntime::SpatialReference::wgs84(); Esri::ArcGISRuntime::Point p1 = Esri::ArcGISRuntime::CoordinateFormatter::fromMgrs(QLatin1Literal("32UMD 00001 00001"), sr, Esri::ArcGISRuntime::MgrsConversionMode::Automatic); Esri::ArcGISRuntime::Point p2 = Esri::ArcGISRuntime::CoordinateFormatter::fromMgrs(QLatin1Literal("32UMD 00001 01001"), sr, Esri::ArcGISRuntime::MgrsConversionMode::Automatic); // create Polyline: Esri::ArcGISRuntime::PolylineBuilder polylineBuilder(sr, this); polylineBuilder.addPoint(p1); polylineBuilder.addPoint(p2); const Esri::ArcGISRuntime::Polyline &polylineIn = polylineBuilder.toPolyline(); 1st approach: GeometryEngine::densify(const Geometry& geometry, double maxSegmentLength); const Esri::ArcGISRuntime::Geometry &geometryOut = Esri::ArcGISRuntime::GeometryEngine::densify(polylineIn, 100); const Esri::ArcGISRuntime::Polyline polylineOut(geometryOut); qCritical() << "polylineOut.parts().part(0).pointCount() = " << polylineOut.parts().part(0).pointCount(); The result is 2, but i expect ~12 2nd approach: GeometryEngine::densifyGeodetic(polylineIn, ... const Esri::ArcGISRuntime::Geometry &geometryOut = Esri::ArcGISRuntime::GeometryEngine::densifyGeodetic(polylineIn, 100, Esri::ArcGISRuntime::LinearUnit::meters(), Esri::ArcGISRuntime::GeodeticCurveType::Geodesic); const Esri::ArcGISRuntime::Polyline polylineOut(geometryOut); qCritical() << "polylineOut.parts().part(0).pointCount() = " << polylineOut.parts().part(0).pointCount(); The result here is 12, as expected 🙂 BTW: Esri::ArcGISRuntime::GeometryEngine::errorOccurred is not fired. Is that i bug in the first method or can someone explain what happens? Thx Norbert
... View more
04-03-2018
05:57 AM
|
0
|
7
|
2369
|
|
POST
|
Hi! Since we switched to V100.2 our application crashes sometimes on startup 😞 Most of the time the last output is: terminate called after throwing an instance of 'std::__1::system_error' what(): mutex lock failed: invalid argument Aborted (core dumped) Or: terminate called after throwing an instance of 'Esri_runtimecore::Common::Internal_error_exception' what(): Internal error exception Program crashes The process was ended forcefully. Or: terminate called after throwing an instance of 'std::__1::system_error' what(): thread constructor failed: Resource temporarily unavailable Aborted Or: (gdb) bt #0 0x00007f5d7ce8b9b0 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0 #1 0x00007f5d4c80a8e6 in std::__1::mutex::unlock() () from /usr/lib64/libruntimecore.so #2 0x00007f5d4b23c18c in ?? () from /usr/lib64/libruntimecore.so #3 0x00007f5d4b233fc2 in ?? () from /usr/lib64/libruntimecore.so #4 0x00007f5d4b22b1b5 in ?? () from /usr/lib64/libruntimecore.so #5 0x00007f5d4b230d5b in ?? () from /usr/lib64/libruntimecore.so #6 0x00007f5d4b22e33b in ?? () from /usr/lib64/libruntimecore.so #7 0x00007f5d4b294bd3 in ?? () from /usr/lib64/libruntimecore.so #8 0x00007f5d4b2d4fa7 in ?? () from /usr/lib64/libruntimecore.so #9 0x00007f5d4b2d4103 in ?? () from /usr/lib64/libruntimecore.so #10 0x00007f5d4b2d0fe0 in ?? () from /usr/lib64/libruntimecore.so #11 0x00007f5d4b297219 in ?? () from /usr/lib64/libruntimecore.so #12 0x00007f5d4b297153 in ?? () from /usr/lib64/libruntimecore.so #13 0x00007f5d4b2ce3ca in ?? () from /usr/lib64/libruntimecore.so #14 0x00007f5d4b29673f in ?? () from /usr/lib64/libruntimecore.so #15 0x00007f5d4b2cdec7 in ?? () from /usr/lib64/libruntimecore.so #16 0x00007f5d4b2924ca in ?? () from /usr/lib64/libruntimecore.so #17 0x00007f5d4b2bc9c1 in ?? () from /usr/lib64/libruntimecore.so #18 0x00007f5d49fc7d3e in RT_GeoView_pulse () from /usr/lib64/libruntimecore.so #19 0x00007f5d4e41586e in ESRI::RuntimeCore::QRTGeoView::pulse() () from /usr/lib64/libEsriCommonQt.so #20 0x00007f5d4e725c77 in QtPrivate::QFunctorSlotObject<QRTImpl::GeoViewImpl::GeoViewImpl(std::unique_ptr<ESRI::RuntimeCore::QRTGeoView, std::default_delete<ESRI::RuntimeCore::QRTGeoView> >&&)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .547741.11255] () from /usr/lib64/libEsriCommonQt.so #21 0x00007f5d7a07ba83 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #22 0x00007f5d7a088ad7 in QTimer::timeout(QTimer::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5 #23 0x00007f5d7a088db2 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib64/libQt5Core.so.5 #24 0x00007f5d7a07caf4 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5 #25 0x00007f5d7b17f71c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #26 0x00007f5d7b186500 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #27 0x00007f5d7f17cb09 in NGLApplication::notify (this=0x7ffe5d51c480, o=0x15e3b1e0, e=...) at /shd/CTC/TOOLS/TDS/TDS-source/Z/src/nglapplication/nglapplication.cpp:107 #28 0x00007f5d7a051115 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #29 0x00007f5d7a0a341e in QTimerInfoList::activateTimers() () from /usr/lib64/libQt5Core.so.5 #30 0x00007f5d7a0a3a61 in ?? () from /usr/lib64/libQt5Core.so.5 #31 0x00007f5d745a2134 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f5d745a2388 in ?? () from /usr/lib64/libglib-2.0.so.0 #33 0x00007f5d745a242c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #34 0x00007f5d7a0a3d8c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #35 0x00007f5d6f290c91 in ?? () from /usr/lib64/libQt5XcbQpa.so.5 #36 0x00007f5d7a04f83b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #37 0x00007f5d7a057ef4 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #38 0x0000000000405ab4 in main (argc=11, argv=0x7ffe5d51c5b8) at /shd/CTC/TOOLS/TDS/TDS-source/Lts/Application/main.cpp:357 Here a deadlock occured: (gdb) bt #0 0x00007f7433100a7c in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007f74330fb7fb in pthread_mutex_lock () from /lib64/libpthread.so.0 #2 0x00007f74037522b6 in std::__1::recursive_mutex::lock() () from /usr/lib64/libruntimecore.so #3 0x00007f740155c2ba in ?? () from /usr/lib64/libruntimecore.so #4 0x00007f740136a225 in RT_Map_setDoneLoadingCallback () from /usr/lib64/libruntimecore.so #5 0x00007f740504ef58 in ESRI::RuntimeCore::QRTMap::disconnect_callbacks_() [clone .11901] () from /usr/lib64/libEsriCommonQt.so #6 0x00007f740504ec36 in ESRI::RuntimeCore::QRTMap::~QRTMap() [clone .11954] () from /usr/lib64/libEsriCommonQt.so #7 0x00007f740504ece2 in ESRI::RuntimeCore::QRTMap::~QRTMap() () from /usr/lib64/libEsriCommonQt.so #8 0x00007f74053368b6 in QRTImpl::MapImpl::~MapImpl() () from /usr/lib64/libEsriCommonQt.so #9 0x00007f7405336990 in QRTImpl::MapImpl::~MapImpl() () from /usr/lib64/libEsriCommonQt.so #10 0x00007f740545fec8 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() [clone .local.12842] () from /usr/lib64/libEsriCommonQt.so #11 0x00007f74050c4f30 in QRTImpl::MapViewImpl::~MapViewImpl() [clone .local.988.25663] () from /usr/lib64/libEsriCommonQt.so #12 0x00007f73f0c62889 in Esri::ArcGISRuntime::GeoView::~GeoView() () from /shd/CTC/TOOLS/TDS/TDS-build/lib/libsituationMap.so #13 0x00007f73f0c76a9d in Esri::ArcGISRuntime::MapGraphicsView::~MapGraphicsView() () from /shd/CTC/TOOLS/TDS/TDS-build/lib/libsituationMap.so #14 0x00007f73f0c76ad9 in Esri::ArcGISRuntime::MapGraphicsView::~MapGraphicsView() () from /shd/CTC/TOOLS/TDS/TDS-build/lib/libsituationMap.so #15 0x00007f74302bf105 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5 #16 0x00007f7431425b42 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5 #17 0x00007f73f0b2966c in SituationMap::Map::~Map (this=0x7f722b0c3f30, __in_chrg=<optimized out>) at /shd/CTC/TOOLS/TDS/TDS-source/Lts/Viewer/SituationMap/Map/map.h:235 #18 0x00007f73f0b0d74c in SituationMap::MapImpl::~MapImpl (this=0x7f722b0c3f30, __in_chrg=<optimized out>) at /shd/CTC/TOOLS/TDS/TDS-source/Lts/Viewer/SituationMap/MapImpl/map_impl.cpp:1066 #19 0x00007f73f0b0d798 in SituationMap::MapImpl::~MapImpl (this=0x7f722b0c3f30, __in_chrg=<optimized out>) at /shd/CTC/TOOLS/TDS/TDS-source/Lts/Viewer/SituationMap/MapImpl/map_impl.cpp:1104 The first basemap was loaded and doneLoading was emitted, Afterwards (at the same time) the remaining basemaps are still loading, a couple of GraphicalOverlays are added and some swatch symbols (MIL2525D) were created and added to the GraphicslOverlays... Does anyone has an idea? Are there any tools? Btw: The text (what) is not very specific Thanks in advance
... View more
02-20-2018
06:18 AM
|
0
|
0
|
954
|
|
POST
|
Hi! I try to switch to APP6-B. I downloaded the stylx file here: Military Symbology Styles | ArcGIS for Defense I created the Esri::ArcGISRuntime::DictionarySymbolStyle with following parameters: const QString& specificationType -> "app6b" const QString& styleLocation -> "/usr/share/arcgis/resources/symbols/app6b/app6b.stylx" The file exits and has the correct rights. Unfortunately i get the signal 'errorOccurred' with: code=14 domain=0 extendedErrorType=-1, message='File not found' There is no documentation, how to setup the parameter specificationType. So i assume "app6b". Con someone confirm? Or was someone able to read/load the app6b.stylx??? This problem occures on OpenSuse Linux and Windows based on V100.2. Thx in advance EDIT: Logged to support: "Case #02068526 - reading/loading app6b.stylx fails" EDIT: i add a sampel to the case i add my question here: Support APP6B Stylx for ArcGIS Pro and Runtime 100.2 · Issue #276 · Esri/military-features-data · GitHub
... View more
02-15-2018
03:45 AM
|
0
|
2
|
1056
|
|
POST
|
Hi Eric! Thanks for your hints! 1) Do i need any licences to run the local Server serving the viewshed? Or is the licence just reqiured to generate the gpk? 2) I tried to generate a gpk, but get a gpkx file. Is there a difference? Thx
... View more
02-13-2018
07:29 AM
|
0
|
1
|
1251
|
|
POST
|
Where can is the page to download the Topographic.tpk often used in the example? I like to add that URL in a support case.... Thx!
... View more
02-08-2018
05:50 AM
|
0
|
1
|
640
|
|
POST
|
Hi! Unfortunately the Viewshed of V100.2 works only for 3D. So for 3D i have to setup a GeoprocessingTask (client side) and process/display the results create a geoprocessing package (.gpk) create a LocalServer serving/wrapping geoprocessing package This that correct so far? Step 1) seem to be done (copied from arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_CppSamples/Analysis/AnalyzeViewshed at master · Esri/arcgis-runtime-samples… ) But how can i start with step 2) and 3)? I assume that for such a basic service (viewshed) a template is available? Can someone give me a point where to start? Thanks in advance! Norbert
... View more
02-05-2018
06:32 AM
|
0
|
3
|
1561
|
|
POST
|
Hi! In the meantime we recognized the problem: We checked the errorOccured signal of the AnalysisListModel. While running the program we got error code 8001. Error message: "Attempt to use functionality that is not supported for the current license level" Now we have to dig into the licence, where are they supplied, how to assign to application, and hopefully it will work then... 😞
... View more
02-05-2018
06:19 AM
|
0
|
0
|
805
|
|
POST
|
Hi! I´m using ArcMap and ArcGIS Pro. Via drag and drop i opened elevation data (extension .dem). While i am moving the mouse over map/scene i can see the coordinate as lat/lon or UTM value - fine 🙂 How can i get the according elevation also? BTW, where is the best place to put question related to ArcMap and ArcGIS Pro? Thanks in advance Norbert
... View more
02-02-2018
12:56 AM
|
0
|
2
|
1760
|
|
POST
|
Hi! I have so many ESRI related problem.. Didn`t find time to reproduce this seldom problem. Maybe it was just an dirty build??? I will observe this issue.. Thx
... View more
01-25-2018
07:06 AM
|
0
|
0
|
692
|
|
POST
|
Hi! I was able to build and run the viewshed example - ok. (arcgis-runtime-samples-qt-master/ArcGISRuntimeSDKQt_CppSamples/Analysis/ViewshedLocation) But i am not able to move that code into our application. (Linux: openSuse 42.3; Qt5.10, gcc 4.8.5) As result no viewshed is visible, no errorMessage - just not visible. Does someone knows common pitfalls? Which kind of log messages can be enabled? Which tools can be helpful? Any help would be appreciated. Thx in advance
... View more
01-09-2018
07:01 AM
|
0
|
2
|
1015
|
|
POST
|
Hi! Are there any expriences regarding Qt5.10.0? Es recognize an effect, that sometimes (5%) widgets are added to the QGraphicsView (==QSceneGraphicsView), but are invisible. (clicks on invisible widget are still supported) Widget is added like this: this->scene()->addWidget(d->m_label); I updated to V100.2 for a couple of days - everything was fine. Then update to Qt 5.10 -> effect arises... Thx
... View more
01-09-2018
03:53 AM
|
0
|
2
|
1051
|
|
POST
|
Hi Luke! Thank you for your answer! Unfortunately the QML based version does not fit to our widghet based application. A widget based compass will be released with the next patch in Q1/2018? The idea behind quartz (V100) was to support all platforms with in a uniform way, right? Thx
... View more
01-05-2018
12:05 AM
|
0
|
1
|
1287
|
|
POST
|
Happy New Year! The relase notes of V100.2 (Release notes for 100.2.0—ArcGIS Runtime SDK for Qt | ArcGIS for Developers ) mentions a compass tool: The compass tool displays the heading of a map or scene when the view is rotated. The tool implements a method that resets the heading of a view back to zero. The UI component included with this tool is represented by a simple compass rose that points to north (zero heading) in the view. How can i use this tool? Which classes? Where is an example? Is it really included? Thx
... View more
01-03-2018
02:02 AM
|
0
|
3
|
1574
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-05-2023 05:17 AM | |
| 1 | 03-14-2023 06:54 AM | |
| 1 | 02-24-2023 03:58 AM | |
| 1 | 06-29-2022 06:12 AM | |
| 1 | 03-12-2021 01:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-29-2024
11:30 AM
|