Changes between Version 5 and Version 6 of MapGuideRfc6


Ignore:
Timestamp:
Feb 6, 2007, 11:02:07 AM (17 years ago)
Author:
tonyfang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc6

    v5 v6  
    4646When 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.
    4747
     48Here 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
    4870== Implications ==
    4971
    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.
     72If 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.
    5173
    52 For previous versions of the server, the !SupplementalSpatialContextInfo field is not used when the coordinate system is defined in the data.
     74If 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.
    5375
    5476== Test Plan ==
    5577
    56 Add unit tests to test coordinate system overrides.
     78Add unit tests to verify behaviour of the coordinate system overrides.
    5779
    5880== Funding/Resources ==