Geometry Correction on shapefiles

421
1
06-06-2014 03:14 AM
SurajKoneri
New Contributor II
Hi All,


I have published one geoprocessing service on my ArcGIS server manager 10.2, for correcting the geometry of any shapefiles.

Meanwhile, developed application using ASP.NET and ArcGIS API for JavaScript. Flow of the application is as given below,

1. Users will upload shapefiles to the application with upload file control
2. These shape files (with .shp, .dbf and .shx) will be copied to server
3. Once it is copied .shp file, javascript function triggerGP will be called with .shp file path as argument
4. triggerGP function calls geoprocessor task passing this .shp file path as input path.

i am able to pass input parameter to geoprocessing task, but i am getting below error.

ERROR 000314: in_memory\{6E458FA5-3C99-4A2A-80C0-86A4D5C3F006} is not a Shapefile or a feature class in a Personal or File Geodatabase.
ERROR 000314: in_memory\{6E458FA5-3C99-4A2A-80C0-86A4D5C3F006} is not a Shapefile or a feature class in a Personal or File Geodatabase.


i know geometry task takes .shp, feature class or .lyr as input.

Please help me how can i give .shp file content to gp task on from Javascript or C#.

Kindly reply here if you need more information on this to clarify me.

Thanks.
0 Kudos
1 Reply
SurajKoneri
New Contributor II
Please someone help here 😞
0 Kudos