Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have some point data which store as JSON.As follow: [["Lat":"12.12","Long":"23.23","ZValue":"123"],...].

I tried to interpolate them as contour line and displayed them on my website ? I do know how to interpolate data in ArcInfo,so I tried to publish a geoprocessing task and using ArcGIS JavaScript API to generate them but it failed to published to ArcServer.enter image description here

However,I search for a long time if there exits some other solution but found nothing about how to implement this.

Thanks for any suggestion!

share|improve this question
    
I also doubt geoprocessing task to handle my json data. –  Vent Lam Jun 28 '12 at 16:35

2 Answers 2

To publish your IDW raster, you have two options


Option1: This will require you to export your model builder into python code and work from there. Your steps will be

  1. Add the resulting IDW raster as a layer to a map document and save it
  2. Create a Service Definition Draft using the map document using arcpy.mapping.CreateMapSDDraft() method
  3. Next stage your SDDraft into a service definition file using arcpy.StageService_server() method
  4. Finally you need to upload the .sd file to a server. You will use arcpy.UploadServiceDefinition_server() method. For this you must create a server connection file (.ags)

The help link is: http://resources.arcgis.com/en/help/main/10.2/index.html#/An_overview_of_the_Publishing_toolset/00540000001q000000/


Option2 You can use the model builder to create output IDW rasters then use ArcGIS Desktop to publish it. This is not fully automated but a solution if you are not comfortable writing python scripts. The help for this is: http://resources.arcgis.com/en/help/main/10.2/index.html#/How_to_publish_a_service/0154000004n3000000/

share|improve this answer

you must create the interpolation surface then from catalog publish the .mxd contain the interpolation surface

share|improve this answer
    
Could you edit your post to expound upon this a bit and/or cite this information? –  Paul Apr 21 at 20:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.