Changes between Version 4 and Version 5 of MapGuideRfc6
- Timestamp:
- 02/06/07 10:25:43 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc6
v4 v5 23 23 == Overview == 24 24 25 The coordinate systems of the data can be overridden by specifying an entry in the SupplementalSpatialContextInfo of the feature source. 25 In the feature source, there is an optional tag called !SupplementalSpatialContextInfo. This can contain a !SpatialContextType defining a coordinate system override. If an entry exists for a given Spatial Context, then the specified coordinate system override will be used. The coordinate system override will be given preference over the coordinate system defined in the data. 26 27 Previously, the !SupplementalSpatialContextInfo was intended for data containing spatial contexts with undefined coordinate systems. The !SupplementalSpatialContextInfo would allow a coordinate system to be specified for a given spatial context. The !SupplementalSpatialContextInfo can now be used to override coordinate systems for all spatial contexts in a feature source -- regardless of whether it contains a coordinate system or not. 26 28 27 29 == Motivation == 28 30 29 In the feature source, there is an optional tag called SupplementalSpatialContextInfo. This can contain a SpatialContextType defining a coordinate system override. If an entry exists for a given Spatial Context, then the specified coordinate system override will be used. The coordinate system override will be given preference over the coordinate system defined in the data. 30 31 Previously, the SupplementalSpatialContextInfo was intended for data containing spatial contexts with undefined coordinate systems. The SupplementalSpatialContextInfo would allow a coordinate system to be specified for a given spatial context. The SupplementalSpatialContextInfo can now be used to override coordinate systems for all spatial contexts in a feature source -- regardless of whether it contains a coordinate system or not. 31 If a feature source geometry contains an incorrect coordinate system or does not have a coordinate system defined, this provides a convenient way to change the coordinate system without having to change the data of the feature source. 32 32 33 33 == Proposed Solution == 34 34 35 The schema FeatureSource-1.0.0.xsd does not change.SupplementalSpatialContextInfo already exists in the schema. The schema documentation will be updated to reflect the new behaviour in the server.35 The schema !FeatureSource-1.0.0.xsd does not change. !SupplementalSpatialContextInfo already exists in the schema. The schema documentation will be updated to reflect the new behaviour in the server. 36 36 37 37 {{{ … … 44 44 }}} 45 45 46 When the server returns the data for a given feature source. it will check for entries in the SupplementalSpatialContextInfo. If there is a spatial context containing a coordinate system override, then that is the coordinate system used for the data.46 When the server returns the data for a given feature source. it will check for entries in the !SupplementalSpatialContextInfo. If there is a spatial context containing a coordinate system override, then that is the coordinate system used for the data. 47 47 48 48 == Implications == 49 49 50 SupplementalSpatialContextInfo is an optional field. If the feature source does not contain an override, then the server will use the coordinate system contained in the data.50 !SupplementalSpatialContextInfo is an optional field. If the feature source does not contain an override, then the server will use the coordinate system contained in the data. 51 51 52 For previous versions of the server, the SupplementalSpatialContextInfo field is not used when the coordinate system is defined in the data.52 For previous versions of the server, the !SupplementalSpatialContextInfo field is not used when the coordinate system is defined in the data. 53 53 54 54 == Test Plan ==