Changes between Version 2 and Version 3 of MapGuideRfc77


Ignore:
Timestamp:
Jul 8, 2009, 11:01:14 PM (15 years ago)
Author:
leaf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc77

    v2 v3  
    2828== Motivation ==
    2929
    30 Currently method MgFeatureService::CreateFeatureSource() supports creating a SDF feature source only. It is really a limitation of Feature Service. This RFC will extend this method to support all file based feature sources.
     30Currently method MgFeatureService::!CreateFeatureSource() supports creating a SDF feature source only. It is really a limitation of Feature Service. This RFC will extend this method to support all file based feature sources.
    3131
    3232== Proposed Solution ==
    3333
    34 ==== MgFileFeatureSourceParams ====
    35 
    36 A new class MgFileFeatureSourceParams is added to represent parameters which are used to create a file-based feature source. The existing class MgCreateSdfParams inherits from it. Previously MgCreateSdfParams inherits from virtual base class MgFeatureSourceParams directly as shown in the following picture.
    37 
    38 The class definition of MgFileFeatureSourceParams is as follows.
     34==== !MgFileFeatureSourceParams ====
     35
     36A new class !MgFileFeatureSourceParams is added to represent parameters which are used to create a file-based feature source. The existing class !MgCreateSdfParams inherits from it. Previously !MgCreateSdfParams inherits from virtual base class !MgFeatureSourceParams directly as shown in the following picture.
     37
     38The class definition of !MgFileFeatureSourceParams is as follows.
    3939
    4040{{{
     41///////////////////////////////////////////////
    4142/// \brief
    42 /// Contains the parameters used to create an file-based feature source.
     43/// Contains the parameters used to create an file-based
     44/// feature source.
    4345///
    4446class MgFileFeatureSourceParams : public MgFeatureSourceParams
     
    4850    /// \brief
    4951    /// Constructs an empty MgFileFeatureSourceParams object.
    50 ///
    51 /// The FDO provider name of the feature source.
     52    ///
     53    /// The FDO provider name of the feature source.
    5254    /// \param spatialContextName (String/string)
    5355    MgFileFeatureSourceParams (CREFSTRING providerName);
    5456   
    5557    ///////////////////////////////////////////////
    56 ///brief
     58    ///brief
    5759    /// Constructs an MgFileFeatureSourceParams object with the supplied
    58 /// parameters.
     60    /// parameters.
    5961    /// \param providerName (String/string)
    60 /// FDO provider name of the feature source to be created.
     62    /// FDO provider name of the feature source to be created.
    6163    /// \param spatialContextName (String/string)
    62 /// The name of the spatial context. This is a user defined spatial
    63 /// context for the file feature source.
     64    /// The name of the spatial context. This is a user defined spatial
     65    /// context for the file feature source.
    6466    /// \param srsWkt (String/string)
    65 /// An OGC WKT string representing the coordinate system for the file
    66 /// feature source.
     67    /// An OGC WKT string representing the coordinate system for the file
     68    /// feature source.
    6769    /// \param featureSchema (MgFeatureSchema)
    6870    /// The schema definition for the file feature source.
     
    7173    /// Returns nothing.
    7274    ///
    73 MgFileFeatureSourceParams (
    74 CREFSTRING providerName,
    75 CREFSTRING spatialContextName,
    76 CREFSTRING srsWkt,
    77 MgFeatureSchema* featureSchema);
     75    MgFileFeatureSourceParams (
     76        CREFSTRING providerName,
     77        CREFSTRING spatialContextName,
     78        CREFSTRING srsWkt,
     79        MgFeatureSchema* featureSchema);
    7880
    7981    ///////////////////////////////////////////////
     
    8183    /// Gets the FDO provider name of the feature source.
    8284    ///
    83    /// \return
     85    /// \return
    8486    /// Returns the FDO provider name of the feature source.
    8587    ///
    8688    virtual STRING GetProviderName();  /// __get
    87     ///////////////////////////////////////////////
    88     /// \brief
    89 /// Gets the file name to be created or the folder name where files are created.
    90     ///
    91    /// \return
     89
     90    ///////////////////////////////////////////////
     91    /// \brief
     92    /// Gets the file name to be created or the folder name where files are created.
     93    ///
     94    /// \return
    9295    /// Returns the file name to be created or the folder name where files are created.
    9396    ///