<div dir="ltr"><br><div><p class="gmail-font-claude-response-body gmail-break-words gmail-whitespace-normal gmail-leading-[1.7]" style="box-sizing:border-box;margin:0px;padding:0px 0px 1em;border:0px;outline:0px;font-size:16px;vertical-align:baseline;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;color:rgb(0,0,0);font-family:Lato,Helvetica,Arial,Lucida,sans-serif">You’ve been here before. A vendor delivers a file geodatabase as part of a contracted project and you need to verify what they built before signing off. Your predecessor leaves the agency and you inherit an enterprise geodatabase connection and a folder of half-documented projects. Another department hands off a dataset for an upcoming data-sharing agreement, or your manager asks for an inventory of the GIS holdings for an open data initiative. The first question is always the same: what’s in this thing?</p><p class="gmail-font-claude-response-body gmail-break-words gmail-whitespace-normal gmail-leading-[1.7]" style="box-sizing:border-box;margin:0px;padding:0px 0px 1em;border:0px;outline:0px;font-size:16px;vertical-align:baseline;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;color:rgb(0,0,0);font-family:Lato,Helvetica,Arial,Lucida,sans-serif">For ten feature classes, clicking through the Catalog pane is fine. For a hundred, it’s tedious. For an enterprise geodatabase with feature datasets, subtypes, domains, and relationship classes, manual inspection stops being a reasonable use of your time. And once you’ve inspected it, you have nothing to share with your team, nothing to attach to a project record, and nothing to compare against next quarter when you suspect something has changed.</p><p class="gmail-font-claude-response-body gmail-break-words gmail-whitespace-normal gmail-leading-[1.7]" style="box-sizing:border-box;margin:0px;padding:0px 0px 1em;border:0px;outline:0px;font-size:16px;vertical-align:baseline;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;color:rgb(0,0,0);font-family:Lato,Helvetica,Arial,Lucida,sans-serif">This article walks through a reusable (and downloadable) ArcPy script that produces a complete inventory of any geodatabase: workspace metadata, feature datasets and their spatial references, every feature class and table with record counts, fields with their types and properties, domains, subtypes, and relationship classes. The output goes to the console and a CSV (or Markdown) report you can drop straight into agency documentation.</p><p class="gmail-font-claude-response-body gmail-break-words gmail-whitespace-normal gmail-leading-[1.7]" style="box-sizing:border-box;margin:0px;padding:0px 0px 1em;border:0px;outline:0px;font-size:16px;vertical-align:baseline;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;color:rgb(0,0,0);font-family:Lato,Helvetica,Arial,Lucida,sans-serif">I’ll build it up one layer at a time, explaining the choices along the way, then present the consolidated script at the end. The goal is for you to understand each piece well enough to adapt it — most working GIS analysts end up with their own version of this utility eventually, and you might as well start from a good base.</p><p class="gmail-font-claude-response-body gmail-break-words gmail-whitespace-normal gmail-leading-[1.7]" style="box-sizing:border-box;margin:0px;padding:0px 0px 1em;border:0px;outline:0px;font-size:16px;vertical-align:baseline;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;color:rgb(0,0,0);font-family:Lato,Helvetica,Arial,Lucida,sans-serif"><a href="https://geospatialtraining.com/know-your-geodatabase-a-reusable-arcpy-inspection-script/">Read the entire article.</a></p></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Eric Pimpler<div>President/Owner</div><div>Geospatial Training Services</div><div>215 W Bandera #114-104</div><div>Boerne, TX 78006</div><div><a href="http://geospatialtraining.com" target="_blank">http://geospatialtraining.com</a></div><div>Twitter - @gistraining</div><div>Instagram - @eric_pimpler</div><div><a href="https://www.youtube.com/channel/UCBsovhqqh9xWnuTESkQdtkg" target="_blank">YouTube</a></div><div><a href="mailto:eric@geospatialtraining.com" target="_blank">eric@geospatialtraining.com</a></div><div>210-260-4992</div><div><img width="200" height="79" src="https://ci3.googleusercontent.com/mail-sig/AIorK4zH0t7YckIWXbK74Fcnz4OoIAPMMnKkeioKrH037kPtxGmWK37uZQScakRvnDdUKHWjoF10hoU"><br></div><div><br></div></div></div></div></div></div>