帖子
|
非常感谢您的澄清!干杯
...查看更多
3周前
|
0
|
0
|
24
|
帖子
|
大家好,我尝试使用ArcGIS中的最近设施位置服务运行一个最近设施任务。java.io.IOException: API密钥' *4O6gt '无效,过期,或无法访问资源:' https://route-api.arcgis.com/arcgis/rest/services/World/ClosestFacility/NAServer/ClosestFacility_World '。请访问https://developers.arcgis.com/api-keys以配置API密钥以访问资源,或创建新的API密钥。我去检查我的账户权限。我有一个ArcGIS开发帐户的基本计划。根据我的帐户详细信息,我可以访问ArcGIS位置服务,其中包括路由服务。然而,我注意到最近的设施服务范围是“现收现付”。因此,我的问题是:我需要启用现收现付计费来使用ClosestFacility ArcGIS位置服务,还是我遗漏了一些东西?谢谢你!干杯
...查看更多
4星期前
|
0
|
3.
|
92
|
帖子
|
我接受这个答案作为解决方案。我发现我有一些特性没有准备好被质疑。删除故障特性后,我的查询成功通过。我使用以下查询“Capacidade > 500 AND Tipo LIKE 'Autotanque'”,我认为使用FeatureLayer更方便。queryFeaturesAsync而不是FeatureLayer.setDefinitionExpression。干杯
...查看更多
|
0
|
0
|
28
|
帖子
|
你好Michael,非常感谢你的回复。我认为在FeatureLayer中使用QueryPameters更方便。queryFeaturesAsync为我想要的目的。关于你的问题,这是一个数字字段。我也试过不加引号,结果也一样(忘了说了)。非常感谢您的回复
...查看更多
|
0
|
1
|
37
|
帖子
|
您好,我正在使用Android的Runtime SDK开发一个Android应用程序(Java)。我试图为FeatureLayer创建一个定义条件,只显示功能与“Tipo = Autotanque”和“Capacidade > 500(公升)”。我尝试了以下几行代码:featureLayer。setDefinitionExpression("Tipo = 'Autotanque' WHERE CAPACIDADE > '500'");featureLayer。setDefinitionExpression("Tipo = 'Autotanque' AND CAPACIDADE > '500'");在只测试了表达式的第一部分(Tipo = 'Autotanque')后,它工作了,但是定义表达式的第二部分没有被正确读取,因为没有显示任何特征。请指导我如何建立这个表达式。先谢谢你。干杯
...查看更多
|
0
|
4
|
80
|
帖子
|
谢谢你的回答,Rama,它在物理设备上工作得很好,在模拟器上不行。我尝试的模拟器是Nexus 6 API26 x86 CPU架构,我将在下面留下详细信息。名称:Nexus_6_API_26 CPU/ABI:谷歌api Intel Atom (x86)路径:c:\ users \ mige \.android\avd\Nexus_6_API_26. zipavd目标:google_apis[谷歌APIs] (API级别26)皮肤:nexus_6 SD卡:512 MB fastboot。chosenSnapshotFile: runtime.network.speed: full hw。hw.device.name: Nexus 6 hw.lcd.width: 1440 hw。initialOrientation: Portrait image.androidVersion.api: 26标签。Id: google_apis hw。mainKeys: no hw.camera.front: emulation avd.ini.displayname: Nexus 6 API 26ramSize: 3072 PlayStore。Enabled: false fastboot。forceColdBoot: no hw.cpu.ncore: 4 hw。键盘:yes hw.传感器:yes hw。hw.lcd.height: 2560 vm. dPad: no。heapSize: 384皮肤。hw.device.manufacturer:谷歌hw. dynamic: yes。Gps:是的。audioInput: yes image.sysdir。1:system-images\android-26\google_apis\x86\ showDeviceFrame: yes hw.camera.back: virtualscene AvdId: Nexus_6_API_26 hw.lcd.density: 560 hw.arc: false hw.device.hash2: MD5:869d76256fcdae165862720ddb8343f9 fastboot.forceChosenSnapshotBoot: no fastboot.forceFastBoot: yes hw.trackBall: no hw.battery: yes hw.sdCard: yes tag.display: Google APIs runtime.network.latency: none disk.dataPartition.size: 800M hw.sensors.orientation: yes avd.ini.encoding: UTF-8 hw.gpu.enabled: yes
...查看更多
07-13-202103:44我
|
0
|
0
|
595
|
帖子
|
大家好,我试图实现一个功能,用户可以在一个场景视图的2D和3D可视化之间改变(有点像谷歌地图允许做的事情)。我旋转屏幕的方式是基于投影在地面上的SceneView中心点,这显然不是理想的。这就产生了一个问题,当用户旋转屏幕时,屏幕的中心不会碰到地面,在这种情况下,我必须根据当前相机位置手动旋转,这就产生了一种奇怪的用户体验。我将提供代码,如果有人知道更好的方法,请分享,这将非常感谢。非常感谢!FloatingActionButton change2D3DView = findViewById(R.id.change2D3DView);change2D3DView。setOnClickListener(new View. onclicklistener () {@Override public void onClick(View v) {float centreX = mSceneView.getX() + mSceneView.getWidth() / 2;float centreY = mSceneView.getY() + mSceneView.getHeight() / 2;android.graphics.Point screenPoint = new android.graphics.Point(Math.round(centreX), Math.round(centreY)); Point mapPoint = mSceneView.screenToBaseSurface(screenPoint); // In case the center of the screen does not hit ground if (mapPoint == null) { Point groundLevel = new Point(mSceneView.getCurrentViewpointCamera().getLocation().getX(), mSceneView.getCurrentViewpointCamera().getLocation().getY(), 0.0, SpatialReferences.getWgs84()); // Turn to 2D - pitch a 0 mOrbitLocationCameraController = new OrbitLocationCameraController(groundLevel, 2000); mSceneView.setCameraController(mOrbitLocationCameraController); // Get current pitch angle double currentPitch = mSceneView.getCurrentViewpointCamera().getPitch(); mOrbitLocationCameraController.moveCameraAsync(0, 0, (0.0 - currentPitch), 1f).addDoneListener(new Runnable() { @Override public void run() { mSceneView.setCameraController(new GlobeCameraController()); map_2d_mode = true; } }); return; } Point tempGroundLevel = (Point) GeometryEngine.project(mapPoint, SpatialReferences.getWgs84()); Point groundLevel = new Point(tempGroundLevel.getX(), tempGroundLevel.getY(), 0.0, SpatialReferences.getWgs84()); if (map_2d_mode) { // Turn to 3D - set pitch to 45 // Get current pitch angle double currentPitch = mSceneView.getCurrentViewpointCamera().getPitch(); Camera newCamera = mSceneView.getCurrentViewpointCamera().rotateAround(groundLevel,0, ((45.0 - currentPitch) < 0.0) ? 0.0 : (45.0 - currentPitch), 0); mSceneView.setViewpointCameraAsync(newCamera, 0.7f).addDoneListener(new Runnable() { @Override public void run() { map_2d_mode = false; } }); } else { // Turn to 2D - set pitch to 0 // Get current pitch angle double currentPitch = mSceneView.getCurrentViewpointCamera().getPitch(); Camera newCamera = mSceneView.getCurrentViewpointCamera().rotateAround(groundLevel,0, (0.0 - currentPitch), 0); mSceneView.setViewpointCameraAsync(newCamera, 0.7f).addDoneListener(new Runnable() { @Override public void run() { map_2d_mode = true; } }); } } });
...查看更多
07-12-202104:28我
|
0
|
0
|
393
|
帖子
|
嘿,大家好,我试图在Nexus 6 API 26模拟器上“显示一个场景”示例应用程序,但得到下面的错误。我尝试将“模拟器性能”更改为“软件- GLES 2.0”,并将模拟器RAM增加到3072Mb,但没有效果。任何见解都将非常感激。Cheers E/AndroidRuntime: FATAL EXCEPTION:渲染线程进程:com.example。a2d3d_test_app, PID: 8020 com.esri.arcgisruntime.ArcGISRuntimeException:内部错误。:Failed to compile GL Shader: tile_3d_draw_ps Error Log: WARNING: 0:2: 'GL_EXT_frag_depth' : extension is not supported ERROR: 0:254: 'gl_FragDepthEXT' : undeclared identifier at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativeDraw(Native Method) at com.esri.arcgisruntime.internal.jni.CoreGeoView.a(SourceFile:5) at com.esri.arcgisruntime.a.i.f.g.a(SourceFile:87) at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.draw(SourceFile:2) at com.esri.arcgisruntime.mapping.view.SceneView.b(SourceFile:1) at com.esri.arcgisruntime.mapping.view.SceneView.lambda$moyPL0flTCRthLMFyvD_1llgzxc(Unknown Source:0) at com.esri.arcgisruntime.mapping.view.-$$Lambda$SceneView$moyPL0flTCRthLMFyvD_1llgzxc.a(Unknown Source:2) at com.esri.arcgisruntime.internal.jni.CoreGeoView.onDrawRequested(SourceFile:4) at com.esri.arcgisruntime.internal.jni.CoreGeoView.nativePulse(Native Method) at com.esri.arcgisruntime.internal.jni.CoreGeoView.z(SourceFile:1) at com.esri.arcgisruntime.a.i.f.g.o(SourceFile:1) at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.doFrame(SourceFile:3) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:909) at android.view.Choreographer.doCallbacks(Choreographer.java:723) at android.view.Choreographer.doFrame(Choreographer.java:655) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897) at android.os.Handler.handleCallback(Handler.java:789) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:164) at com.esri.arcgisruntime.mapping.view.GeoView$RenderingThread.run(SourceFile:5)
...查看更多
07-06-202104:17点
|
0
|
3.
|
670
|
帖子
|
非常感谢你,卢卡斯!
...查看更多
06-15-2021上午07:57
|
0
|
0
|
856
|
帖子
|
这是个好主意,它像Webhook一样工作还是定期轮询服务器?这也适用于GeoEvent,对吗?它也可以用AGOL特性服务实现吗?另外,你知道Android的Runtime SDK上是否有类似的组件或API方法吗?非常感谢
...查看更多
06-10-202107:52我
|
0
|
2
|
910
|
在线状态 |
离线
|
最后到访日期 |
3周前
|