Could someone please provide an example of how to use this python function. I am unable to get it to work with a transformation. Ideally from Web Mercator to GDA lat long, Web Mercator to WGS84 lat long and Web Mercator to GDA94 MGA56
transformations = geometry.find_transformation(
in_sr=from_SR,
out_sr=toSR,
#extent_of_interest=self.in_extent
)
result = geometry.project(geometries = input_geom, in_sr = from_SR, out_sr = toSR, transform = transformations)
toSR= '4326' #WGS84 or
toSR= '28356' #MGA 56
from_SR comes from the data and is
spatialReference': {'wkid': 102100, 'latestWkid': 3857} I plug in 3857