Sunday, May 11, 2014

How to Publish Shape file on ArcGIS server

How to Publish Shape file on ArcGIS server


This tutorial will guide you in publishing shape file on ArcGIS server. This is a basic introduction to ArcGIS server, i am going to publish a single shape file on ArcGIS server.

Well upto this point i assume that you have ArcGIS server installed and ready to use.
(For connecting ArcGIS server to ArcCatalog click here)

Talking about professional approach you need to open shape file from data base but for this tutorial a single basic shape fill will be enough.

Now, Open ArcGIS for Desktop (ArcMap) and Add shape file 



Go to file, Share As, and click Service

Click Publish a service



Click next, and Choose a connection 
" arcgis for local host_6080 (admin) "
and then rename the service

Choose "use existing folder" (if you want to publish on the same folder i.e. root)

Now, Service Editor will be opened, here you'll set the properties of service to be published. (e.g. Type of service, No of Instances, Description, Tags, etc. )

Click on Analyze, It'll show the warnings (ignore these warnings as this is for the basic purpose whereas for publishing for a project a professional purpose Remember Each and every warning is important) and now click publish.



Now click Publish.
Now open http://localhost:6080/arcgis/rest/services and You'll se your shape file there.

Shape file is published . Now for adding it to any API (Google Map Api use its address)
http://localhost:6080/arcgis/rest/services/Test_Service/MapServer





No comments:

Post a Comment