I have a quick question for you that perhaps you can assist with.
I am working in EPSG:27700 + ODN height and we have applied an offset of X=-535000 and y=-180000 (we have been doing this for a long time to get objects that are in Ordnance Survey space into something more friendly for 3d editing due to floating point errors - although I am open to change this concept)
I am a bit confused about how I should write this in the manifest so that the model just pops in exactly where it should do in Unity and what to write in the VTS map make local script.
I managed to get pretty close by translating the point in EPSG:27700 origin point -535000, -180000 to WGS coords like below in QGIS (units in meters)
"srs": "enu lat0=51.502820844 lon0=-0.056331546 h0=0.00",

Then I put this in the manifest
"srs": "enu lat0=51.502820844 lon0=-0.056331546 h0=0.00",
in Unity I put these same numbers into the make map local which brings it pretty close, but the height is off - and when I take a close look, if I correct the height in one location on the dataset and then check another location then the height differences vary. Perhaps more worrying than this, there also appears to be a slight horizontal shift perhaps 30 cm or so from the reference data.


So my questions are
-
- What is the correct way to do this?
-
- Is it possible to just change the srs in the tileset.conf file after rather than reprocessing the VEF to VTS again?
-
- During the VEF to VTS process are the meshes distorted to fit any ellipsoid or is it simply slicing the mesh and retexturing where required for optimised streaming?
I have a quick question for you that perhaps you can assist with.
I am working in EPSG:27700 + ODN height and we have applied an offset of X=-535000 and y=-180000 (we have been doing this for a long time to get objects that are in Ordnance Survey space into something more friendly for 3d editing due to floating point errors - although I am open to change this concept)
I am a bit confused about how I should write this in the manifest so that the model just pops in exactly where it should do in Unity and what to write in the VTS map make local script.
I managed to get pretty close by translating the point in EPSG:27700 origin point -535000, -180000 to WGS coords like below in QGIS (units in meters)
"srs": "enu lat0=51.502820844 lon0=-0.056331546 h0=0.00",
Then I put this in the manifest
"srs": "enu lat0=51.502820844 lon0=-0.056331546 h0=0.00",
in Unity I put these same numbers into the make map local which brings it pretty close, but the height is off - and when I take a close look, if I correct the height in one location on the dataset and then check another location then the height differences vary. Perhaps more worrying than this, there also appears to be a slight horizontal shift perhaps 30 cm or so from the reference data.
So my questions are