Select to view content in your preferred language

ArcGisRuntime V100: example not working 'GraphicsOverlayDictionaryRenderer_3D'

948
4
11-25-2016 06:02 AM
NorbertThoden
Frequent Contributor

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

0 Kudos
4 Replies
EricBader
Honored Contributor

Hello!

Check to make sure you can access the elevation and imagery basemap services from your computer where your sample is running. Does your network require a proxy out to access external services?

0 Kudos
NorbertThoden
Frequent Contributor

Hi! Eric!

Yes you are right, is missed added the proxy snippet 😞

Thank you.

(And sorry for the stupid question..)

0 Kudos
NorbertThoden
Frequent Contributor

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)

0 Kudos
NorbertThoden
Frequent Contributor

As recommended i "moved" this issue to GitHub:

https://github.com/Esri/arcgis-runtime-samples-qt/issues/367

0 Kudos