Prashant.Kirpan

Export Web Map re-projection issue with Portal

Discussion created by Prashant.Kirpan on Jun 4, 2019

Hi All,

 

I have published Export Web Map geoprocessing tool to Portal 10.6 from ArcGIS Pro 2.3.

 

I want to print base map in South Australian Lambert GDA2020 - WKID : 8059 so i mentioned out spatial reference id in web map JSON. see highlighted portion in below screen shot. 

 

Geoprocessing tool in ArcGIS pro working fine and producing correct output but after publishing to portal it's generating blank map. Out of the box templates are used for printing.

 

Here is my json for web map. No exception has been raised while executing service. 

 

 

JSON in text

{"mapOptions":{"showAttribution":true,"extent":{"xmin":13972084.057835488,"ymin":-4593045.704940036,"xmax":15879952.28383298,"ymax":-3496021.474991478,"spatialReference":{"wkid":102100}},"spatialReference":{"wkid":8059}},"operationalLayers":[{"id":"layer2","title":"layer2","opacity":1,"minScale":0,"maxScale":0,"url":"https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"}],"exportOptions":{"outputSize":[670,500],"dpi":96},"layoutOptions":{"titleText":"","authorText":"","copyrightText":"","customTextElements":[{"Date":"05/06/2019, 14:48:34"}],"scaleBarOptions":{"metricUnit":"esriKilometers","metricLabel":"km","nonMetricUnit":"esriMiles","nonMetricLabel":"mi"},"legendOptions":{"operationalLayers":[]}}}

Any help would be appreciated.

 

Regards,

Prashant 

Outcomes