[mapguide-internals] Update for MapGuide RFC 12 - UnmanagedDataAPI Changes

Andy Morsell amorsell at spatialgis.com
Wed Feb 28 17:14:38 EST 2007


+1 Andy 


-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Tom
Fukushima
Sent: Wednesday, February 28, 2007 1:48 PM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] Update for MapGuide RFC 12 -
UnmanagedDataAPI Changes

Thanks Tony,

I motion to do accept this update.

+1 Tom

Thanks
Tom 

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Tony Fang
Sent: Wednesday, February 28, 2007 1:54 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] Update for MapGuide RFC 12 - Unmanaged DataAPI
Changes

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

_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals

_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals





More information about the mapguide-internals mailing list