Changes between Version 3 and Version 4 of MapGuideRfc12


Ignore:
Timestamp:
Mar 2, 2007 2:09:10 PM (11 years ago)
Author:
tonyfang
Comment:

Update for RFC12

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc12

    v3 v4  
    220220Autodesk to supply the resources to make the required changes.
    221221
     222== Addendum ==
     223
     224For a feature source, an alias must be in the form:
     225%MG_DATA_PATH_ALIAS[alias]%
     226
     227This follows the existing conventions in the server for replacing text tags (e.g. %MG_DATA_FILE_PATH%). The server performance will be much better compared to using only [alias] as it will reduce the amount of potential false-positive hits while performing the alias re-mapping.
     228
     229Example:
     230{{{
     231<?xml version="1.0" encoding="utf-8"?>
     232<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     233xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     234xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
     235  <Provider>OSGeo.SDF</Provider>
     236  <Parameter>
     237    <Name>File</Name>
     238    <Value>%MG_DATA_PATH_ALIAS[alias1]%LIPOFGUTTER.sdf</Value>
     239  </Parameter>
     240  <Parameter>
     241    <Name>ReadOnly</Name>
     242    <Value>TRUE</Value>
     243  </Parameter>
     244</FeatureSource>
     245}}}
     246
     247 
     248For the !EnumerateUnamangedData API method, the "select" parameter should be renamed to "type". This follows the convention used by the other API methods.
     249
     250{{{
     251virtual !MgByteReader  * MgResourceService::!EnumerateUnmanagedData(CREFSTRING ''path'', bool ''recursive'', CREFSTRING ''type'', CREFSTRING ''filter'');
     252}}}
     253
     254
     255Here is the http signature for the !EnumerateUnmanagedData API:
     256{{{
     257OPERATION=ENUMERATEUNMANAGEDDATA
     258VERSION=1.0.0
     259PATH=
     260RECURSIVE=0
     261TYPE=Folders
     262FILTER=
     263}}}