I’ve implemented a geoprocessing service, from Modelbuilder,
to trace upsteam in a geometric network. The in-memory display Results are
sewer manholes along the upstream path.
An initial test of the geoprocessing service in ArcMap worked
as expected, with the correct projection of the Result (in- memory layer) as
State Plane. (Environments of Modelbuilder were populated with State Plane
coordinate system for ‘outputs’)
But, when using the service in a geoprocessing widget within
Web AppBuilder on AGO, the display Results projects as WGS_1984_Web_Mercator_Auxiliary_Sphere.
(the result shows up in Poland)
When I re-run the tool in ArcMap, I can see the results
layer in the TOC & under LayerProperties>Source tab the spatial
reference is WGS_1984_Web_Mercator_Auxiliary_Sphere.
How can I set the in-memory output to State Plane?