Links and Resources
…
OpenGIS Abstract Specifications
Start with Topic 0 Overview -Introduction and roadmap to the Abstract specification.
It describes the common architecture for simple feature geometry. The base Geometry class has subclasses for Point, Curve, Surface and GeometryCollection. Each geometric object is associated with a Spatial Reference System, which describes the coordinate space in which the geometric object is defined. The extended Geometry model has specialized 0, 1 and 2-dimensional collection classes named MultiPoint, MultiLineString and MultiPolygon for modeling geometries corresponding to collections of Points, LineStrings and Polygons, respectively. MultiCurve and MultiSurface are introduced as abstract superclasses that generalize the collection interfaces to handle Curves and Surfaces.
3. XML
XML stands for eXtensible Markup Language. It was designed to store and transport data.
Make familiar yourself with XML. There are available XML tutorial and videos for beginners on youtube.
XML
- tags are not predefined like HTML tags are. It means the author must define both the tags and the document structure.
- stores data in plain text format. This provides a software- and hardware-independent way of storing, transporting, and sharing data.
- data in XML format can be available to all kinds of "reading machines" like people, computers, voice machines, news feeds, etc.
- does not carry any information about how to be displayed
XML documents that conform to the syntax rules are well formed XML documents.
An XML Schema describes the structure and the building blocks of an XML document. Read XML Schema Tutorial.
The XML Schema language is also referred to as XML Schema Definition (XSD). An XML document validated against an XML Schema is well formed and valid.
With XML Schema:
- XML files can carry a description of its own format.
- independent groups of people can agree on a standard for interchanging data.
- data can be verified
Elements in an .xsd schema have to be defined either as simpleTypes or complexTypes. A complex type supports attributes, empty content of the corresponding XML instance, and nested elements that may enforce a specific sequence of sub-elements.
An XML schema has the following properties
- It is extensible: a schema can be reused in other schemas; multiple schemas can be referenced in the same XML document; own data types can be created, based on the standard types
- It is written in XML. A XML schema file has the extension .xsd
- It supports data types
- It supports namespaces: a namespace declaration has the following syntax: xmlns:prefix=“URI”; it helps to solve name conflicting by using a prefix
XML documents can have a reference to an XML Schema.