[mapguide-internals] Update for MapGuide RFC 12 - Unmanaged Data API Changes

Tony Fang tony.fang at autodesk.com
Wed Feb 28 15:54:06 EST 2007


Dearest PSC members,

I'd like to make the following updates to MapGuide RFC 12 - Unmanaged
Data API Changes.

http://trac.osgeo.org/mapguide/wiki/MapGuideRfc12



For a feature source, an alias must be in the form:
%MG_DATA_PATH_ALIAS[alias]%

This 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.

Example:

<?xml version="1.0" encoding="utf-8"?>
<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
  <Provider>OSGeo.SDF</Provider>
  <Parameter>
    <Name>File</Name>
    <Value>%MG_DATA_PATH_ALIAS[alias1]%LIPOFGUTTER.sdf</Value>
  </Parameter>
  <Parameter>
    <Name>ReadOnly</Name>
    <Value>TRUE</Value>
  </Parameter>
</FeatureSource>


 
For the EnumerateUnamangedData API method, the "select" parameter should
be renamed to "type". This follows the convention used by the other API
methods.

 

Here is the http signature for the EnumerateUnmanagedData API:

 OPERATION=ENUMERATEUNMANAGEDDATA
 VERSION=1.0.0
 PATH=
 RECURSIVE=0
 TYPE=Folders
 FILTER=






Thanks,
Tony Fang



More information about the mapguide-internals mailing list