I have searched all over for a simple example of creating a Web Map on AGS using the REST API from python. I can authenticate and create a folder, however I have been unable to see a complete example which creates a web map comprised of a raster image, polygon and point layers. Can someone point me in the right direction?
Thanks, Jack
Wes,
Thanks for your reply. Unfortunately I may have not made myself clear. The example you pointed me to shows how to create a client application that uses feature services to display the data to the user. I want to actually publish/create the feature services. I have a legacy application that contains raster and vector data. I want to programmatically read that data, convert it into some format (e.g. shapefiles) and then create/publish that data as a service that can be used by a client application.
Thanks, Jack
I think it would be useful to create MXDs with the layer compilations as required for your services - see these posts
Then you can publish the MXDs with Python too.