Schema midas_spatial.xsd


schema location:  http://www.heritage-standards.org.uk/midas/schema/1.1/midas_spatial.xsd
targetNamespace:  http://www.heritage-standards.org/midas/schema/1.1
 
Elements  Simple types 
spatial  spatialtypes 


element spatial
diagram
namespace http://www.heritage-standards.org/midas/schema/1.1
properties
content complex
children place geometry representations
annotation
documentation 
Node for recording place and space information.

element spatial/place
diagram
properties
isRef 0
content complex
children address namedplace gridref geopolitical cadastral directions
annotation
documentation 
Primary MIDAS spatial element used to record attribute information about a spatial entity.

element spatial/place/address
diagram
properties
isRef 0
content complex
children country county city streetaddress postcode
annotation
documentation 
Element for internationally transferable postal references; its nodes are largely self explanatory. This is restricted to postal elements only, leaving other named places outside of the address 

element spatial/place/address/country
diagram
properties
isRef 0

element spatial/place/address/county
diagram
properties
isRef 0

element spatial/place/address/city
diagram
properties
isRef 0

element spatial/place/address/streetaddress
diagram
properties
isRef 0

element spatial/place/address/postcode
diagram
properties
isRef 0

element spatial/place/namedplace
diagram
properties
isRef 0
content complex
children location
annotation
documentation 
Empty element for recording custom or country specific representations that are neither postal nor cadastral. This has been left intentionally broad so as to accommodate all possible UK and international variants. The element itself is empty, and is comprised of repeatable 'location' nodes.  Use the 'type' attribute to qualify the type of location, such as "country" or "parish", and use the 'namespace' attribute to provide a context for the value, such as a specific database or gazetteer.

element spatial/place/namedplace/location
diagram
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
namespace        
type  required      

element spatial/place/gridref
diagram
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
namespace    OSGB36    
annotation
documentation 
Grid reference(s): string representations of place, e.g. "SU123456". The 'namespace' parameter provides context to the gridref: for example, "OSGB36" for the British grid.

element spatial/place/geopolitical
diagram
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
type  required      
namespace        
annotation
documentation 
Used to represent a geopolitical unit that does not fall within the 'address' element. In the UK, values would be "Scotland", "England", "Wales", and "Northern Ireland", while the 'type' attribute for these values would be "Country".

element spatial/place/cadastral
diagram
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
namespace  required      
annotation
documentation 
Used to identify place within the context of a specified cadastral namespace. In the UK, field numbers would be referenced as cadastral units. UK users are recommended to use the map title and year for the namespace when referring to field numbers taken from OS map sheets.

element spatial/place/directions
diagram
properties
isRef 0
annotation
documentation 
A 'free text' node included to accommodate directions to a place whose absolute position is unknown.

element spatial/geometry
diagram
properties
isRef 0
content complex
children boundingBox spatialappellation
annotation
documentation 
Used to record coordinate representations of spatial entities. For SRS use EPSG (http://www.epsg.org/) identifiers. 		Note that this element records a spatial entity using co-ordinate data, not an assigned name for that place, for which see 'appellation'.

element spatial/geometry/boundingBox
diagram
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
srs  required      
minx  required      
miny  required      
maxx  required      
maxy  required      
annotation
documentation 
Records the bounding polygon; repeatable for multiple SRS (spatial reference systems). Also sometimes called the MBR (Minimum Bounding Rectangle). The EPSG code shall be employed where available. This shall take the form of "EPSG:XXX", where "XXX" is the EPSG code for the referenced coordinate system; "none" shall be provided if the coordinate system is unreferenced.

element spatial/geometry/spatialappellation
diagram
properties
isRef 0
content complex
children quickpoint entity height capturemethod source
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:stringoptional      
annotation
documentation 
Defines a single conceptual representation of the monument. An appellation can be represented by one or more spatial entities, such as a number of lines, a point cluster, one or more polygons, etc. For example, the same site can be represented by two entities: a point and a polygon.

element spatial/geometry/spatialappellation/quickpoint
diagram
properties
isRef 0
content complex
children srs x y
annotation
documentation 
The element is designed to provide a convenient to record the centroid of the spatial appellation, or a coarse approximation of its location. While use of the entity/wtk element is encouraged, it is recognised that not all systems will be able to easily parse wtk notation. This element therefore acts as a 'shortcut', designed to hold a single coordinate pair representing all spatial entities within an appellation.

element spatial/geometry/spatialappellation/quickpoint/srs
diagram
properties
isRef 0

element spatial/geometry/spatialappellation/quickpoint/x
diagram
properties
isRef 0

element spatial/geometry/spatialappellation/quickpoint/y
diagram
properties
isRef 0

element spatial/geometry/spatialappellation/entity
diagram
properties
isRef 0
content complex
children wtk storedprecision deliveryprecision
attributes
Name  Type  Use  Default  Fixed  Annotation
spatialtype  midas:spatialtypesrequired      
documentation 
 This value shall be one of Geometry Object Classes specified in the OGIS Simple Feature Specification: Geometry; Geometry Collection; Point; MultiPoint; Curve; Linestring, Line, LinearRing; MultiCurve; MultiLineString; Surface; Polygon; MultiSurface; or MultiPolygon.
uri  required      
documentation 
 The unique identifier of the spatial entity, usually a TOID or a record identifier from a spatial database. This is not to be confused with the identifier for the monument or event being described.
namespace  required      
documentation 
 The namespace in which the uri is unique.
annotation
documentation 
This element stores the actual coordinate information, the precision of the data, and the precision at which it is delivered (if it differs from above). An appellation will often consist of multiple entities. Entities are repeatable and used to record various spatial representations of a single appellation.

element spatial/geometry/spatialappellation/entity/wtk
diagram
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
srs  required      
annotation
documentation 
Well Known Text (WTK) representation of entity. The WTK format is a common standard for the textual description of simple feature geometries.

element spatial/geometry/spatialappellation/entity/storedprecision
diagram
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
units  required      
annotation
documentation 
The precision at which the spatial data is stored. This is not to be confused with the precision of the data capture means or mechanism. The value shall be a number.

element spatial/geometry/spatialappellation/entity/deliveryprecision
diagram
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
units  required      
annotation
documentation 
The precision of delivered data, if different from stored precision. This node is included so that the end user can be informed of any spatial obfuscations that have been performed on the data before delivery.

element spatial/geometry/spatialappellation/height
diagram
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
datum  required      
units  required      
annotation
documentation 
Height of entity above datum.

element spatial/geometry/spatialappellation/capturemethod
diagram
properties
isRef 0
annotation
documentation 
Spatial data capture method: GPS, map, etc.

element spatial/geometry/spatialappellation/source
diagram
properties
isRef 0
annotation
documentation 
The spatial data source.

element spatial/representations
diagram
properties
isRef 0
content complex
children representation

element spatial/representations/representation
diagram
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
namespace        

simpleType spatialtypes
namespace http://www.heritage-standards.org/midas/schema/1.1
type restriction of xs:string
used by
attribute spatial/geometry/spatialappellation/entity/@spatialtype
facets
enumeration Geometry
enumeration Geometry Collection
enumeration Point
enumeration MultiPoint
enumeration Curve
enumeration Linestring
enumeration Line
enumeration LinearRing
enumeration MultiCurve
enumeration MultiLineString
enumeration Surface
enumeration Polygon
enumeration MultiSurface
enumeration MultiPolygon


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy