Changes between Version 5 and Version 6 of MapGuideRfc6
- Timestamp:
- 02/06/07 11:02:07 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc6
v5 v6 46 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 Here is a feature source containing a coordinate system override: 49 50 {{{ 51 <FeatureSource xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd"> 52 <Provider>OSGeo.SDF</Provider> 53 <Parameter> 54 <Name>File</Name> 55 <Value>%MG_DATA_FILE_PATH%CENTLINES.sdf</Value> 56 </Parameter> 57 <Parameter> 58 <Name>ReadOnly</Name> 59 <Value>TRUE</Value> 60 </Parameter> 61 <SupplementalSpatialContextInfo> 62 <Name>LL84</Name> 63 <CoordinateSystem>PROJCS["CANA83-3TM114",GEOGCS["CANA83-3TM114",DATUM["NAD 83",SPHEROID["GRS 80",6378137,298.25722210089],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees", 0.0174532925199433]],PROJECTION["Transverse Mercator"],PARAMETER["central_meridian", -114],PARAMETER["latitude_of_origin", 0],PARAMETER["scale_factor", 0.9999],PARAMETER["false_easting", 0],PARAMETER["false_northing", 0],UNIT["Meter", 1]]</CoordinateSystem> 64 </SupplementalSpatialContextInfo> 65 </FeatureSource> 66 }}} 67 68 69 48 70 == Implications == 49 71 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.72 If the !SupplementalSpatialContextInfo contains a spatial context with a coordinate system, then that is the coordinate system which will be used on the data. It will override any coordinate system contained in the data. This is the behaviour that will change. 51 73 52 For previous versions of the server, the !SupplementalSpatialContextInfo field is not used when the coordinate system is defined in the data.74 If the feature source does not contain a spatial context with a coordinate system, then the coordinate system contained in the data will be used. This behaviour is the same as before. 53 75 54 76 == Test Plan == 55 77 56 Add unit tests to testcoordinate system overrides.78 Add unit tests to verify behaviour of the coordinate system overrides. 57 79 58 80 == Funding/Resources ==