nnavarro

Script To Load Shapefiles Into SDE

Discussion created by nnavarro on Jun 16, 2011
Latest reply on Jun 21, 2011 by nnavarro
I'm hoping someone has come across this scenario before and has a script developed that I can modify to work locally for me.

I have a bunch of shapefiles in a folder on the same server as SDE 10. I have a feature dataset setup with the feature classes named the same as each shapefile. The shapefiles in the folder get overwritten with new files every 4 hours since we are using the same names.

I need to have the shapefiles replace the feature classes at a predetermined schedule with the same names as the shapefiles. Even if it deletes all the existing feature classes within the dataset and creates them again from the shapefiles is fine. The connection to SDE is a direct connection.

If anyone can point me in the right direction it would be greatly appreciated.

Thanks in advance.

Nestor.

Outcomes