POST
|
Hi Lucas Thanks, for answer. This indeed could be the problem. Anyway, I have my app running. I have copied PATH and LIB environment variables from QtCreator project/run tab and pasted this into command line. By trial and error I have figured out which libs are missing, some from Qt some from msvc. I couldn't use dependencywalker as it shows some hundred of missing files mostly win-api-something but not the ones I needed like Qt5OpenGL. Anyway it works. I have other question though, but I will ask them in separate thread. Best, Marek
... View more
06-01-2018
10:49 AM
|
0
|
0
|
512
|
POST
|
Hi This is similar to the problem described here: https://community.esri.com/message/584596? App compile and runs under QtCreator, does not run after windeploy. I have read about msvcp140 and vcruntime140 (there is dozen of these files in different directories, different sizes) I have copied these from installed samples, and also copied my binary to the sample folder C:\Program Files (x86)\ArcGIS SDKs\Qt100.2.1\sdk\samples\ArcGISRuntimeSDKQt_QMLSamples\bin In every case I cant run outside QtCreator, there is no error or anything. I have prepared small example (same as earlier) with windeploy command. I'm using Runtime integration with QML2_IMPORT_PATH set as environment variable. Qt 5.10.1 MSVC2017 64Bit Windows 10 Some help would be appreciated. Best Regards Marek
... View more
05-29-2018
03:41 AM
|
0
|
2
|
659
|
POST
|
Lucas, Thanks var vp= ArcGISRuntimeEnvironment.createObject("ViewpointExtent", {extent: route.routeGeometry.extent}); sceneView.setViewpoint(vp);
Best,
Marek
... View more
05-25-2018
08:00 AM
|
0
|
0
|
1186
|
POST
|
Hi Most of these I already use. Since Camera object is immutable I create Camera each time gpsCoords arrive. This is short version of my function, currFlatPoint is for currPositionGraphic marker and for distance calculation, currPoint is for camera with addidtional z coordinate function gpsCoord(latitude,longitude,direction,speed) { if(!currPoint && sceneView.drawStatus!=Enums.DrawStatusCompleted) return; currPoint=ArcGISRuntimeEnvironment.createObject("Point", {x:longitude, y:latitude,z:point_z[curr_z_idx], spatialReference: mapPage.spat_ref}); currFlatPoint=ArcGISRuntimeEnvironment.createObject("Point", {x:longitude, y:latitude, spatialReference: mapPage.spat_ref}); if(speed>=2) { mapPage.heading=direction //dont rotate on low speed } camera=ArcGISRuntimeEnvironment.createObject("Camera",{pitch:pitch,roll:0,heading:mapPage.heading,location:currPoint,distance:camera_z[curr_z_idx]}); sceneView.setViewpointCameraAndSeconds(camera,cam_speed) } I'm changing variable curr_z_idx depending on how far from the next maneuver, I want camera to be closer when approaching turn (or any maneuver). By trial and error I came up with these values for currPoint z variable and Camera distance property var point_z:[150,100,70,30] property var camera_z:[450,350,250,150] property int curr_z_idx:0_ So, to show whole route I need to get center point of the route, put camera with 0 pitch and some heading and some "distance" value, distance must be large enought to show whole route. I'm not sure how to calculate distance, I could use some trigonometric functions, had I known camera angle of view, but I don't As You can see there is also an issue with tiles, with MapView they refresh much faster. Best, Marek
... View more
05-25-2018
02:36 AM
|
0
|
2
|
1186
|
POST
|
Hi, I have switched to SceneView and Camera, after I solve route I would like to changte camera view to show whole route. With MapView I could set geometry for view with scene I basically move the camera when navigating, but how to create view for camera when route.routeGeometry is all I have. Best, Marek
... View more
05-24-2018
10:32 AM
|
0
|
4
|
1486
|
POST
|
Hi Yes I had an issue with this separator myself, functions needs to be Locale Aware. On the other hand I have switched default application locale to en_EN - didn't help. What Esri Support do you have in mind ? Support in my country ? Not good only for ArcGIS desktop applications. This issue is not critical for me, I'm developing on Linux but endproduct with navigation will run on Android and iOS, so as long as these works fine I can sleep peacefully. Best, Marek
... View more
05-23-2018
09:04 AM
|
0
|
0
|
293
|
POST
|
Hi. Many thanks, it works. I'm not sure about templates, because I'm using runtime integration so it might be useful to put this information here https://developers.arcgis.com/qt/latest/qml/guide/arcgis-runtime-sdk-for-qt-system-requirements.htm or here https://developers.arcgis.com/qt/latest/qml/guide/qt-sdk-best-practices.htm#ESRI_SECTION1_6719D9F0445142C98BAAE759570B9D7F Best Regards, Marek
... View more
05-21-2018
03:51 AM
|
0
|
1
|
2084
|
POST
|
Hi I have prepared minimal example it is crashing in the same way. I don't think this is code issue, example is simple, something with environment. QML debugging is enabled. Only use this in a safe environment. QML Debugger: Waiting for connection on port 50533... Esri.ArcGISRuntime.Plugin: void __cdecl ArcGISRuntimePlugin::registerTypes(const char *) Esri.ArcGISRuntime Esri.ArcGISRuntime.Plugin: void __cdecl QmlUtils::registerTypes(const char *) Esri.ArcGISRuntime Esri.ArcGISRuntime.Plugin: void __cdecl ArcGISRuntimePlugin::initializeEngine(class QQmlEngine *,const char *) Esri.ArcGISRuntime Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeRuntimeLicense(void) licenseStatus 3 Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeRuntimeLicense(void) licenseLevel 0 Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeRuntimeLicense(void) licenseType 0 Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeImageProvider(class QQmlEngine *) Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeImageProvider(class QQmlEngine *) Setting global image provider QVariant(void*, 0x1c5d8b924a0) Esri.ArcGISExtras.Plugin: void __cdecl ArcGISExtrasPlugin::registerTypes(const char *) Esri.ArcGISExtras Esri.ArcGISExtras.Plugin: void __cdecl ArcGISExtrasPlugin::registerTypes(const char *) Registering Singleton Types Esri.ArcGISExtras.Core: void __cdecl TkTypes::registerTypes(const char *) Esri.ArcGISExtras Esri.ArcGISExtras.Plugin: void __cdecl ArcGISExtrasPlugin::initializeEngine(class QQmlEngine *,const char *) Esri.ArcGISExtras Exception at 0x7ff993414008, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in runtimecore!RT_KMLDataset_destroy 1 2 RT_KMLDataset_destroy runtimecore 0x7ff946d882eb 3 RT_KMLDataset_destroy runtimecore 0x7ff946ce364a 4 RT_KMLDataset_destroy runtimecore 0x7ff946db97ea 5 RT_KMLDataset_destroy runtimecore 0x7ff946d36e5c 6 RT_KMLDataset_destroy runtimecore 0x7ff946cd7f68 7 RT_KMLDataset_destroy runtimecore 0x7ff946d1233d 8 RT_KMLDataset_destroy runtimecore 0x7ff949bc4d8f 9 _C_specific_handler VCRUNTIME140D 0x7ff97ef114f0 10 _BuildCatchObjectHelper VCRUNTIME140D 0x7ff97ef15639 11 _unDNameEx VCRUNTIME140D 0x7ff97ef25bfe 12 _BuildCatchObjectHelper VCRUNTIME140D 0x7ff97ef15912 13 _CxxFrameHandler3 VCRUNTIME140D 0x7ff97ef26107 14 RT_KMLDataset_destroy runtimecore 0x7ff947aacc00 15 _chkstk ntdll 0x7ff99624513d 16 RtlUnwindEx ntdll 0x7ff9961be525 17 FindAndUnlinkFrame VCRUNTIME140D 0x7ff97ef26005 18 is_exception_typeof VCRUNTIME140D 0x7ff97ef13c89 19 is_exception_typeof VCRUNTIME140D 0x7ff97ef14306 20 _BuildCatchObjectHelper VCRUNTIME140D 0x7ff97ef15b25 21 _CxxFrameHandler3 VCRUNTIME140D 0x7ff97ef26107 22 _chkstk ntdll 0x7ff9962450bd 23 RtlWalkFrameChain ntdll 0x7ff9961bd278 24 KiUserExceptionDispatcher ntdll 0x7ff996243fee 25 RaiseException KERNELBASE 0x7ff993414008 26 CxxThrowException VCRUNTIME140D 0x7ff97ef17e2d 27 RT_KMLDataset_destroy runtimecore 0x7ff946dc92e8 28 RT_KMLDataset_destroy runtimecore 0x7ff9457c3aec 29 RT_KMLDataset_destroy runtimecore 0x7ff94356176f 30 RT_KMLDataset_destroy runtimecore 0x7ff942738dbe 31 QRTImpl::RendererImpl::toJson EsriCommonQtd 0x7ff9579f7bad 32 QRTImpl::RendererImpl::toJson EsriCommonQtd 0x7ff95760eca7 33 qt_plugin_instance ArcGISRuntimePlugind 0x7ff959644386 34 QSGFramebufferObjectNode::render qquickframebufferobject.cpp 235 0x7ff95a60aa51 35 QSGFramebufferObjectNode::qt_static_metacall qquickframebufferobject.moc 74 0x7ff95a6099aa 36 QMetaObject::activate qobject.cpp 3769 0x7ff95b030648 37 QMetaObject::activate qobject.cpp 3630 0x7ff95b02fd98 38 QQuickWindow::beforeRendering moc_qquickwindow.cpp 507 0x7ff95a3ea454 39 QQuickWindowPrivate::renderSceneGraph qquickwindow.cpp 457 0x7ff95a3f7255 40 QSGRenderThread::syncAndRender qsgthreadedrenderloop.cpp 646 0x7ff95a350daf 41 QSGRenderThread::run qsgthreadedrenderloop.cpp 732 0x7ff95a3504f7 42 QThreadPrivate::start qthread_win.cpp 378 0x7ff95ac1fb3f 43 BaseThreadInitThunk KERNEL32 0x7ff994311fe4 44 RtlUserThreadStart ntdll 0x7ff99620f061 Best, Marek
... View more
05-18-2018
02:39 AM
|
0
|
0
|
2084
|
POST
|
Hi In that case I'n using map display and geocode, I will prepare example, just need a bit more time. Best, Marek
... View more
05-17-2018
05:35 AM
|
0
|
1
|
2084
|
POST
|
Hi I have an app working on Linux, tried to compile for windows and it is crashing as soon as I open qml page with maps. I have compiled with Qt 5.10.1 and MSVC2017 64Bit on Windows 10 also I have Visual 2017 community and openssl 1.0.2g The compiler in Qt kit is set for 15.0 x86_amd64. I know that in system requirements for windows there is 15.3 but this Visual Studio I have installed 2 days ago and this compiler is from VS C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat x86_amd64 What can be the problem ? Below there is debug output. Best Regards, Marek Stopped in thread 19 by Exception at 0x0 write access violation at 0x8 debug is: 1 2 RT_KMLDataset_destroy runtimecore 0x7ffa57f682eb 3 RT_KMLDataset_destroy runtimecore 0x7ffa57ec364a 4 RT_KMLDataset_destroy runtimecore 0x7ffa57f997ea 5 RT_KMLDataset_destroy runtimecore 0x7ffa57f16e5c 6 RT_KMLDataset_destroy runtimecore 0x7ffa57eb7f68 7 RT_KMLDataset_destroy runtimecore 0x7ffa57ef233d 8 RT_KMLDataset_destroy runtimecore 0x7ffa5ada4d8f 9 _C_specific_handler VCRUNTIME140D 0x7ffa927914f0 10 _BuildCatchObjectHelper VCRUNTIME140D 0x7ffa92795639 11 _unDNameEx VCRUNTIME140D 0x7ffa927a5bfe 12 _BuildCatchObjectHelper VCRUNTIME140D 0x7ffa92795912 13 _CxxFrameHandler3 VCRUNTIME140D 0x7ffa927a6107 14 RT_KMLDataset_destroy runtimecore 0x7ffa58c8cc00 15 _chkstk ntdll 0x7ffaaec6513d 16 RtlUnwindEx ntdll 0x7ffaaebde525 17 FindAndUnlinkFrame VCRUNTIME140D 0x7ffa927a6005 18 is_exception_typeof VCRUNTIME140D 0x7ffa92793c89 19 is_exception_typeof VCRUNTIME140D 0x7ffa92794306 20 _BuildCatchObjectHelper VCRUNTIME140D 0x7ffa92795b25 21 _CxxFrameHandler3 VCRUNTIME140D 0x7ffa927a6107 22 _chkstk ntdll 0x7ffaaec650bd 23 RtlWalkFrameChain ntdll 0x7ffaaebdd278 24 KiUserExceptionDispatcher ntdll 0x7ffaaec63fee 25 RaiseException KERNELBASE 0x7ffaab344008 26 CxxThrowException VCRUNTIME140D 0x7ffa92797e2d 27 RT_KMLDataset_destroy runtimecore 0x7ffa57fa92e8 28 RT_KMLDataset_destroy runtimecore 0x7ffa569a3aec 29 RT_KMLDataset_destroy runtimecore 0x7ffa5474176f 30 RT_KMLDataset_destroy runtimecore 0x7ffa53918dbe 31 QRTImpl::RendererImpl::toJson EsriCommonQtd 0x7ffa60ba7bad 32 QRTImpl::RendererImpl::toJson EsriCommonQtd 0x7ffa607beca7 33 qt_plugin_instance ArcGISRuntimePlugind 0x7ffa627f4386 34 QSGFramebufferObjectNode::render qquickframebufferobject.cpp 235 0x7ffa7623aa51 35 QSGFramebufferObjectNode::qt_static_metacall qquickframebufferobject.moc 74 0x7ffa762399aa 36 QMetaObject::activate qobject.cpp 3769 0x7ffa644c0648 37 QMetaObject::activate qobject.cpp 3630 0x7ffa644bfd98 38 QQuickWindow::beforeRendering moc_qquickwindow.cpp 507 0x7ffa7601a454 39 QQuickWindowPrivate::renderSceneGraph qquickwindow.cpp 457 0x7ffa76027255 40 QSGRenderThread::syncAndRender qsgthreadedrenderloop.cpp 646 0x7ffa75f80daf 41 QSGRenderThread::run qsgthreadedrenderloop.cpp 732 0x7ffa75f804f7 42 QThreadPrivate::start qthread_win.cpp 378 0x7ffa640afb3f 43 BaseThreadInitThunk KERNEL32 0x7ffaae091fe4 44 RtlUserThreadStart ntdll 0x7ffaaec2f061 application output is: Esri.ArcGISRuntime.Plugin: void __cdecl ArcGISRuntimePlugin::registerTypes(const char *) Esri.ArcGISRuntime Esri.ArcGISRuntime.Plugin: void __cdecl QmlUtils::registerTypes(const char *) Esri.ArcGISRuntime Esri.ArcGISRuntime.Plugin: void __cdecl ArcGISRuntimePlugin::initializeEngine(class QQmlEngine *,const char *) Esri.ArcGISRuntime Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeRuntimeLicense(void) licenseStatus 3 Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeRuntimeLicense(void) licenseLevel 0 Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeRuntimeLicense(void) licenseType 0 Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeImageProvider(class QQmlEngine *) Esri.ArcGISRuntime.Core: void __cdecl QmlUtils::initializeImageProvider(class QQmlEngine *) Setting global image provider QVariant(void*, 0x21a16d1ac40) Esri.ArcGISExtras.Plugin: void __cdecl ArcGISExtrasPlugin::registerTypes(const char *) Esri.ArcGISExtras Esri.ArcGISExtras.Plugin: void __cdecl ArcGISExtrasPlugin::registerTypes(const char *) Registering Singleton Types Esri.ArcGISExtras.Core: void __cdecl TkTypes::registerTypes(const char *) Esri.ArcGISExtras Esri.ArcGISExtras.Plugin: void __cdecl ArcGISExtrasPlugin::initializeEngine(class QQmlEngine *,const char *) Esri.ArcGISExtras Exception at 0x7ffaab344008, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in runtimecore!RT_KMLDataset_destroy
... View more
05-15-2018
12:45 PM
|
0
|
6
|
2843
|
POST
|
Hi I'm not sure which part of tcpdump I should search in. I believe this is what I paste down. I can send you full tcpdump from the moment app starts to the moment when route is solved, but I would rather do that to some email address. Best, Marek 16:40:17.500845 IP 192.168.132.254.48546 > ec2-18-232-41-248.compute-1.amazonaws.com.http: Flags [P.], seq 2102:2782, ack 7638, win 366, options [nop,nop,TS val 68938797 ecr 11409024], length 680: HTTP: POST /arcgis/rest/services/World/Route/NAServer/Route_World/solve HTTP/1.1 E.....@.@.........)....P......[l...n....... ...-....POST /arcgis/rest/services/World/Route/NAServer/Route_World/solve HTTP/1.1 Host: route.arcgis.com User-Agent: ArcGISRuntime-Qt/100.2.1 (debian 9; x86_64; Qt 5.10.1; QML) referer: lfLgeiHWVTS60dHm Content-Type: application/x-www-form-urlencoded Cookie: AGS_ROLES="imRZGn+N3VG9o32gh+AdSHcql/TTN/F4QCyFHp+naJ0Vh26o1ZiqkzhYGkBTUtk3kn0jHstLs4Kf82O4Juk7HyFdfGmMmqEM53kjJs72Nm5EmH7UKCYknMfCRD2Y8F2u4CJFbUBNq/kXwVLeA91OI5GG/UC9jz404XNft4 Ufz/YKbP3pXfVjcNl016i0pzslSQrQHt2GallmOdbLVcXeneOoVFAM4WB6zbudY0mUX55xj2iGVMVZATMa2ZbVoCnsoL1HmRW6gWTOKWZh8WxgLP9QIWyULTbBbE8zILVQMWo=" Content-Length: 3283 Connection: Keep-Alive Accept-Encoding: gzip, deflate Accept-Language: pl-PL,en,* 16:40:17.501179 IP 192.168.132.254.48546 > ec2-18-232-41-248.compute-1.amazonaws.com.http: Flags [.], seq 2782:4222, ack 7638, win 366, options [nop,nop,TS val 68938797 ecr 11409024], l ength 1440: HTTP E.....@.@.........)....P......[l...n....... ...-....f=json&accumulateAttributeNames=Miles%2CKilometers%2CTravelTime&attributeParameterValues=%5B%7B%22attributeName%22%3A%22Avoid Unpaved Roads%22%2C%22parameterName%22%3A%22Restric tion Usage%22%2C%22value%22%3A5%7D%2C%7B%22attributeName%22%3A%22Avoid Private Roads%22%2C%22parameterName%22%3A%22Restriction Usage%22%2C%22value%22%3A2%7D%2C%7B%22attributeName%22%3A% 22Driving an Automobile%22%2C%22parameterName%22%3A%22Restriction Usage%22%2C%22value%22%3A-1%7D%2C%7B%22attributeName%22%3A%22Through Traffic Prohibited%22%2C%22parameterName%22%3A%22R estriction Usage%22%2C%22value%22%3A5%7D%2C%7B%22attributeName%22%3A%22TravelTime%22%2C%22parameterName%22%3A%22Vehicle Maximum Speed %28km%2Fh%29%22%2C%22value%22%3A0%7D%2C%7B%22attrib uteName%22%3A%22Roads Under Construction Prohibited%22%2C%22parameterName%22%3A%22Restriction Usage%22%2C%22value%22%3A-1%7D%2C%7B%22attributeName%22%3A%22Avoid Gates%22%2C%22parameterN ame%22%3A%22Restriction Usage%22%2C%22value%22%3A2%7D%2C%7B%22attributeName%22%3A%22Avoid Express Lanes%22%2C%22parameterName%22%3A%22Restriction Usage%22%2C%22value%22%3A-1%7D%2C%7B%22 attributeName%22%3A%22Avoid Carpool Roads%22%2C%22parameterName%22%3A%22Restriction Usage%22%2C%22value%22%3A-1%7D%5D&barriers=&directionsLanguage=PL&directionsLengthUnits=esriNAUKilome ters&directionsOutputType=esriDOTFeatureSets&directionsStyleName=NA Desktop&directionsTimeAttributeName=TravelTime&findBestSequence=false&ignoreInvalidLo 16:40:17.501186 IP 192.168.132.254.48546 > ec2-18-232-41-248.compute-1.amazonaws.com.http: Flags [.], seq 4222:5662, ack 7638, win 366, options [nop,nop,TS val 68938797 ecr 11409024], l ength 1440: HTTP E.....@.@.........)....P...G..[l...n....... ...-....cations=true&impedanceAttributeName=TravelTime&outSR=%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D&outputGeometryPrecision=10%2C000000&outputGeometryPrecisionUnits=esriMet ers&outputLines=esriNAOutputLineTrueShapeWithMeasure&polygonBarriers=&polylineBarriers=&preserveFirstStop=true&preserveLastStop=true&restrictUTurns=esriNFSBAtDeadEndsAndIntersections&re strictionAttributeNames=Avoid Unpaved Roads%2CAvoid Private Roads%2CDriving an Automobile%2CThrough Traffic Prohibited%2CRoads Under Construction Prohibited%2CAvoid Gates%2CAvoid Expres s Lanes%2CAvoid Carpool Roads&returnBarriers=false&returnDirections=true&returnPolygonBarriers=false&returnPolylineBarriers=false&returnRoutes=true&returnStops=true&returnZ=false&startT imeIsUTC=true&stops=%7B%22doNotLocateOnRestrictedElements%22%3Atrue%2C%22features%22%3A%5B%7B%22attributes%22%3A%7B%22CurbApproach%22%3A0%2C%22LocationType%22%3A0%2C%22Name%22%3A%22Orig in%22%2C%22RouteName%22%3A%22%22%2C%22Sequence%22%3A1%2C%22Status%22%3A0%7D%2C%22geometry%22%3A%7B%22x%22%3A2355617.9410596034%2C%22y%22%3A6836048.9197683297%2C%22spatialReference%22%3A %7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%7D%7D%2C%7B%22attributes%22%3A%7B%22CurbApproach%22%3A0%2C%22LocationType%22%3A0%2C%22Name%22%3A%22Parkingu%22%2C%22RouteName%22%3A%2 2%22%2C%22Sequence%22%3A2%2C%22Status%22%3A0%7D%2C%22geometry%22%3A%7B%22x%22%3A2355719.0191572439%2C%22y%22%3A6833568.9409978902%2C%22spatialReference%2 16:40:17.661726 IP 192.168.132.254.48546 > ec2-18-232-41-248.compute-1.amazonaws.com.http: Flags [P.], seq 5662:6065, ack 7638, win 366, options [nop,nop,TS val 68938838 ecr 11410247], length 403: HTTP E.....@.@.........)....P......[l...n.w..... ...V...G2%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%7D%7D%5D%2C%22hasZ%22%3Afalse%2C%22type%22%3A%22features%22%7D&timeWindowsAreUTC=true&useHierarchy=true&useTimeWindows=fa lse&token=QAi0KLtoyTyZSsF4f8reaODc3WY3E24qKooU-KVqFD0B5uQ8jMY5vgI5I16KiaaflgL1mSyFjEEYHFL2VvmmKHYk6O0wFIOWGngspw4pteygtzaLhn_VvnhHNLvRmT3gpeKYxcWUsrjwC9t9nsMHO4JRSnUS_IsH5T_EbXNaaYLYOke YUwgUv0thwQ4iPCF-Ui-YLJTg5K7gIqG19tqNZw.. 16:40:17.991791 IP ec2-18-232-41-248.compute-1.amazonaws.com.http > 192.168.132.254.48546: Flags [.], seq 7638:9078, ack 6065, win 172, options [nop,nop,TS val 11410331 ecr 68938838], l ength 1440: HTTP: HTTP/1.1 200 E.....@.......)......P....[l...z.....)..... .......VHTTP/1.1 200 Date: Fri, 11 May 2018 14:40:17 GMT Content-Type: text/plain;charset=UTF-8 Content-Length: 4787 Connection: keep-alive Cache-Control: max-age=0,must-revalidate Server: Set-Cookie: AGS_ROLES="imRZGn+N3VG9o32gh+AdSHcql/TTN/F4QCyFHp+naJ0Vh26o1ZiqkzhYGkBTUtk3kn0jHstLs4Kf82O4Juk7HyFdfGmMmqEM53kjJs72Nm5EmH7UKCYknMfCRD2Y8F2u4CJFbUBNq/kXwVLeA91OI5GG/UC9jz404X Nft4Ufz/YKbP3pXfVjcNl016i0pzslSQrQHt2GallmOdbLVcXeneOoVFAM4WB6zbudY0mUX55xj2iGVMVZATMa2ZbVoCnsoL1HmRW6gWTOKWZh8WxgLP9QIWyULTbBbE8zILVQMWo="; Version=1; Max-Age=60; Expires=Fri, 11-May-2 018 14:41:17 GMT; Path=/arcgis/rest; HttpOnly ETag: 8b3e728a X-Content-Type-Options: nosniff Content-Encoding: gzip Vary: Origin
... View more
05-11-2018
07:51 AM
|
0
|
2
|
2288
|
POST
|
This code: onCreateDefaultParametersStatusChanged: { if (createDefaultParametersStatus === Enums.TaskStatusCompleted) { routeParameters = createDefaultParametersResult; routeParameters.returnRoutes = true; routeParameters.returnDirections = true; routeParameters.directionsDistanceUnits=Enums.UnitSystemMetric; routeParameters.directionsLanguage="PL" routeParameters.travelMode.outputGeometryPrecision=1; routeParameters.outputSpatialReference = SpatialReference.createWebMercator(); console.log("onCreateDefaultParametersStatusChanged travelMode:"+JSON.stringify(routeParameters.travelMode)) } }_ generates debug output: qml: onCreateDefaultParametersStatusChanged travelMode:{"objectName":"","objectType":"TravelMode","error":null,"objects":{},"attributeParameterValues":{"0":{"objectName":"","objectType":"AttributeParameterValue","error":null,"objects":{},"attributeName":"Avoid Unpaved Roads","parameterName":"Restriction Usage","parameterValue":5},"1":{"objectName":"","objectType":"AttributeParameterValue","error":null,"objects":{},"attributeName":"Avoid Private Roads","parameterName":"Restriction Usage","parameterValue":2},"2":{"objectName":"","objectType":"AttributeParameterValue","error":null,"objects":{},"attributeName":"Driving an Automobile","parameterName":"Restriction Usage","parameterValue":-1},"3":{"objectName":"","objectType":"AttributeParameterValue","error":null,"objects":{},"attributeName":"Through Traffic Prohibited","parameterName":"Restriction Usage","parameterValue":5},"4":{"objectName":"","objectType":"AttributeParameterValue","error":null,"objects":{},"attributeName":"TravelTime","parameterName":"Vehicle Maximum Speed (km/h)","parameterValue":0},"5":{"objectName":"","objectType":"AttributeParameterValue","error":null,"objects":{},"attributeName":"Roads Under Construction Prohibited","parameterName":"Restriction Usage","parameterValue":-1},"6":{"objectName":"","objectType":"AttributeParameterValue","error":null,"objects":{},"attributeName":"Avoid Gates","parameterName":"Restriction Usage","parameterValue":2},"7":{"objectName":"","objectType":"AttributeParameterValue","error":null,"objects":{},"attributeName":"Avoid Express Lanes","parameterName":"Restriction Usage","parameterValue":-1},"8":{"objectName":"","objectType":"AttributeParameterValue","error":null,"objects":{},"attributeName":"Avoid Carpool Roads","parameterName":"Restriction Usage","parameterValue":-1}},"description":"Models the movement of cars and other similar small automobiles, such as pickup trucks, and finds solutions that optimize travel time. Travel obeys one-way roads, avoids illegal turns, and follows other rules that are specific to cars. When you specify a start time, dynamic travel speeds based on traffic are used where it is available.","distanceAttributeName":"Kilometers","impedanceAttributeName":"TravelTime","name":"Driving Time","outputGeometryPrecision":1,"restrictionAttributeNames":{"0":"Avoid Unpaved Roads","1":"Avoid Private Roads","2":"Driving an Automobile","3":"Through Traffic Prohibited","4":"Roads Under Construction Prohibited","5":"Avoid Gates","6":"Avoid Express Lanes","7":"Avoid Carpool Roads"},"timeAttributeName":"TravelTime","type":"AUTOMOBILE","uTurnPolicy":3,"useHierarchy":true,"objects":{}} Best, Marek
... View more
05-08-2018
10:07 AM
|
0
|
4
|
2288
|
POST
|
Hi My development enviroment is Linux 64Bit with Qt 5.10.1. Debian 9 I have downloaded ArcGIS 100.2.1 and have it installed in: /opt/arcgis/runtime_sdk/qt100.2.1/ I did not perform integration with Qt Creator I'm only using runtime, so in my .pro file I have: include(/opt/arcgis/runtime_sdk/qt100.2.1/sdk/ideintegration/arcgis_runtime_qml.pri)_
and in main.cpp there is:
#ifdef Q_OS_LINUX engine.addImportPath("/opt/arcgis/runtime_sdk/qt100.2.1/sdk/linux/x64/qml"); #elif defined(Q_OS_ANDROID) engine.addImportPath("/opt/arcgis/runtime_sdk/qt100.2.1/sdk/android/armv7/qml/"); #endif
I'm using QML, application has backend written in cpp but regarding ArcGIS all code is in QML.
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc
,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=
posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-obje
ct --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/us
r/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arc
h-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-li
st=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
Best Regards
Marek
... View more
05-08-2018
09:56 AM
|
0
|
5
|
2288
|
POST
|
Hi Frank Thanks for Your attention. I have attached tcpdump, hope it will help. Best Regards Marek
... View more
05-05-2018
04:27 AM
|
0
|
7
|
2288
|
POST
|
Hi, Kind of hard for me to accept that answer. No matter what map I use provided by ESRI, like BasemapNavigationVector, there is always the same divergence problem, and I know the roads are mapped correctly, I have checked this driving with gps. What is more ESRI has a support for Polish language, thats why I choose it, it has driving directions in Polish language, so it is unlikely that is has network dataset so wrong. Ha, and a minute ago I have discovered that when i install my app on Android phone and I select very the same route, route line is drawn correctly. So what the heck is going on?
... View more
05-04-2018
12:53 AM
|
0
|
9
|
2288
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|