Here is what I have so far.
Generate heightmap and corresponding geojson data of selected square from this app. Unreal Mapbox Bridge (justgeektechs.com)
Let’s say my selected area has just 1 road with no other features. Then I will get a geojson with long/lat points defining the road on the map.
I import the 16 bit height map into Unreal
Now I need to be able to get corresponding unreal coordinates from the long/lat of the road on the map.
The long/lat coordinates of the geojson are of geographic coordinate reference system, using the World Geodetic System 1984 (WGS 84)
So using the Geo Referencing System I should be able to convert these long/lat to points on the landscape so I can draw a road.
geojson-15-9076-13836-2017.json (5.0 KB)
The coordinates I am use are from the layer/id=road-secondary-tertiary
"coordinates": [ [ -80.28769165277481, 26.931559068024825 ], [ -80.28771847486496, 26.94196560632824 ] ]
sixteen bit heightmap
area capture on mapbox map.
Current Blueprint Function on blueprintue.com
Geo Refernce 4.17 posted by delebash | blueprintUE | PasteBin For Unreal Engine 4
However, the coordinates do not display correctly on the landscape map.
What am I doing wrong? Should I use the Geo Referencing system or is there a better way in blueprints to convert long/lat to a point on the Landscape?