|
POST
|
ArcGISRuntime V100 offers the method GeoView::identifyGraphicsOverlay (and similar) to identifiy graphics on a screenlocation - This works fine. How can i use a rectangle (most of the times horizontal) to specify the graphics to be identified? Do i have to iterate over all graphics, retrieve their geometry, use GeometryEngine::inersect or similar by myself? (Can you recommend a method, which is quick?) Or do i miss something and there is simple way? Thx Norbert
... View more
01-25-2017
04:50 AM
|
0
|
1
|
882
|
|
POST
|
Hi Luke! Yes, option 1 (share that symbol between graphics) should be helpful. (It´s nearly obvious, but due to our wrapper/architecture i didn`t recognize this option...) Thank you very much!
... View more
01-18-2017
12:00 AM
|
0
|
0
|
1062
|
|
POST
|
Hi! I have to put a specific QImage onto the map many times (> 10000). The class pictureMarker (ArcGIS Runtime for Qt (C++)) offers rendering an image on the map - fine. But its consuming more memory then necessary. (I was looking at the GPU memory) By now it is NOT possible to put the pixmap to the memory of the graphic card and reference that many times, in this example 10000 times. - Is that done in the background (QPixmap offers cacheKey() - QPixmap Class | Qt GUI 5.5 ) without being documented? - Or is there a possiblity i didn`t recognize yet? (Is this done, if i use a Renderer like UniqueValueRenderer?) Thank you!
... View more
01-16-2017
12:47 PM
|
0
|
1
|
1378
|
|
POST
|
Hi! Now we are on ArcGIS Runtime for Qt V100. Is there any information about putting images/pixmaps on the map EFFICIENTLY? Thx Norbert
... View more
01-16-2017
12:41 PM
|
0
|
0
|
1062
|
|
POST
|
Hi Luke! Thanks for taking time for "my" old bugs! To BUG-000092678: fine To BUG-000092680: I didn´t checked, because my application replaces the PictureMarker if size changes. Thanks
... View more
12-13-2016
12:06 AM
|
0
|
0
|
514
|
|
POST
|
You are welcome! Yes, V100 is a thing i forget to recommend. 🙂
... View more
12-13-2016
12:01 AM
|
0
|
0
|
1020
|
|
POST
|
Hi! On November 2015 i logged two bugs via the official support (case 01713501: 000092678 (rotation depends on RenderingMode ) http://support.esri.com/bugs/nimbus/QlVHLTAwMDA5MjY3OA== 000092680 (unclear unit of offset) I used the esri page to observe the next steps. I can read: "This is a bug at 10.2.x, but will be fixed with the Quartz release." I can state: this is not fixed in V100! The documentation of the PictureMarker/MarkerSymbol is about an Pushpin: "Consider a PictureMarkerSymbol using the image of a pushpin. By default, the center of the image will be used as the anchor to center the image at the map location. However, if you wanted the needle of the pushpin to end at the map location, you would need to offset the image appropriately to make the needle's end coincide with the map location." (source https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-markersymbol.html#details) But pay attention: you have to take care about the GraphicsRenderingMode the Marker is displayed on! The offset depends on the image dimensions - of course. But in case of GraphicsRenderingMode::Static you have to rotate the offset also. A final code could look like: m_pictureMarkerSymbol = new Esri::ArcGISRuntime::PictureMarkerSymbol(*m_image); QPointF markerHotSpot = QPointF(m_image->width() / 2.0 * m_markerHotSpotPercent.value().x(), m_image->height() / 2.0 * m_markerHotSpotPercent.value().y()); QPointF finalOffset = (markerHotSpot.toPoint() * -1) * 1.33 // 1.33; // try and error (48pixel / 36pt) + (m_externalOffset.value() * 0.75); // 0.75; // try and error (36pt / 48pixel) // hmm, in static rendering mode, the offset has to be rotated also // (Bug 000092689 - Case 01713501 ; NOT fixed in V100.0) // Therefore: if (this->m_graphicsLayer->renderingMode() == Esri::ArcGISRuntime::GraphicsRenderingMode::Static) MathUtils::rotatePoint(finalOffset, QPointF(), m_angle.value()); m_pictureMarkerSymbol->setOffsetX(finalOffset.x()); m_pictureMarkerSymbol->setOffsetY(finalOffset.y()); m_pictureMarkerSymbol->setAngle(m_angle.value()); Maybe ESRI likes to make this part of the api consistent?
... View more
12-12-2016
05:46 AM
|
0
|
2
|
620
|
|
POST
|
Hi rizello! 'CONFIG += c++11 arcgis_runtime_qml10_2_6' let me recognize that you are using version 10.2.6, right? arcgis_runtime_qml10_2_6 is a 'flag' to include some general configration flags, like include dir. Can you please check, if you have some esrifiles at ${QTDir}/mkspecs/features? Their name should be "esri_runtime_qt10_2_6.prf' ; "arcgis_runtime_qml10_2_6.prf" os similar (The postinstaller should copy them from "arcgis/runtime_sdk/qt10.2.6/sdk/ideintegration/" and maybe their subdirs) From my point of view, it´s important to make sure that these includeDirs are added to your pro file by your own by using the esrifiles (*.prf) Hope it helps! Norbert
... View more
12-12-2016
02:07 AM
|
0
|
2
|
1020
|
|
POST
|
As recommended i "moved" this issue to GitHub: https://github.com/Esri/arcgis-runtime-samples-qt/issues/367
... View more
11-28-2016
11:34 PM
|
0
|
0
|
858
|
|
POST
|
Hi! I have another problem. Luke Smallwood gave access to the required xml file which is unfortunately NOT included in the github. Mil2525DMessages.xml (md5: 20d2386c92976eb43007e38f31d63795) Using this the example crashed: Program received signal SIGABRT, Aborted. 0x00007ffff4d6dcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff4d6dcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007ffff4d710d8 in __GI_abort () at abort.c:89 #2 0x00007ffff4d66b86 in __assert_fail_base (fmt=0x7ffff4eb7830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff09cda45 "(-(e)) != 3 || !robust", file=file@entry=0x7ffff09cda28 "../nptl/pthread_mutex_lock.c", line=line@entry=350, function=function@entry=0x7ffff09cdb40 <__PRETTY_FUNCTION__.8671> "__pthread_mutex_lock_full") at assert.c:92 #3 0x00007ffff4d66c32 in __GI___assert_fail (assertion=assertion@entry=0x7ffff09cda45 "(-(e)) != 3 || !robust", file=file@entry=0x7ffff09cda28 "../nptl/pthread_mutex_lock.c", line=line@entry=350, function=function@entry=0x7ffff09cdb40 <__PRETTY_FUNCTION__.8671> "__pthread_mutex_lock_full") at assert.c:101 #4 0x00007ffff09c0ce1 in __pthread_mutex_lock_full (mutex=0xc327d8) at ../nptl/pthread_mutex_lock.c:350 #5 0x00007ffff37ca3c6 in std::__1::mutex::lock() () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libruntimecore.so #6 0x00007ffff1d43030 in ?? () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libruntimecore.so #7 0x00007ffff1f8dbc8 in ?? () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libruntimecore.so #8 0x00007ffff1b39738 in ?? () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libruntimecore.so #9 0x00007ffff1f74dcf in ?? () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libruntimecore.so #10 0x00007ffff1f832e0 in ?? () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libruntimecore.so #11 0x00007ffff1f8631f in ?? () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libruntimecore.so #12 0x00007ffff1a612c0 in ?? () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libruntimecore.so #13 0x00007ffff1a60b63 in RT_Vector_add () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libruntimecore.so #14 0x00007ffff78f91c3 in ESRI::RuntimeCore::QRTVector::add(ESRI::RuntimeCore::QRTElement*) const () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libEsriCommonQt.so #15 0x00007ffff7671a09 in QRTImpl::List<QRTImpl::GraphicImpl>::append(std::shared_ptr<QRTImpl::GraphicImpl> const&) () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libEsriCommonQt.so #16 0x00007ffff770ac93 in QRTImpl::GraphicListImpl::append(std::shared_ptr<QRTImpl::GraphicImpl> const&) () from /home/quartzfinal/arcgis/runtime_sdk/qt100.0/sdk/linux/x64/lib/libEsriCommonQt.so #17 0x0000000000496bb5 in Esri::ArcGISRuntime::GraphicListModel::append(Esri::ArcGISRuntime::Graphic*) () #18 0x000000000047293b in GraphicsOverlayDictionaryRenderer_3D::createGraphic (this=0x844780, rawAttributes=...) at ../GraphicsOverlayDictionaryRenderer_3D_Symbology/GraphicsOverlayDictionaryRenderer_3D.cpp:174 #19 0x0000000000472368 in GraphicsOverlayDictionaryRenderer_3D::parseXmlFile (this=0x844780)
... View more
11-28-2016
01:04 AM
|
0
|
1
|
858
|
|
POST
|
Hi! Eric! Yes you are right, is missed added the proxy snippet 😞 Thank you. (And sorry for the stupid question..)
... View more
11-28-2016
12:41 AM
|
0
|
0
|
858
|
|
POST
|
The following example is not working, that means, the globe is visible, but just the BackgroundGrid 😞 GitHub example: arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/GraphicsOverlayDictionaryRenderer_3D Can esri fix their example, please? (Keep in mind, unix systems are case sensitive....) Thx
... View more
11-25-2016
06:02 AM
|
0
|
4
|
1097
|
|
POST
|
I would like to execute the example GraphicsOverlayDictionaryRenderer_3D. The executions seems to be stopped and only the backgroundGrid is visible. A error message says, that the "Mil2525DMessages.xml" is missing 😞 The SampleViewer on windows will download it is the example is started, but i can`t find the location 😞 Can someone support me and attach the file??? BTW: Is it possible that esir will check their examples? I tried 4 example now, that is the second failure.... (missing include statement) Thanks in advance!! Norbert
... View more
11-25-2016
05:42 AM
|
0
|
2
|
1412
|
|
POST
|
Good Morning Luke! Good to have you back 🙂 And thanks for your detailed answer! Norbert
... View more
11-22-2016
06:45 AM
|
1
|
0
|
364
|
|
POST
|
Thank you neil! But i can' find a similar approach. I search the complete incDir, but i didn`t find anything... (And constructor of Map and MapGraphicsView don`t have a proper parameter)... 😞
... View more
11-22-2016
06:12 AM
|
0
|
0
|
2737
|
| 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
|