Changes between Version 5 and Version 6 of MapGuideRfc106


Ignore:
Timestamp:
07/28/10 19:57:06 (14 years ago)
Author:
liuar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc106

    v5 v6  
    7171}}}
    7272
     73!HttpWfsGetFeatureType should be enhanced to obtain the output GML format and invoke the new API !DescribeWfsFeatureType with outputFormat parameter
     74
     75{{{
     76    void MgHttpWfsDescribeFeatureType::Execute(MgHttpResponse& hResponse)
     77    {
     78        ......
     79
     80        // Determine required output format
     81        CPSZ pszOutputFormat = Wfs.RequestParameter(MgHttpResourceStrings::reqWfsOutputFormat.c_str());
     82        STRING sOutputFormat = pszOutputFormat? pszOutputFormat : _("");
     83
     84        ......
     85       
     86        Ptr<MgByteReader> response  = pFeatureService->DescribeWfsFeatureType(&idResource,pFeatureClasses,sOutputFormat);
     87       
     88        ......
     89    }
     90}}}
     91
    7392'''2) Enhance the !GetFeature operation to support mutiple GML formats'''[[BR]]
    7493[[BR]]
     
    121140    virtual MgByteReader* GetWfsFeature(MgResourceIdentifier* featureSourceId, CREFSTRING featureClass,MgStringCollection* requiredProperties, CREFSTRING srs, CREFSTRING filter, INT32 maxFeatures, CREFSTRING outputFormat) = 0;
    122141}}}
     142
     143!HttpWfsGetFeature should be enhanced to obtain the output GML format and invoke the new API !GetWfsFeature with outputFormat parameter
     144
     145{{{
     146    void MgHttpWfsGetFeature::AcquireResponseData(MgOgcServer* ogcServer)
     147    {
     148        ......
     149
     150        STRING sOutputFormat = m_getFeatureParams->GetOutputFormat();
     151
     152        ......
     153       
     154       
     155       Ptr<MgByteReader> resultReader = featureService->GetWfsFeature(featureSourceId, ((sSchemaHash.size()==0) ? sClass : sSchemaHash + _(":") + sClass), requiredProperties, m_getFeatureParams->GetSrs(), filter, numFeaturesToRetrieve, sOutputFormat);
     156       
     157        ......
     158    }
     159}}}
    123160[[BR]]
    124161'''3) Handle axis orientation for particular coordinate systems[[BR]]'''