Kim Sundeen
GIS Programmer Analyst, MN Power, MN
work: 218-355-2836218-355-2836
work: ksundeen [at] mnpower.com
personal: kim.h.sundeen [at] gmail.com
@KSundeen
Isn't it obvious?
What are obstacles to simplifying process?
from FGDC's "Institutionalize Metadata Before It Institutionalizes You" (2005)
Obstacle | Potential Solution |
---|---|
Metadata standards are too extensive & difficult to implement | Create metadata templates |
Metadata production requires time & other resources |
Identify benefits to individuals who create metadata: 1. Reduced data management workload; 2. Better knowledge of distribution/sharing limitations; 3. Performance measures |
Few tangible benefits & incentives to produce metadata. | Technical staff know the data, but management establishes new policies/procedures & allocates resources for policies. "Therefore, those inspired to integrate metadata production must champion an effort to educate administrators." |
Philosophical discussions of new & future policies aside...
let's simplify how to document EXISTING GIS layers.
arcpy: http://pro.arcgis.com/en/pro-app/arcpy/get-started/what-is-arcpy-.htm
python-docx: http://python-docx.readthedocs.io/en/latest/index.html
arcpy_metadata: https://github.com/ucd-cws/arcpy_metadata
openpyxl: http://openpyxl.readthedocs.io/en/default/
Use Windows cmd to navigate to directory where pip was installed.
Then follow instructions to install python packages...
Sometimes doesn't work; try easy install method
>pip install python-docx
>easy_install python-docx
How about creating a Word doc formatted using your existing metadata?
How about allowing GIS users to update Word doc/Excel doc instead of any metadata editor?
How about importing updates of Word doc/Excel doc metadata back into Esri's metadata editor?
1) Export attribute, domain, subtype, counts, field metadata for review in Excel
2) Export existing metadata into MS Word document for reviewing, updating, & entering new metadata into the Word doc
Provides printed version of metadata
3) (Future Addition) - take the newly updated MS Word / Excel file metadata & import directly into Esri's metadata editor.
Offers simple way for multiple users to review & correct metadata.
Automates import into metadata editor fields.
1) Export attribute, domain, subtype, counts, field metadata for review in Excel
Iterating through FC Fields
1) Export attribute, domain, subtype, counts, field metadata for review in Excel
Iterating through Subtypes
1) Export attribute, domain, subtype, counts, field metadata for review in Excel
Iterating through Domains
1) Export attribute, domain, subtype, counts, field metadata for review in Excel
Getting FC Field Value Counts
1) Export attribute, domain, subtype, counts, field metadata for review in Excel
Initial csv output
1) Export attribute, domain, subtype, counts, field metadata for review in Excel
then just DATA ->Text to Columns -> Delimited -> Separate by ';'
2) Export existing metadata into MS Word document for reviewing, updating, & entering new metadata into the Word doc
Provides printed version of metadata
Formatting output Word Objects
2) Export existing metadata into MS Word document for reviewing, updating, & entering new metadata into the Word doc
Provides printed version of metadata
Creating Bullet Points for GIS Dataset Names
3a) (Future Addition) take the newly updated MS Word doc's metadata and import it directly into Esri's metadata editor.
Offers simple way for multiple users to review & correct metadata.
Automates import into metadata editor fields.
3b) (Future Addition) or take updated information from Excel & import into metadata editor.
3a) (Future Addition) take the newly updated MS Word doc's metadata and import it directly into Esri's metadata editor.
Using python's arcpy_metadata module
3b) (Future Addition) or take updated information from Excel & import into metadata editor.
Using python's openpyxl module