Select to view content in your preferred language

Road FBX model, and map matching problems

513
2
08-01-2023 01:46 AM
jianghan8098
Emerging Contributor

The road model data exported by RoadRunner can only be matched with the map with the Global mode of MapTyoe, but I want to be matched with the Local (plane mode). Is this feasible? Or can the FBX model of the road I process only be matched with one of the modes?

string wkt = "COMPD_CS[\"CompoundCS\",PROJCS[\"unnamed\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"latitude_of_origin\",30.03097934573528],PARAMETER[\"central_meridian\",121.2600064055433],PARAMETER[\"scale_factor\",1],PARAMETER[\"false_easting\",0],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1]],VERT_CS[\"EGM96 geoid height\",VERT_DATUM[\"EGM96 geoid\",2005,EXTENSION[\"PROJ4_GRIDS\",\"egm96_15.gtx\"],AUTHORITY[\"EPSG\",\"5171\"]],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Up\",UP],AUTHORITY[\"EPSG\",\"5773\"]]]";

_arcGISMap.OriginPosition = new ArcGISPoint(_gisLon, _gisLat, _gisHeight, new ArcGISSpatialReference(wkt));

The wkt in this code is the parameter obtained when RoadRunner software processes the model data. Can I correspond with the map whose MapType is Local by using it in this way? Please answer my doubts, thank you

2 Replies
jianghan8098
Emerging Contributor

string wkt = "PROJCS[\"yuyaoceshi\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"latitude_of_origin\",30.03097934573528],PARAMETER[\"central_meridian\",121.2600064055433],PARAMETER[\"false_easting\",0],PARAMETER[\"false_northing\",0],UNIT[\"Meter\",1]]";

_arcGISMap.OriginPosition = new ArcGISPoint(_gisLon, _gisLat, _gisHeight, new ArcGISSpatialReference(wkt));

Using this wkt file, I changed the map mode to Local, which still did not match the road model data exported by RoadRunner

0 Kudos
jianghan8098
Emerging Contributor

11111111.png

22222222.png

Can the difference between these two projections be reflected in Arcgis for unity

0 Kudos