AnsweredAssumed Answered

WAP Default coordinate tool widget- Projected coordinates?

Question asked by NZGeoCAD on Apr 16, 2015
Latest reply on Jul 21, 2016 by rschoenefeld

Hi there- Is it possible to use the coordinate widget to show a projected coordinate? (in my case New Zealand Transverse Mercator (NZTM))

I've added NZTM to the output coordinate systems in the Coordinate widgets' configuration. However when I use this option in the map, it brings up an error:

RequestError: unable to load https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer/ and then a JSON request string.

 

We work in a totally disconnected environment so it won't be able to reach that internet address so:

A) is it possible to show a projected coordinate even if it could reach a valid geometry service? (The map is in web mercator)- When adding a coordinate system in the tools' config, there is a warning that 'The Geometry service doesn't support transforming operation' but I don't know if that's because it can't reach the AGOL service or because no coordinate conversions which require a transformation are supported?

B) If it is possible to show that coordinate, how can I modify the default widget so it doesn't point to the AGOL service and points instead to the geometry service hosted on the local network? I've set the portal to point to the 'local' geometry service but it seems the widget is hardcoded to the AGOL service?

 

Obviously, it would usually be easy to test this kind of functionality with a service that you know is working (i.e AGOL) but that isn't an option here. If there is a good test to see if the geometry service hosted locally is working too, that'd be great to know.

 

Cheers in advance.

Outcomes