Reputation: 385
I have recently started to familiarize with ArcGIS. Reading tile layers seems pretty straight forward. However, I would like to ingest my own PNG imagery files and read them through a web service call programmatically using either Java or Python. I have not been able to find a straight solution.
I have a system that generates PNG images. I would like to programmatically call the ArcGIS server web service API to ingest the PNG images into a layer as tiles and at the same time add the tiles to a cache. Which API/service call will support this operation? I will appreciate either a high level explanation of steps or a detailed explanation.
Upvotes: 0
Views: 691
Reputation: 7635
You could use a python script published as a geoprocessing service and use the REST API to call the images from your web application.
arcpy.getParameter
) and parse it to go take the correct images in the correct folder, and serve it as output (arcpy.SetParameter
)Upvotes: 1
Reputation: 1387
Well if the png imagery are georeferenced then you could create a rasterdataset from them and create a ImageService. For more details on how to create Image service please look at the below link. http://server.arcgis.com/en/server/10.3/publish-services/windows/key-concepts-for-image-services.htm
Upvotes: 0