Select to view content in your preferred language

Georeferencing Plugin does not work accurately in local scne

1965
9
Jump to solution
05-15-2023 07:26 AM
RobinKrempel
Occasional Contributor

Hello there,

these are my configurations to georeference the lokal scene.

RobinKrempel_1-1684160284913.png

RobinKrempel_2-1684160316517.png

I noticed, when i place an Object in the local scene using the ArcGIS Location Component and travel there visualisng the coordinates with the UMG_GeoStatusBar, the coordinates are not the same.

RobinKrempel_0-1684160258298.png

I think that is because of the Plate Caree Projection and its distortion. When i am working with a global scene, the coordinates are the same. I hope someone has a solution for this Problem

Best regards

Robin Krempel

0 Kudos
1 Solution

Accepted Solutions
RobinKrempel
Occasional Contributor

I found the solution. I had to choose the 3857 WKID as a projected coordinate system. the following image of the spatial references section might be the explanation.

RobinKrempel_0-1686839865641.png

 

View solution in original post

0 Kudos
9 Replies
TomoTakeda
Esri Contributor

Hi Robin,

I'm not sure if I understand what you are trying to achieve.

You are trying to display the pin position with the GeoReferencing Plugin's widget and the widget is configured to get the position of the pin and not the player controller, correct?

And the first tiled layer of your ArcGIS Map is WGS 84 or China Geodetic Coordinate System 2000. So when you switch to the local scene your ArcGIS Map's spatial reference is Plate Carrée.

I see you have "EPSG:25832" (ETRS89 / UTM zone 32N) for the GeoReferencing (Projected CRS) and I wonder why you have that code instead of "EPSG:32662" (WGS 84 / Plate Carree). 

0 Kudos
RobinKrempel
Occasional Contributor

Hi Tomo,

I am trying to set up the Georeferencing Plugin, so I can fly with the Camera through the local scene and the projecte, geographic and geocentric coordinates are correct like in the real world.

I have not changed the configuration of the widget. I think it is configured to get the camera location. I am not standing exact on the pin's location but close enough to notice that it could never be right.

RobinKrempel_0-1684349546758.png

The first tiled layer is in WGS 84.

I could change it to the Plate Caree Projection, but this does not change the displayed wrong geographic or goecentric coordinates.

RobinKrempel_1-1684350060926.png

Thank you for your quick response.

 

0 Kudos
TomoTakeda
Esri Contributor

Hi Robin,

This is how I set the GeoReferencing status bar to display the camera position (the player position).

TomoTakeda_0-1684412939282.png

And this is the GeoReferencing settings.

TomoTakeda_1-1684413142154.png

Since the ArcGIS Location Component that is attached to a Pawn will have the updated position value during the play mode, when I compare the camera position and the value on the status bar matches. (I'm using the ArcGIS Pawn) 

This screenshot is from a local scene.

TomoTakeda_2-1684413354546.png


Is this what you are trying to achieve?

FYI, I used this service for the basemap: https://www.arcgis.com/home/item.html?id=898f58f2ee824b3c97bae0698563a4b3

0 Kudos
RobinKrempel
Occasional Contributor

Hi Tomo,

That is what i want to achieve. I am wondering what the error is. I added the status bar in the Level Blueprint the same way you did and the Georeferencing System Actor is configured like yours. I noticed the coordinates are correct at the origin position and getting more and more wrong as the distance to the origin position is increasing. The following pictures show my current configurations.

RobinKrempel_0-1684770107678.pngRobinKrempel_1-1684770133926.png

RobinKrempel_2-1684770198123.png

RobinKrempel_4-1684770397414.png

 

RobinKrempel_3-1684770313082.png

 

 

0 Kudos
RobinKrempel
Occasional Contributor

hello there,

if anyone sees a mistake or has the same issue, please leave a comment.

This whould help me a lot.

 

0 Kudos
TomoTakeda
Esri Contributor

Hi Robin,

I tested a bit more with my colleagues and I'm wondering if your ArcGIS Map Actor's position is at 0,0,0 of Unreal Engine's space. I observed that the value difference between the GeoReferencing widget and ArcGIS Pawn location as you reported when the ArcGIS Map Actor's Location values under Transform section are not 0,0,0.

0 Kudos
RobinKrempel
Occasional Contributor

Hi Tomo,

RobinKrempel_0-1686076756203.png

That is how my ArcGISMapActor looks like. I have not changed anything. So I think that is not the solution in my case. Thanks for your response

 

0 Kudos
RobinKrempel
Occasional Contributor

I found the solution. I had to choose the 3857 WKID as a projected coordinate system. the following image of the spatial references section might be the explanation.

RobinKrempel_0-1686839865641.png

 

0 Kudos
TomoTakeda
Esri Contributor

Hi Robin,

I'm happy to hear that you found the solution.


So you have your basemap or the first tiled layer in Web Mercator (WKID 3857) and that was my confusion. 

When you use Georeferencing with ArcGIS Maps SDK for Unreal Engine, you must configure Georeferencing according to ArcGIS Maps SDK for Unreal Engine as you are aware.  ArcGIS Maps SDK for Unreal Engine automatically sets the map's spatial reference according to the basemap or the first tiled layer loaded. So if you have your basemap or the first tiled layer in WGS 84 or CGCS2000, the local coordinate system for the GeoReferencing should be set to "EPSG:32662" (WGS 84 / Plate Carree). 

0 Kudos