POST
|
Yeah, I guess that's what I'm trying to figure out - where to position the camera so it has a view of the bounds of the envelope. I'd like to keep the camera at a specific heading and pitch and just move it, but that's really a nice to have and not required. If I could just implement some basic "zoom to bounds" capability using a SceneView that would be great, even if the heading and pitch changed. I haven't been able to get that working very well. Even setting the pitch to 0 so you're looking straight down on the scene is difficult, because you've got to work out the correct elevation of the camera so it sees the bounds of the envelop, and only the bounds of the envelope. You don't want the camera too high or you see too much (past the bounds of the envelope) and you don't want the camera too low or you don't see enough of the bounds of the envelope.
... View more
09-02-2021
09:47 AM
|
0
|
1
|
1999
|
POST
|
I guess what I'm trying to figure out is the location of a new camera - so that I can view the bounds of the envelope I've created. I know the heading and the pitch (I'm just going to copy that from the current camera) but I need to figure out where to set the camera's location so it has a complete view of the envelop given that specific heading and pitch. I don't what to change the heading or the pitch, just the location. Kind of like the way SetViewpointGeometryAsync works on the MapView. In that case, we can assume the heading is always 360 and the pitch is always 0 and when I call SetViewpointGeometryAsync it moves the camera into a position where the Map's view can see the entire bounds of the envelope.
... View more
09-02-2021
09:38 AM
|
0
|
1
|
2000
|
POST
|
Thank you for the reply - one question, what should pass in as the Camera? I've got the geometry (envelope) at the time of the event, but the only Camera I can get is the current one from the SceneView. Obviously when I pass that camera in it keeps me at the exact same camera position and view of the scene. Here's what I tried: var cam = SiteMapView.Camera; var vp = new Viewpoint(areaOfInterest, cam); await SiteMapView.SetViewpointAsync(vp); If I do this (below), it zooms to the center of the envelope at a very tight zoom scale so I cannot see the entire bounds of the envelope - it's like it's zoomed way in on the center of the envelope. I have to manually zoom way out to see the bounds of the envelope I passed in. var vp = new Viewpoint(areaOfInterest); await SiteMapView.SetViewpointAsync(vp);
... View more
09-02-2021
09:26 AM
|
0
|
3
|
2002
|
POST
|
Hello, I'm wondering if anyone has a clever way to calculate the camera position with a specified heading and pitch so that it encompasses a feature's bounds on the ground. Thanks, Mike...
... View more
09-01-2021
09:39 AM
|
0
|
7
|
2031
|
POST
|
Hello, I’m working with a scene in Runtime 100.11 that has several layers, including a base map and an Integrated Mesh along with a graphics layer. When the scene is rendered, the graphics overlay is under the Integrated Mesh. According to the documentation, “Graphics overlays display on top of all other data in a map or scene view.” How to I force the graphics overlay to be displayed on top of the Integrated Mesh layer? Thanks, Mike...
... View more
08-19-2021
07:39 AM
|
0
|
1
|
682
|
POST
|
Hello, We've been seeing a very sporadic issue on iOS when an app starts the location data source resulting in an unhandled exception. It's only happened a few times but we'd like to get to the bottom of it. We're not sure where it is coming from so we figured we post something here to see if anyone had any ideas. Any input would be greatly appreciated. Here's the exception and stack trace we get when the error occurs: Invalid argument: location data source has been started. ArcGISException.HandleCoreError (RuntimeCoreNet.GeneratedWrappers.CoreError error, System.Boolean throwException) Interop.CheckError (System.IntPtr errorHandle, System.Boolean throwOnFailure, System.Runtime.InteropServices.GCHandle wrapperHandle) CoreLocationDataSource.HandleStart (RuntimeCoreNet.GeneratedWrappers.CoreClientReference userDefinedError) ICoreCallback_LocationDataSource_StartCallback.StartCallback () AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) NSAsyncSynchronizationContextDispatcher.Apply () (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr) UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) Application.Main (System.String[] args)
... View more
06-24-2021
08:00 AM
|
0
|
1
|
801
|
POST
|
Hello, We've been working with a KML data source that includes 3D Collada models. We've had success adding this to a scenes on both Windows and in a Xamarin Forms apps. However, we have seen some differences on these platforms. The biggest issue is that in the Xamarin Forms app, the KMLLayer is not draped on the surface even though we've setup the elevation surface and set the base surface. We're using the same code on Windows and in the Xamarin app however in the Xamarin app the KMLLayer appears to be "floating" in the air. Here's an example from Windows app showing it correctly displayed. Here's a screen shot from the Xamarin Forms app using the same code to setup the surface as well as the same KMZ file. Additionally, in the Xamarin Forms app, we've noticed that the rendering is not using textures we included in the KMZ. I'm just wondering if this is expected or if we are doing something incorrectly.
... View more
01-20-2021
01:18 PM
|
0
|
2
|
888
|
POST
|
Hello, We are in the process of trying to apply a UN asset package we received from a customer and during the process we received this error. ERROR 999999: Something unexpected caused the tool to fail. Invalid relationship class specification. The operation was attempted on an empty geometry. I'm wondering if anyone has any ideas on what would cause this problem and how we can move past it. Thanks in advance.
... View more
01-05-2021
12:32 PM
|
0
|
3
|
962
|
POST
|
Hello, I'm trying to apply an asset package we received from one of our customers and I'm getting the error "The Utility Network must be version 5". I've just been back through and upgraded everything (ArcGIS Pro 2.7, Untools, and upgraded the Enterprise Geodatabase) but even after I stage a new utility network it looks like it's version 3. When I try to apply the asset package we received from our customer we get the error again. The Utility Network must be version 5 Any ideas? Thanks, Mike...
... View more
12-17-2020
01:16 PM
|
0
|
6
|
3620
|
POST
|
Thanks a lot Rich, that's really helpful. We were really interested in read-only access to an offline MMPK created from the utility network. We won't be doing any data updates or edits. So basically we'd like to create an MMPK from ArcGIS Pro with the Utility Network, then copy it to a device and open it up. It will be a pretty simple workflow, but at this point I'm not sure we can create an MMPK with the Utility Network from ArcGIS Pro. Thanks again, Mike...
... View more
06-26-2020
12:01 PM
|
0
|
1
|
2448
|
POST
|
Hello, I was hoping to get an update on support for offline MMPKs from the Utility Network. We've got a couple of projects we're working on that would really benefit from this support. Thanks, Mike...
... View more
06-26-2020
09:43 AM
|
2
|
5
|
2550
|
POST
|
Thank you for the help. That makes sense. I changed a few things around that made the subnetwork dirty and I was able to run Update Subnetwork on the subnetwork I’m working with. Still no connectivity with this new line. Question: How can I use Find Connected to help figure out why the line is not connected? I’m not sure how to do that. Mike Hamsa Chief Technology Officer - GeoSpatial Innovations, Inc. P: 512-982-6735
... View more
06-24-2020
07:42 AM
|
0
|
2
|
1622
|
POST
|
Michael, I just did a subnetwork trace and it does not trace the new Electric Line. I also tried to do another Update Subnetwork and I'm a little confused because the subnetwork I'm trying to update (RMT005) does not show in the list. It was in this list when I ran Update Subnetwork previously, but now it isn't.
... View more
06-24-2020
07:21 AM
|
0
|
4
|
1622
|
POST
|
I did. I tried to run it a second time and the second time and the subnetwork I am extending didn't show up in the list, so I'm not sure about that... Get Outlook for Android<https://aka.ms/ghei36>
... View more
06-23-2020
03:21 PM
|
0
|
6
|
1622
|
Title | Kudos | Posted |
---|---|---|
2 | 03-25-2019 11:06 AM | |
1 | 03-30-2020 10:44 AM | |
2 | 06-26-2020 09:43 AM | |
1 | 04-03-2018 07:39 AM | |
1 | 02-24-2015 09:58 AM |
Online Status |
Offline
|
Date Last Visited |
01-19-2022
08:00 AM
|