AnsweredAssumed Answered

ArcSDE and .NET MVC Application - Saving user provided shapefile?

Question asked by MollyKFoley on Sep 13, 2017
Latest reply on Sep 22, 2017 by MollyKFoley

I have very little experience with .NET (C#) and I'm wondering if it's possible to allow a user to upload their shapefile and then the back-end would save it to our ArcSDE database. We don't need to display their shapefile or do anything with mapping procedures, we literally just need them to upload their file and have it save to our database with all the geometry information (so I could open it up in ArcGIS for Desktop for instance). How would you go about doing something like that?


All we would need is the geometry, we would want to ignore anything the user may have put in the shapefile's attribute table. We'd populate the ArcSDE geodatabase with their shapefile geometry and their answers to the fields in the web application.


To be clear, here is a scenario: 

User has a polygon shapefile that represent buildings. The attribute table contains an attribute on whether it's residential or commercial property. There is a field in the web application in which they can attach and upload their shapefile. There are also fields where the user is asked the square footage of the building and it's street address. The end product would be an ArcSDE geodatabase containing the polygon geometry and only attributes of square footage and street address.