<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-2022-jp">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
code
        {font-family:"Courier New";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I’ve updated the RFC with the drive
mappings suggestion. Any feedback on the returned list of drive mappings (using
square brackets on the drive mapping name) would be appreciated.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>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. <o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>For
windows, it may look like this: <o:p></o:p></span></font></p>

<p><code><font size=2 face="Courier New"><span style='font-size:10.0pt'>[Unmanaged
Data Mappings]</span></font></code><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<code><font face="Courier New">SomeSdfFiles = c:\mydata\sdf</font></code><br>
<code><font face="Courier New">Some Shp Files = d:\otherdata\shp</font></code><br>
<code><font face="Courier New">BigArseImages = \\some_other_machine\data\images</font></code><br>
<code><font face="Courier New">Some </font></code></span></font><code><font
size=2 face=SimSun><span lang=ZH-CN style='font-size:10.0pt;font-family:SimSun'>很大中文</span></font></code><code><font
size=2 face="Courier New"><span style='font-size:10.0pt'> DwfFiles = c:\mydata\</span></font></code><code><font
size=2 face=SimSun><span lang=ZH-CN style='font-size:10.0pt;font-family:SimSun'>很大中文</span></font></code><code><font
size=2 face="Courier New"><span style='font-size:10.0pt'>Dwf</span></font></code><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
</span></font><code><font size=2 face=SimSun><span lang=ZH-CN style='font-size:
10.0pt;font-family:SimSun'>大き</span></font></code><code><font size=2
face="Courier New"><span style='font-size:10.0pt'>sdf = c:\mydata\bigsdf </span></font></code><o:p></o:p></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>For
linux, it may look like this: <o:p></o:p></span></font></p>

<p><code><font size=2 face="Courier New"><span style='font-size:10.0pt'>[Unmanaged
Data Mappings]</span></font></code><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<code><font face="Courier New">SomeSdfFiles = /usr/mydata/sdf</font></code><br>
<code><font face="Courier New">Some Shp Files = /usr/otherdata/shp</font></code><br>
<code><font face="Courier New">BigArseImages =
/mnt/some_other_machine/data/images</font></code><br>
<code><font face="Courier New">Some </font></code></span></font><code><font
size=2 face=SimSun><span lang=ZH-CN style='font-size:10.0pt;font-family:SimSun'>很大中文</span></font></code><code><font
size=2 face="Courier New"><span style='font-size:10.0pt'> DwfFiles =
/usr/mydata/</span></font></code><code><font size=2 face=SimSun><span
lang=ZH-CN style='font-size:10.0pt;font-family:SimSun'>很大中文</span></font></code><code><font
size=2 face="Courier New"><span style='font-size:10.0pt'>Dwf</span></font></code><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
</span></font><code><font size=2 face=SimSun><span lang=ZH-CN style='font-size:
10.0pt;font-family:SimSun'>大き</span></font></code><code><font size=2
face="Courier New"><span style='font-size:10.0pt'>sdf = /usr/mydata/bigsdf </span></font></code><o:p></o:p></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>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. <o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>We will
add API methods to return the unmanaged data mappings, set the mappings, and
also verify that the mappings are valid and accessible. <o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>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. <o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>A
returned list from all available drive mappings may look like this: <o:p></o:p></span></font></p>

<p><code><font size=2 face="Courier New"><span style='font-size:10.0pt'>[SomeSdfFiles]world.sdf</span></font></code><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<code><font face="Courier New">[Some Shp Files]ecuador.shp</font></code><br>
<code><font face="Courier New">[Some </font></code></span></font><code><font
size=2 face=SimSun><span lang=ZH-CN style='font-size:10.0pt;font-family:SimSun'>很大中文</span></font></code><code><font
size=2 face="Courier New"><span style='font-size:10.0pt'> DwfFiles]large.dwf</span></font></code><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<code><font face="Courier New">[Some </font></code></span></font><code><font
size=2 face=SimSun><span lang=ZH-CN style='font-size:10.0pt;font-family:SimSun'>很大中文</span></font></code><code><font
size=2 face="Courier New"><span style='font-size:10.0pt'>
DwfFiles]subdir/Big.dwf</span></font></code><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<code><font face="Courier New">[</font></code></span></font><code><font size=2
face=SimSun><span lang=ZH-CN style='font-size:10.0pt;font-family:SimSun'>大き</span></font></code><code><font
size=2 face="Courier New"><span style='font-size:10.0pt'>sdf]reallybig.sdf </span></font></code><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Tony<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> <st1:PersonName w:st="on">Robert Bray</st1:PersonName>
[mailto:rbray@robertbray.net] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, November 03, 2006
9:05 AM<br>
<b><span style='font-weight:bold'>To:</span></b> dev@mapguide.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [mapguide-dev]
Unmanaged Data APIs RFC</span></font><font color=black><span style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Jason,<br>
<br>
Good questions. In addition I think it would make sense / be highly desirable
for all RFCs that add or modify APIs to include more detail with respect to
those changes. It would be nice to see the actual API function signatures for
example.<br>
<br>
Bob<br>
<br>
<br>
Jason Birch wrote: <o:p></o:p></span></font></p>

<pre wrap=""><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'>That would be cool.&nbsp; That way we can have a theme, and a nested hierarchy within that theme if we need the complexity.&nbsp; Are we restricted to single-word mappings, or will spaces be supported?&nbsp; ASCII characters only or full internationalisation?<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>What about schema changes?&nbsp; Will there be a way of updating the repository's knowledge of unmanaged data schemae?&nbsp; Or are these maybe cached on a session basis like the RDBMS schemae?<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>There would also need to be a method that allows the author UIs to validate resources that reference unmanaged data sources, to make sure that any dependancies (properties, maptips, themes, etc) are still valid, and give a graphical indication when the world slips.<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Jason<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>________________________________<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>From: <st1:PersonName
w:st="on">Robert Bray</st1:PersonName> [<a href="mailto:rbray@robertbray.net">mailto:rbray@robertbray.net</a>]<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Sent: Thu 2006-11-02 10:46 PM<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>To: <a
href="mailto:dev@mapguide.osgeo.org">dev@mapguide.osgeo.org</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Subject: Re: [mapguide-dev] Unmanaged Data APIs RFC<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>I too am concerned this will make data management hard for people with lots of data / multiple projects. It might be better to dedicate a section in serverconfig.ini to define path mappings as follows:<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>[Path Mappings]<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>SomeSdfFiles = &lt;some path&gt;<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>SomeShpFiles = &lt;some other path&gt;<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>BigArseImages = &lt;path to SAN disk&gt;<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>...<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>In Studio / Web Studio the user would be presented the list of path mappings. Once they select a path mapping they can browse all files and folders below that path.<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>My 2 cents...<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Bob<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>--------------------------------------------------------------------- To unsubscribe, e-mail: <a
href="mailto:dev-unsubscribe@mapguide.osgeo.org">dev-unsubscribe@mapguide.osgeo.org</a> For additional commands, e-mail: <a
href="mailto:dev-help@mapguide.osgeo.org">dev-help@mapguide.osgeo.org</a> <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>&nbsp;&nbsp;<o:p></o:p></span></font></pre><pre
wrap=""><font size=2 color=black face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre style='text-align:center'><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>

<hr size=4 width="90%" align=center>

</span></font></pre><pre><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>---------------------------------------------------------------------<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>To unsubscribe, e-mail: <a
href="mailto:dev-unsubscribe@mapguide.osgeo.org">dev-unsubscribe@mapguide.osgeo.org</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>For additional commands, e-mail: <a
href="mailto:dev-help@mapguide.osgeo.org">dev-help@mapguide.osgeo.org</a><o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mapguide.osgeo.org
For additional commands, e-mail: dev-help@mapguide.osgeo.org