Select to view content in your preferred language

Inheriting another's workspace

582
3
03-15-2024 02:27 PM
Labels (2)
ThomasHoman
Frequent Contributor

Hello all,

I recently had the opportunity to consult with another agency on their GIS program after someone left. Opening projects to try understand things became tedious after the first few so put together 2 quick notebook routines to a) open all file geodatabases and provide a quick inventory and b) open up every project and inventory maps and layouts. Both write to a delimited text field so I can pull into excel and evaluate.

I thought maybe they might be useful to someone else so figured I would share.

Regards,

Tom

 

3 Replies
ODWC_GIS
Frequent Contributor

I hadn't realized such a script could be so compact, nor that glob could be used to search filepaths with wildcards!  "\**\*.aprx"  Thank you so Much!!

Found an external site (for Geeks) that helped me read more: How to use Glob() function to find files recursively in Python? - GeeksforGeeks

0 Kudos
ODWC_GIS
Frequent Contributor

"\**\*.sde" also works!

You don't know how much you helped me out, here!!

0 Kudos
ODWC_GIS
Frequent Contributor

Would you be willing to add this to the Shared Code repository?  ArcGIS Code Sharing

Just mark it as a "Code Sample," and share it with Everybody.

0 Kudos