i publish it as a gpsrvice,to export png
the second layer use the gpservice result
Some questions:What version of ArcGIS are you using?In regards to:Are you creating a map service from within the gp service? That is, are you calling arcpy.mapping.CreateMapSDDraft() in your Python script?In regards to:How are you using the PNG in your web app? As a service, or using it directly as a PNG?If you add the shp file and the output PNG to ArcMap do they line up? My guess is that they wouldnt unless you add world_file=True.Can you describe what you are trying to accomplsih with this web app?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.