Hi all,
I have published a hosted feature layer to ArcGIS Online AGOL using the data interoperability extension (in other words - FME). Note I am no expert on FME or Data Interoperability.
My original data is in a United Kingdom format called 'British National Grid', 'BNG' for short. EPSG:27700 Airy (1880) Spheroid and OSGB1936 (also called OSGB36) Datum.
The process works as intended and creates the hosted feature layer, however the service is EPSG 27700 (which is what I want) but the default transformation is probably sub-optimal. As the service could likely be used with a Web Mercator or WGS84 basemap, this may affect both performance and accuracy.
This is the transformation which I believe is the default for the service:
"datumTransformations" : [
{
"transformDirection" : "forward",
"transformJson" : "[{\"wkid\":1149,\"latestWkid\":1149,\"transformForward\":false,\"name\":\"ETRS_1989_To_WGS_1984\"},{\"wkid\":5338,\"latestWkid\":5338,\"transformForward\":false,\"name\":\"OSGB_1936_To_ETRS_1989_1\"}]",
"fromSR" : {
"wkid" : 4326,
"latestWkid" : 4326
},
"toSR" : {
"wkid" : 4277,
"latestWkid" : 4277
}
},
{
"transformDirection" : "reverse",
"transformJson" : "[{\"wkid\":5338,\"latestWkid\":5338,\"transformForward\":true,\"name\":\"OSGB_1936_To_ETRS_1989_1\"},{\"wkid\":1149,\"latestWkid\":1149,\"transformForward\":true,\"name\":\"ETRS_1989_To_WGS_1984\"}]",
"fromSR" : {
"wkid" : 4326,
"latestWkid" : 4326
},
"toSR" : {
"wkid" : 4277,
"latestWkid" : 4277
}
}
],
If my interpretation is correct, for reprojection on-the-fly it is transforming OSGB36 datum into ETRS, then ETRS to WGS84. I think there must be better ways to set this.
Questions:
1. For any UK folks or geodesy geeks - I think that transformation OSGB_1936_To_WGS_1984_7
"wkid": 5339
would be preferred. Is that a fair assumption?
2. Can this transformation be configured in Data Interoperability/FME (fully aware that this is more of an FME question, so will post in their forum also. Advice is appreciated however).
3. Can the default transformation be updated using the REST API?