Tell me more ×
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 got a python to update a file geodatabase (*.gdb).

Every time the code executes, it needs to check if a certain layer has been already there in the previous geodatabase; if so, delete it and create a new one; otherwise, overwrite it with a new one.

I am just wondering if I can achieve this by ArcToolBox or a python code?

Thanks

Alex

share|improve this question
5  
Can we see your code so far? What you describe sounds straightforward, using Python if statement with arcpy.Exists and arcpy.CreateFeatureclass_management, so it would be useful to see where you are stuck. – PolyGeo Jul 23 '12 at 6:30

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.