<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki-Tonyfang</id>
	<title>OSGeo - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki-Tonyfang"/>
	<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/wiki/Special:Contributions/Wiki-Tonyfang"/>
	<updated>2026-04-13T09:19:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=File:AddUnmanagedData.JPG&amp;diff=10730</id>
		<title>File:AddUnmanagedData.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=File:AddUnmanagedData.JPG&amp;diff=10730"/>
		<updated>2007-01-17T21:50:08Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=File:EditUnmanagedData.JPG&amp;diff=10729</id>
		<title>File:EditUnmanagedData.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=File:EditUnmanagedData.JPG&amp;diff=10729"/>
		<updated>2007-01-17T21:49:13Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: MapGuide RFC 12&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MapGuide RFC 12&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=File:ConfigureUnmanagedData.JPG&amp;diff=10728</id>
		<title>File:ConfigureUnmanagedData.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=File:ConfigureUnmanagedData.JPG&amp;diff=10728"/>
		<updated>2007-01-17T21:47:51Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10172</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10172"/>
		<updated>2006-12-18T22:54:23Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| --[[User:Tonyfang|Tonyfang]] 18:34, 18 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Dec 18, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories. This section can be edited using the Server Admin API.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[UnmanagedDataMappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[UnmanagedDataMappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the administrator to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
For cross platform compatibilities (i.e. Linux only supports ‘/’s while Windows supports both ‘/’s and ‘\’s), pathnames referenced in XML documents should always contain forward slashes (‘/’s) instead of backward slashes (‘\’s).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The following API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''mappingName'', CREFSTRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' specifies which mapping to use to return the unmanaged data. When set to empty string, it will use all mappings.&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. When set to empty string, it will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. -1 to search all depths, 0 to search only the top level, 1 to search 1 level, 2 to search 2 levels, etc. &lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing only the mapping names.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
* Add webtier test pages which use the new API methods.&lt;br /&gt;
* Add unit tests which test the new API methods.&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10169</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10169"/>
		<updated>2006-12-18T17:34:29Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| --[[User:Tonyfang|Tonyfang]] 18:34, 18 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Dec 18, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories. This section can be edited using the Server Admin API.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the administrator to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
For cross platform compatibilities (i.e. Linux only supports ‘/’s while Windows supports both ‘/’s and ‘\’s), pathnames referenced in XML documents should always contain forward slashes (‘/’s) instead of backward slashes (‘\’s).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''mappingName'', CREFSTRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' specifies which mapping to use to return the unmanaged data. When set to empty string, it will use all mappings.&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. When set to empty string, it will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. -1 to search all depths, 0 to search only the top level, 1 to search 1 level, 2 to search 2 levels, etc. &lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing only the mapping names.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
* Add webtier test pages which use the new API methods.&lt;br /&gt;
* Add unit tests which test the new API methods.&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10168</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10168"/>
		<updated>2006-12-18T17:32:25Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Test Plan */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| --[[User:Tonyfang|Tonyfang]] 20:46, 12 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Dec 18, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories. This section can be edited using the Server Admin API.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the administrator to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
For cross platform compatibilities (i.e. Linux only supports ‘/’s while Windows supports both ‘/’s and ‘\’s), pathnames referenced in XML documents should always contain forward slashes (‘/’s) instead of backward slashes (‘\’s).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''mappingName'', CREFSTRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' specifies which mapping to use to return the unmanaged data. When set to empty string, it will use all mappings.&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. When set to empty string, it will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. -1 to search all depths, 0 to search only the top level, 1 to search 1 level, 2 to search 2 levels, etc. &lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing only the mapping names.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
* Add webtier test pages which use the new API methods.&lt;br /&gt;
* Add unit tests which test the new API methods.&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10099</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10099"/>
		<updated>2006-12-12T19:46:02Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| --[[User:Tonyfang|Tonyfang]] 20:46, 12 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories. This section can be edited using the Server Admin API.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
For cross platform compatibilities (i.e. Linux only supports ‘/’s while Windows supports both ‘/’s and ‘\’s), pathnames referenced in XML documents should always contain forward slashes (‘/’s) instead of backward slashes (‘\’s).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''mappingName'', CREFSTRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' specifies which mapping to use to return the unmanaged data. When set to empty string, it will use all mappings.&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. When set to empty string, it will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. -1 to search all depths, 0 to search only the top level, 1 to search 1 level, 2 to search 2 levels, etc. &lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing only the mapping names.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10098</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=10098"/>
		<updated>2006-12-12T19:45:19Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Technical */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| --[[User:Tonyfang|Tonyfang]] 20:14, 8 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories. This section can be edited using the Server Admin API.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
For cross platform compatibilities (i.e. Linux only supports ‘/’s while Windows supports both ‘/’s and ‘\’s), pathnames referenced in XML documents should always contain forward slashes (‘/’s) instead of backward slashes (‘\’s).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''mappingName'', CREFSTRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' specifies which mapping to use to return the unmanaged data. When set to empty string, it will use all mappings.&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. When set to empty string, it will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. -1 to search all depths, 0 to search only the top level, 1 to search 1 level, 2 to search 2 levels, etc. &lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing only the mapping names.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9999</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9999"/>
		<updated>2006-12-08T19:14:15Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| --[[User:Tonyfang|Tonyfang]] 20:14, 8 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories. This section can be edited using the Server Admin API.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
For cross platform compatibilities (i.e. Linux only supports ‘/’s while Windows supports both ‘/’s and ‘\’s), pathnames referenced in XML documents should always contain forward slashes (‘/’s) instead of backward slashes (‘\’s).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''mappingName'', CREFSTRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' specifies which mapping to use to return the unmanaged data. When set to empty string, it will use all mappings.&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. When set to empty string, it will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. -1 to search all depths, 0 to search only the top level, 1 to search 1 level, 2 to search 2 levels, etc. &lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing only the mapping names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual STRING MgResourceService::GetUnmanagedDataMapping(CREFSTRING ''mappingName''); &lt;br /&gt;
&lt;br /&gt;
Returns the unmanaged data mapping value. &lt;br /&gt;
&lt;br /&gt;
'''Parameters:''' &lt;br /&gt;
&lt;br /&gt;
''mappingName'' is the mapping name. &lt;br /&gt;
&lt;br /&gt;
'''Returns:''' &lt;br /&gt;
&lt;br /&gt;
Returns the unmanaged data mapping value.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9984</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9984"/>
		<updated>2006-12-08T00:00:10Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| --[[User:Tonyfang|Tonyfang]] 01:00, 8 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
For cross platform compatibilities (i.e. Linux only supports ‘/’s while Windows supports both ‘/’s and ‘\’s), pathnames referenced in XML documents should always contain forward slashes (‘/’s) instead of backward slashes (‘\’s).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''mappingName'', CREFSTRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' specifies which mapping to use to return the unmanaged data. When set to empty string, it will use all mappings.&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. When set to empty string, it will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. -1 to search all depths, 0 to search only the top level, 1 to search 1 level, 2 to search 2 levels, etc. &lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing only the mapping names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(CREFSTRING ''mappingName'', CREFSTRING ''mappingValue'');&lt;br /&gt;
&lt;br /&gt;
Sets the unmanaged data mapping. If the mapping does not exist, it adds it. If it does exist, it will set it to the new path.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''mappingValue'' is the mapping path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual STRING MgResourceService::GetUnmanagedDataMapping(CREFSTRING ''mappingName''); &lt;br /&gt;
&lt;br /&gt;
Returns the unmanaged data mapping value. &lt;br /&gt;
&lt;br /&gt;
'''Parameters:''' &lt;br /&gt;
&lt;br /&gt;
''mappingName'' is the mapping name. &lt;br /&gt;
&lt;br /&gt;
'''Returns:''' &lt;br /&gt;
&lt;br /&gt;
Returns the unmanaged data mapping value.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9983</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9983"/>
		<updated>2006-12-07T23:59:08Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 23:50, 6 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
For cross platform compatibilities (i.e. Linux only supports ‘/’s while Windows supports both ‘/’s and ‘\’s), pathnames referenced in XML documents should always contain forward slashes (‘/’s) instead of backward slashes (‘\’s).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''mappingName'', CREFSTRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' specifies which mapping to use to return the unmanaged data. When set to empty string, it will use all mappings.&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. When set to empty string, it will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. -1 to search all depths, 0 to search only the top level, 1 to search 1 level, 2 to search 2 levels, etc. &lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing only the mapping names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(CREFSTRING ''mappingName'', CREFSTRING ''mappingValue'');&lt;br /&gt;
&lt;br /&gt;
Sets the unmanaged data mapping. If the mapping does not exist, it adds it. If it does exist, it will set it to the new path.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mappingName'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''mappingValue'' is the mapping path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual STRING MgResourceService::GetUnmanagedDataMapping(CREFSTRING ''mappingName''); &lt;br /&gt;
&lt;br /&gt;
Returns the unmanaged data mapping value. &lt;br /&gt;
&lt;br /&gt;
'''Parameters:''' &lt;br /&gt;
&lt;br /&gt;
''mappingName'' is the mapping name. &lt;br /&gt;
&lt;br /&gt;
'''Returns:''' &lt;br /&gt;
&lt;br /&gt;
Returns the unmanaged data mapping value.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9971</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9971"/>
		<updated>2006-12-06T23:03:39Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Technical */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 23:50, 6 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. Empty string will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(CREFSTRING ''mapping'', CREFSTRING ''path'');&lt;br /&gt;
&lt;br /&gt;
Sets the unmanaged data mapping. If the mapping does not exist, it adds it. If it does exist, it will set it to the new path.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mapping'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''path'' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9970</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9970"/>
		<updated>2006-12-06T22:57:15Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Implications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 23:50, 6 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. Empty string will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING ''mapping'', STRING ''path'');&lt;br /&gt;
&lt;br /&gt;
Sets the unmanaged data mapping. If the mapping does not exist, it adds it. If it does exist, it will set it to the new path.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mapping'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''path'' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
API documentation will need to be updated.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9968</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9968"/>
		<updated>2006-12-06T22:51:24Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 23:50, 6 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. Empty string will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING ''mapping'', STRING ''path'');&lt;br /&gt;
&lt;br /&gt;
Sets the unmanaged data mapping. If the mapping does not exist, it adds it. If it does exist, it will set it to the new path.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mapping'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''path'' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9967</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9967"/>
		<updated>2006-12-06T22:50:21Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| --[[User:Tonyfang|Tonyfang]] 23:50, 6 December 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. Empty string will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING ''mapping'', STRING ''path'');&lt;br /&gt;
&lt;br /&gt;
Sets the unmanaged data mapping. If the mapping does not exist, it adds it. If it does exist, it will set it to the new path.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mapping'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''path'' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9966</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9966"/>
		<updated>2006-12-06T22:48:43Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Technical */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER, FOLDER. Empty string will return all data types. FOLDER returns a list of subfolders.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING ''mapping'', STRING ''path'');&lt;br /&gt;
&lt;br /&gt;
Sets the unmanaged data mapping. If the mapping does not exist, it adds it. If it does exist, it will set it to the new path.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mapping'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''path'' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9965</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9965"/>
		<updated>2006-12-06T22:39:03Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Technical */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
Enumerates the available unmanaged data from the server.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER. Empty string will return all data types.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
Enumerates the unmanaged data mappings.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING ''mapping'', STRING ''path'');&lt;br /&gt;
&lt;br /&gt;
Sets the unmanaged data mapping. If the mapping does not exist, it adds it. If it does exist, it will set it to the new path.&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mapping'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''path'' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9964</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9964"/>
		<updated>2006-12-06T22:33:48Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Technical */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER. Empty string will return all data types.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING ''mapping'', STRING ''path'');&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mapping'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''path'' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9963</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9963"/>
		<updated>2006-12-06T22:33:12Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Technical */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING ''dataTypeFilter'', INT32 ''depth'');&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER. Empty string will return all data types.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING ''mapping'', STRING ''path'');&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mapping'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''path'' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9962</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9962"/>
		<updated>2006-12-06T22:32:19Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Technical */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING dataTypeFilter, INT32 depth);&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''dataTypeFilter'' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER. Empty string will return all data types.&lt;br /&gt;
&lt;br /&gt;
''depth'' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING mapping, STRING path);&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&lt;br /&gt;
''mapping'' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
''path'' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
'''Returns:'''&lt;br /&gt;
&lt;br /&gt;
Returns nothing.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9961</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9961"/>
		<updated>2006-12-06T22:27:28Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
The folllowing API functions will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING dataTypeFilter, INT32 depth);&lt;br /&gt;
&lt;br /&gt;
'''dataTypeFilter''' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER. Empty string will return all data types.&lt;br /&gt;
&lt;br /&gt;
'''depth''' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
EnumerateUnmanagedData returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
EnumerateUnmanagedDataMappings returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING mapping, STRING path);&lt;br /&gt;
&lt;br /&gt;
'''mapping''' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
'''path''' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9960</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9960"/>
		<updated>2006-12-06T22:26:12Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A new API function will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING dataTypeFilter, INT32 depth);&lt;br /&gt;
&lt;br /&gt;
'''dataTypeFilter''' is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER. Empty string will return all data types.&lt;br /&gt;
&lt;br /&gt;
'''depth''' is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
EnumerateUnmanagedData returns an MgStringCollection containing the available unmanaged data files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedDataMappings();&lt;br /&gt;
&lt;br /&gt;
EnumerateUnmanagedDataMappings returns an MgStringCollection containing the mappings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
virtual void MgResourceService::SetUnmanagedDataMapping(STRING mapping, STRING path);&lt;br /&gt;
&lt;br /&gt;
'''mapping''' is the mapping name.&lt;br /&gt;
&lt;br /&gt;
'''path''' is the mapped path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9959</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9959"/>
		<updated>2006-12-06T22:15:36Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A new API function will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING dataTypeFilter, INT32 depth);&lt;br /&gt;
&lt;br /&gt;
dataTypeFilter is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER. Empty string will return all data types.&lt;br /&gt;
&lt;br /&gt;
depth is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9958</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9958"/>
		<updated>2006-12-06T22:15:10Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A new API function will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING dataTypeFilter, INT32 depth);&lt;br /&gt;
dataTypeFilter is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER. Empty string will return all data types.&lt;br /&gt;
depth is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9957</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9957"/>
		<updated>2006-12-06T22:14:32Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A new API function will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING dataTypeFilter, INT32 depth);&lt;br /&gt;
&lt;br /&gt;
dataTypeFilter is a filter on the returned data. E.g. SHP, SDF, DWF, RASTER. Empty string will return all data types.&lt;br /&gt;
&lt;br /&gt;
depth is how many levels of subfolders it should search for data. 0 to search all subfolders, 1 to search only the top-level, 2 to search down one subfolder, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9955</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9955"/>
		<updated>2006-12-06T19:28:17Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A new API function will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData(STRING dataTypeFilter, INT32 depth);&lt;br /&gt;
&lt;br /&gt;
dataTypeFilter is a filter on the returned data. E.g. SHP, SDF, DWF. Empty string will return all data types.&lt;br /&gt;
&lt;br /&gt;
depth is how many levels of subfolders it should search for data. 0 corresponds to the top level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9954</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9954"/>
		<updated>2006-12-06T18:25:52Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A new method will be added to the Resource Service:&lt;br /&gt;
&lt;br /&gt;
virtual MgStringCollection * MgResourceService::EnumerateUnmanagedData();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9947</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9947"/>
		<updated>2006-12-05T22:47:57Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9734</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9734"/>
		<updated>2006-11-29T09:40:03Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EnumerateUnmanagedData''' is called to return a list of available unmanaged data files. It takes the following parameters:&lt;br /&gt;
&lt;br /&gt;
OPERATION = EnumerateUnmanagedData&lt;br /&gt;
&lt;br /&gt;
VERSION = 1&lt;br /&gt;
&lt;br /&gt;
FILETYPE = &amp;lt;return specific file type e.g. SHP, DWF, ECW or blank for all types&amp;gt; (defaults to blank)&lt;br /&gt;
&lt;br /&gt;
MAPPING = &amp;lt;return unmanaged data files from a specific drive mapping or blank to return data from all drive mappings&amp;gt; (defaults to blank)&lt;br /&gt;
&lt;br /&gt;
DEPTH = &amp;lt;the depth of subdirectories to search for data files or 0 for no limit&amp;gt; (defaults to 0)&lt;br /&gt;
&lt;br /&gt;
It returns a list of available unmanaged data files. They will be prefaced with the drive mappings surrounded by square brackets.&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9733</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9733"/>
		<updated>2006-11-29T09:34:41Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EnumerateUnmanagedData''' is called to return a list of available unmanaged data files. It takes the following parameters:&lt;br /&gt;
&lt;br /&gt;
OPERATION = EnumerateUnmanagedData&lt;br /&gt;
&lt;br /&gt;
VERSION = 1&lt;br /&gt;
&lt;br /&gt;
DATATYPE = SHP, DWF, ECW, or blank for all types (defaults to blank)&lt;br /&gt;
&lt;br /&gt;
DEPTH = &amp;lt;the depth of subdirectories to search for data files&amp;gt; (defaults to 0 which means there is no limit)&lt;br /&gt;
&lt;br /&gt;
It returns a list of available unmanaged data files. They will be prefaced with the drive mappings surrounded by square brackets.&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9732</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9732"/>
		<updated>2006-11-29T04:57:18Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 05:57, 29 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The server will not be locked down such that it is restricted to those files in the Unmanaged Data Mappings. In other words, this means that a feature source can still reference a file that is not in one of the subdirectories specified by the mappings. The reason we don't have to restrict to those subdirectories is because we can use the operating system's or network's built-in security to limit access to files. It will be dependent upon the user to allow access to the files in the Unmanaged Data Mappings,&lt;br /&gt;
otherwise they won't be very useful. Thus manually created unmanaged features sources and those created by webstudio will continue to work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9731</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9731"/>
		<updated>2006-11-28T21:17:54Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Technical */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 00:30, 28 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Technical==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9730</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9730"/>
		<updated>2006-11-27T23:31:02Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 00:30, 28 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Implications=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9729</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9729"/>
		<updated>2006-11-27T23:30:29Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
=Status=&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!RFC Template Version&lt;br /&gt;
|(1.0) &lt;br /&gt;
|-&lt;br /&gt;
!Submission Date&lt;br /&gt;
|1 November 2006&lt;br /&gt;
|-&lt;br /&gt;
!Last Modified&lt;br /&gt;
| [[User:Tonyfang|Tonyfang]] 00:30, 28 November 2006 (CET)&lt;br /&gt;
|-&lt;br /&gt;
!Author&lt;br /&gt;
|Tony Fang&lt;br /&gt;
|-&lt;br /&gt;
!RFC Status&lt;br /&gt;
|draft&lt;br /&gt;
|-&lt;br /&gt;
!Implementation Status&lt;br /&gt;
|pending&lt;br /&gt;
|-&lt;br /&gt;
!Proposed Release Target&lt;br /&gt;
|1.2&lt;br /&gt;
|-&lt;br /&gt;
!Assigned PSC guide(s)&lt;br /&gt;
|(when determined)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 |&lt;br /&gt;
{| style=&amp;quot;text-align:left&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;left&amp;quot; |'''Voting History'''&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Date&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+1&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |+0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-0&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; |-1&lt;br /&gt;
|-&lt;br /&gt;
|Nov 17, 2006&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;color: red;&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
=Motivation=&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
=Proposed Solution=&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きい　ｓｄｆ = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きい　ｓｄｆ]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=Funding/Resources=&lt;br /&gt;
&lt;br /&gt;
Autodesk to supply the resources to make the required changes.&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9320</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9320"/>
		<updated>2006-11-04T00:37:03Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 01:07, 4 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names. You may enumerate all files from all the available drive mappings, or you may select a single drive mapping.&lt;br /&gt;
&lt;br /&gt;
A returned list from all available drive mappings may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きsdf]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9319</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9319"/>
		<updated>2006-11-04T00:27:41Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 01:07, 4 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server machine. The files will be prefaced with their mapping names.&lt;br /&gt;
&lt;br /&gt;
A returned list may look something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きsdf]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9318</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9318"/>
		<updated>2006-11-04T00:22:41Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 01:07, 4 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the mapping names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
A returned list may look something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きsdf]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9317</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9317"/>
		<updated>2006-11-04T00:21:43Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 01:07, 4 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory mappings will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Mappings]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the alias names. Spaces in the mappings are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged data mappings, set the mappings, and also verify that the mappings are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
A returned list may look something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きsdf]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9316</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9316"/>
		<updated>2006-11-04T00:18:00Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 01:07, 4 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory aliases will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Aliases]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Aliases]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きsdf = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the alias names. Spaces in the aliases are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged drive aliases, set the aliases, and also verify that the aliases are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
A returned list may look something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大な sdf]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9315</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9315"/>
		<updated>2006-11-04T00:13:38Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 01:07, 4 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory aliases will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Aliases]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きなsdf = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For linux, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Aliases]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = /usr/mydata/sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = /usr/otherdata/shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = /mnt/some_other_machine/data/images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = /usr/mydata/很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きなsdf = /usr/mydata/bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the alias names. Spaces in the aliases are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged drive aliases, set the aliases, and also verify that the aliases are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
A returned list may look something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きな sdf]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9314</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9314"/>
		<updated>2006-11-04T00:09:41Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 01:07, 4 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory aliases will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Aliases]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きなsdf = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the alias names. Spaces in the aliases are also supported. Square brackets [ and ] are not allowed. They are reserved characters for the serverconfig.ini section titles.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged drive aliases, set the aliases, and also verify that the aliases are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
A returned list may look something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]large.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きな sdf]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9313</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9313"/>
		<updated>2006-11-04T00:07:44Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 01:07, 4 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory aliases will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Aliases]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きなsdf = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the alias names. Spaces in the aliases are also supported. Square brackets [ and ] are not allowed.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged drive aliases, set the aliases, and also verify that the aliases are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
A returned list may look something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きな sdf]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9312</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9312"/>
		<updated>2006-11-04T00:07:19Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 01:07, 4 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Directories accessible by the server machine can be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. A new section defining directory aliases will be used to specify the unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
For windows, it may look like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[Unmanaged Data Aliases]&amp;lt;br&amp;gt;&lt;br /&gt;
SomeSdfFiles = c:\mydata\sdf&amp;lt;br&amp;gt;&lt;br /&gt;
Some Shp Files = d:\otherdata\shp&amp;lt;br&amp;gt;&lt;br /&gt;
BigArseImages = \\some_other_machine\data\images&amp;lt;br&amp;gt;&lt;br /&gt;
Some 很大中文 DwfFiles = c:\mydata\很大中文Dwf&amp;lt;br&amp;gt;&lt;br /&gt;
大きなsdf = c:\mydata\bigsdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unicode characters are supported in the alias names. Spaces in the aliases are also supported. Square brackets [ and ] are not allowed.&lt;br /&gt;
&lt;br /&gt;
We will add API methods to return the unmanaged drive aliases, set the aliases, and also verify that the aliases are valid and accessible.&lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
A returned list may look something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[SomeSdfFiles]world.sdf&amp;lt;br&amp;gt;&lt;br /&gt;
[Some Shp Files]ecuador.shp&amp;lt;br&amp;gt;&lt;br /&gt;
[Some 很大中文 DwfFiles]subdir/Big.dwf&amp;lt;br&amp;gt;&lt;br /&gt;
[大きな sdf]reallybig.sdf&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9271</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9271"/>
		<updated>2006-11-02T23:34:21Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
 This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 00:34, 3 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, certain directories on the server machine will be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Certain directories on the server machine will be specified to be unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. We will add a new property to General Properties called UnmanagedDataPaths. Multiple paths will be semi-colon delimited. We will also update the GetServerInfo API method to return this information. &lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9269</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9269"/>
		<updated>2006-11-02T23:32:53Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Motivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
 This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, certain directories on the server machine will be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Certain directories on the server machine will be specified to be unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in directories which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. We will add a new property to General Properties called UnmanagedDataPaths. Multiple paths will be semi-colon delimited. We will also update the GetServerInfo API method to return this information. &lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9265</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9265"/>
		<updated>2006-11-02T23:16:53Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Motivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
 This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, certain directories on the server machine will be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Certain directories on the server machine will be specified to be unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For security reasons we do not want to allow the API to return data files in direcotries which are not specified. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. We will add a new property to General Properties called UnmanagedDataPaths. Multiple paths will be semi-colon delimited. We will also update the GetServerInfo API method to return this information. &lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9255</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9255"/>
		<updated>2006-11-02T21:36:13Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Motivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
 This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, certain directories on the server machine will be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Certain directories on the server machine will be specified to be unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories and subdirectories specified by the server. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. We will add a new property to General Properties called UnmanagedDataPaths. Multiple paths will be semi-colon delimited. We will also update the GetServerInfo API method to return this information. &lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9254</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9254"/>
		<updated>2006-11-02T21:34:14Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Motivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
 This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, certain directories on the server machine will be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Certain directories on the server machine will be specified to be unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The API will only enumerate data files contained in the directories specified by the server. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. We will add a new property to General Properties called UnmanagedDataPaths. Multiple paths will be semi-colon delimited. We will also update the GetServerInfo API method to return this information. &lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9251</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9251"/>
		<updated>2006-11-02T21:13:20Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Proposed Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
 This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, certain directories on the server machine will be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Certain directories on the server machine will be specified to be unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The enumerate API will only enumerate data files contained in the directories specified by the server. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. We will add a new property to General Properties called UnmanagedDataPaths. Multiple paths will be semi-colon delimited. We will also update the GetServerInfo API method to return this information. &lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the full paths to the unmanaged data files available on the server machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9250</id>
		<title>MapGuide RFC 2 - Unmanaged Data APIs</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=MapGuide_RFC_2_-_Unmanaged_Data_APIs&amp;diff=9250"/>
		<updated>2006-11-02T20:15:21Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Tonyfang: /* Motivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
 This page contains an change request (RFC) for MapGuide Open Source.  &lt;br /&gt;
 More MapGuide RFCs can be found on the [[MapGuide RFCs]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
&lt;br /&gt;
*Submission Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Last Modified Date: 21:26, 1 November 2006 (CET)&lt;br /&gt;
*Author: Tony Fang [[User:Tonyfang|Tonyfang]] &lt;br /&gt;
*RFC Status: draft&lt;br /&gt;
*Implementation Status: pending&lt;br /&gt;
*Voting History:&lt;br /&gt;
*Assigned PSC guide(s):&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Managed data is data contained inside the server's data repository. Unmanaged data is any data outside of the server's data repository.&lt;br /&gt;
&lt;br /&gt;
We want to add server/web functionality and APIs which will allow Studio to create feature sources from unmanaged data. To accomplish this, certain directories on the server machine will be specified as unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files from the specified unmanaged data directories.&lt;br /&gt;
&lt;br /&gt;
WebStudio can also make use of these APIs to create unmanaged feature sources.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
&lt;br /&gt;
When Studio is used to create a feature source (e.g. using Load Procedure), the data files (e.g. sdf, shp, raster, dwf, odbc) are uploaded to the server's repository (managed data). This is not an issue when the data files are small. If Studio and Server are on the same machine, this uploading is an unnecessary duplication of the data file. If the data file is really large, the copying is slow and it consumes unnecessary hard-drive space.&lt;br /&gt;
&lt;br /&gt;
Currently, a feature source which references unmanaged data can be created. But it must be done manually. The exact path to the data file on the server machine must be known. Then the Feature Source XML must be manually edited and uploaded to the server via the web tier. This is a cumbersome process.&lt;br /&gt;
&lt;br /&gt;
We want to automate this workaround in Studio. To do this, additional APIs and functionality will be added to the server/web. Certain directories on the server machine will be specified to be unmanaged data directories. APIs will be added which will enumerate the available unmanaged data files. Thus direct access to the server machine's file system will no longer be required. Creation of unmanaged data feature sources can now be created remotely.&lt;br /&gt;
&lt;br /&gt;
The enumerate API will only enumerate data files contained in the directories specified by the server. For windows, specified directories can be physical drives or network paths. For linux, it can be any accessible path.&lt;br /&gt;
&lt;br /&gt;
===Funding/Resources===&lt;br /&gt;
&lt;br /&gt;
Tony Fang will be the resource to implement the changes outlined in this RFC.&lt;br /&gt;
&lt;br /&gt;
===Proposed Changes===&lt;br /&gt;
&lt;br /&gt;
The proposed changes are open for discussion.&lt;br /&gt;
&lt;br /&gt;
The server's unmanaged data directories will be specified using the serverconfig.ini. We will add a new property to General Properties called UnmanagedDataPaths. Multiple paths will be semi-colon delimited. We will also update the GetServerInfo API method to return this information. &lt;br /&gt;
&lt;br /&gt;
We will add an API to enumerate the unmanaged data files available on the server. It will return the fully qualified path to the file on the server machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Technical====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Implications===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Wiki-Tonyfang</name></author>
	</entry>
</feed>