Download presentation
Presentation is loading. Please wait.
1
XML and Geodesy: A SOPAC Perspective Paul Jamason, Scripps Orbit and Permanent Array Center IGS Analysis Center Conference, Miami, June 2008
2
XML and Geodesy: A SOPAC Perspective SOPAC Participants Director: Yehuda Bock GPS Analysts: Peng Fang Linette Prawirodirdjo Programmers: Ruey-Juin Chang Paul Jamason Ian MacLeod Melinda Squibb System Administrator: George Wadsworth
3
XML and Geodesy: A SOPAC Perspective XML: An Overview XML: eXtensible Markup Language Framework for sharing structured data Hierarchical tree-like structure Extensible: users define their own elements and documents by extending base types Encode data via element names/attributes (self-describing format) XML schemas Validation: reduce publication of errors Translate XML documents (instances) to a variety of formats via stylesheets
4
XML and Geodesy: A SOPAC Perspective XML Example: siteOffsets.xml ldes ldes0000 1999-10-16T00:00:00 co-seismic Hector Mine EQ north 178.287 2.361 -- SNIP -- http://garner.ucsd.edu/pub/gamit/setup/siteOffsets.xml
5
XML and Geodesy: A SOPAC Perspective XSD Example: siteOffsets.xsd <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://sopac.ucsd.edu/geodesy" xmlns:geod="http://sopac.ucsd.edu/geodesy" xmlns:gen="http://sopac.ucsd.edu/general" elementFormDefault="qualified" version="1.0.2" xml:lang="en"> <xsd:import namespace="http://sopac.ucsd.edu/general" schemaLocation="http://sopac.ucsd.edu/ns/general/1.0.0/descriptors/spatialDescriptors.xsd"/> --SNIP-- <xsd:element name="offsetComponentMagnitude" type="geod:offsetComponentMagnitudeType" minOccurs="1" maxOccurs="3"/>
6
XML and Geodesy: A SOPAC Perspective XML: (Dis)Advantages Advantages Set of standards for representing data; speak a common data language Validation reduces publication of errors Field formatting Limit valid entries (e.g., receiver/antenna types) Existing software: XML schema creation XML instance validation XSLT transformation Disadvantages Size Speed (validation) Additional work Difficult to visually interpret XML Schema creation can be unpleasant Not for large data files
7
XML and Geodesy: A SOPAC Perspective XML and Geodesy: Relevant Standards Open Geospatial Community (OGC): Geographic Markup Language (GML) http://www.opengeospatial.org/standards Observation Collections Filter Encoding Dublin Core Metadata Initiative (DCMI) Document-related Classify dates/files/services/creators Geodesy Standard? Define a set of xml schemas with core spatial, temporal, nominal parameters, and extend them
8
XML and Geodesy: A SOPAC Perspective Geodesy XML Candidates Metadata-oriented IGS site logs Processing setup files Processing software front-ends (e.g., GAMIT) Bluebooking - NGS geodetic data submission OrbitML (GMV) - spacecraft flight parameters RINEX, SINEX headers
9
XML and Geodesy: A SOPAC Perspective XML: Supporting Software XML parsers/transformation software available in variety of languages Java Perl - Xerces FORTRAN - xmlf90; xmlfortran XML schema generation software oxygenML for Eclipse Java class generation XMLBeans
10
XML and Geodesy: A SOPAC Perspective XML and Geodesy at SOPAC: IGS Site Logs Overview: http://sopac.ucsd.edu/projects/xml
11
Sample XML IGS Site Log <igsSiteLog xmlns="http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/2004" xmlns:mi="http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/monumentInfo/2004" xmlns:equip="http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/equipment/2004" xsi:schemaLocation="http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/2004 http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/2004/igsSiteLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> Scripps 5 - Mt. Soledad SIO5 40460M006 La Jolla California USA -2456115.13 -4768905.79 3439232.44 +325024.00 -1171500.00 185.53 ASHTECH Z-XII3 GPS LP02814 CD00 2002-05-15T00:00Z 2003-01-09T00:00Z ASH701945B_M CR519991867 BPA 0.0083 2002-05-15T00:00Z 2004-09-29T00:00Z
12
XML and Geodesy: A SOPAC Perspective XML and Geodesy at SOPAC Time Series Plotting GPS analysis input Historical equipment information Site motion model terms - apriori coords Phase center information GPS coordinate data submission/querying GML Observation Collections GML Filter Encoding GPS time series offsets
13
XML and Geodesy: A SOPAC Perspective XML and Geodesy: Conclusion SOPAC: support IGS/INDIGO via XML site log implementation Widely used in other fields Encapsulate, control, validate metadata Appeal to IT staffs
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.