Upload
una
View
38
Download
2
Tags:
Embed Size (px)
DESCRIPTION
METADATA. Legibilis. How to Feel Around in the Dark. … while the quality of content is paramount, its measure and utility can be hampered by a format that is not transparent or intuitive …. Metadata Legibilis. - PowerPoint PPT Presentation
Citation preview
How to Feel Around in the Dark
LegibilisMETADATA
SCOPEMetadata Legibilis
… while the quality of content is paramount, its measure and utility can be hampered by a format that is not transparent or intuitive …
• LOJIC was forced to re-engineer Esri’s ArcGIS Metadata style sheet to maintain its established standard.
• This discussion discusses the experiences, technologies, tools and lessons encountered during the process.
BACKGROUNDMetadata Legibilis
• First phase of a two phase project with the goal of creating a more robust search engine to cull through our metadata library and display results in a standardized format.
• Phase 1 – Develop a metadata style to handle standardization of format
• Phase 2 – Develop a more robust search engine to search and retrieve metadata on public facing website
CUSTOM METADATA STYLESHEETMetadata Legibilis
• Why? The primary concern was to have metadata results that were easier to navigate and to have a consistent display for both web and ArcGIS desktop
• What? A style sheet is a predefined style with which to display metadata. It is technically a composite of files.
• Where? The files in question are located in the Metadata folder in the ArcGIS 10 program folder.
RESOURCESHow to Feel Around in the Dark
• ArcGIS Metadata Toolkit• Environmental Protection Agency (EPA) style sheets and website• W3Schools (.com)• StackOverflow (.com)• FGDC Plus (.xsl) stylesheet
TOOLSHow to Feel Around in the Dark
• Web development software• Microsoft Visual Web Developer• Adobe Dream Weaver• etc.
• XML software• XML Notepad
MARKUP & SCRIPTSHow to Feel Around in the Dark
• Hyper Text Markup Language (HTML)• Cascading Style Sheets (CSS)• Javascript
XXXXX
XXXXXML
SL
SLT
Path
Query
MARKUPS & SCRIPTThe code above is taken from the ArcGIS.xsl file. This code tests for title content in the source XML and , if the test result is true, it displays the title.
HTML
HTML
CSS
XSLT
XPath
FILES & FILE STRUCTUREHow to Feel Around in the Dark
FILES & FILE STRUCTUREFiles located completely within the rectangle represent system files used to process the XML input file according to the customized style for HTML display of metadata.
T
CFG
T
T
T
FILES & FILE STRUCTUREThis illustration simply plugs the actual files found in the system folder into the archetype model, to make it the representation a little more tangible.
T
WAKE UP!!!
FILES & FILE STRUCTURE: ArcGIS.xslThis file is the primary file for displaying and transforming metadata. It essentially tests for the most basic information regarding metadata style type, calls on all the XSLT files for processing XML and displays the data as HTML.
XSLT: Imports all relevant XSLT files from ArcGIS_Imports folder
XSLT: Creates variables pertaining to Each metadata style using Xpath
HTML
Calls on scripts
Tests for specific elements for each style
Based on style – creates a collapsible/expandable icon Calls on specific template depending on style
FILES & FILE STRUCTURE : general.xsltThis file is composed of all the essential CSS, scripting and XSLT which manage the font styles, collapsible/expandable nodes and the rules for handling different data types.
1. Establishes all CSS rules for all elements of metadata display.(template name = “styles”)
2. Holds all the scripting code to facilitate hide/show functionality of metadata display.(template name = “scripts”)
3. Using XSLT, it tests for various data types and sets rules for processing style and display.
4. Using XSLT, it tests for the various dataelements in an effort to call on element names from Esri resource files
CONSIDERATIONSHow to Feel Around in the Dark
• How much time do I have to devote to learning the additional technologies?
• Esri provides little to no support on stylesheet customization.
• ArcGIS Metadata standard is designed for internal storage of metadata as it is used in ArcGIS software, therefore it is proprietary and subject to change at Esri’s discretion. How does this affect maintenance ?
• Custom style sheets require compatibility with ArcGIS, Explorer, Firefox, Opera, Chrome, XML Spy, etc.
ENDNow that the lights are on…