Custom extension to transform GPS data from WGS84 to BNG

2137
2
Jump to solution
10-26-2016 11:17 PM
PramodHarithsa1
Occasional Contributor II

I have been investigating on this for a while now.

https://community.esri.com/message/593405?commentID=593405#comment-593405 

https://community.esri.com/message/596846?commentID=596846#comment-596846

Trimble Juno 5D 

and many more.. have been raising this issue of ArcGIS Mobile not projecting the GPS data into the Map coordinates (other than WGS84).

Can a custom extension be written to overwrite the default behaviour and introduce the transformation before the GPS data is shown on the map. Any pointers.

Environment background,

OS Windows 8.1, Panasonic Toughbook, ArcGIS Mobile 10.2.1 (latest)

More details here: GPS connectivity on ArcGIS Mobile 10.2.1 

0 Kudos
1 Solution

Accepted Solutions
PramodHarithsa1
Occasional Contributor II

Thanks Dan for your response.

I finally figured out what needs to be done!

The below code did the trick! (1314 refers to osgb_1936_to_wgs_1984_petroleum transformation)

GeoTransformation gt = new GeoTransformation(1314);
MobileApplication.Current.Map.SpatialReference.Wgs84GeoTransformation = gt;

View solution in original post

2 Replies
DanPatterson_Retired
MVP Emeritus

Did you explore this ArcGIS Runtime SDK for Windows Mobile | ArcGIS Resource Center 

If it can't be done throught that, then you might want to contact your regional rep to find out if there is anything in the works.  It is unlikely that the dev team for your product follows geonet diligently, so they may not even know about the need

0 Kudos
PramodHarithsa1
Occasional Contributor II

Thanks Dan for your response.

I finally figured out what needs to be done!

The below code did the trick! (1314 refers to osgb_1936_to_wgs_1984_petroleum transformation)

GeoTransformation gt = new GeoTransformation(1314);
MobileApplication.Current.Map.SpatialReference.Wgs84GeoTransformation = gt;