<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=us-ascii">
<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="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h4
        {margin-top:1.5pt;
        margin-right:0in;
        margin-bottom:1.5pt;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:11.0in 8.5in;
        margin:1.0in .8in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<table class=MsoNormalTable border=0 cellpadding=0>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='margin-bottom:15.0pt;text-align:center'><i><font
  size=1 color=black face=Verdana><span style='font-size:9.0pt;font-family:
  Verdana;color:black;font-style:italic'>Article ID:<o:p></o:p></span></font></i></p>
  </td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal style='margin-bottom:15.0pt'><font size=1 color=black
  face=Verdana><span style='font-size:9.0pt;font-family:Verdana;color:black'>25577<o:p></o:p></span></font></p>
  </td>
 </tr>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='margin-bottom:15.0pt;text-align:center'><i><font
  size=1 color=black face=Verdana><span style='font-size:9.0pt;font-family:
  Verdana;color:black;font-style:italic'>Software:<o:p></o:p></span></font></i></p>
  </td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal style='margin-bottom:15.0pt'><font size=1 color=black
  face=Verdana><span style='font-size:9.0pt;font-family:Verdana;color:black'>&nbsp;<b><span
  style='font-weight:bold'>ArcSDE</span></b> 8.3, 9.0, 9.1, 9.2<o:p></o:p></span></font></p>
  </td>
 </tr>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='margin-bottom:15.0pt;text-align:center'><i><font
  size=1 color=black face=Verdana><span style='font-size:9.0pt;font-family:
  Verdana;color:black;font-style:italic'>Platforms:<o:p></o:p></span></font></i></p>
  </td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal style='margin-bottom:15.0pt'><font size=1 color=black
  face=Verdana><span style='font-size:9.0pt;font-family:Verdana;color:black'>N/A<o:p></o:p></span></font></p>
  </td>
 </tr>
</table>

<h4 style='background:white;vertical-align:top'><b><font size=2 color=black
face=Verdana><span style='font-size:9.5pt;font-family:Verdana'>Question<o:p></o:p></span></font></b></h4>

<p class=MsoNormal style='background:white;vertical-align:top'><font size=2
color=black face=Verdana><span style='font-size:9.5pt;font-family:Verdana;
color:black'>Can ArcSDE command line tools be used to load data into a Feature
Dataset?<o:p></o:p></span></font></p>

<p class=MsoNormal style='background:white;vertical-align:top'><font size=2
color=black face=Verdana><span style='font-size:9.5pt;font-family:Verdana;
color:black'><o:p>&nbsp;</o:p></span></font></p>

<h4 style='background:white;vertical-align:top'><b><font size=2 color=black
face=Verdana><span style='font-size:9.5pt;font-family:Verdana'>Answer<o:p></o:p></span></font></b></h4>

<p class=MsoNormal style='background:white;vertical-align:top'><font size=2
color=black face=Verdana><span style='font-size:9.5pt;font-family:Verdana;
color:black'>ArcSDE command line tools for loading data, such as shp2sde and
cov2sde, cannot be used to load data into a Feature Class that is contained
within a Geodatabase Feature Dataset. <br>
<br>
Only an ArcObjects application, such as ArcCatalog, ArcMap, and custom-built
ArcObjects applications, can be used to load data into a Feature Class
contained within a Geodatabase Feature Dataset.<o:p></o:p></span></font></p>

<p class=MsoNormal style='background:white;vertical-align:top'><font size=2
color=black face=Verdana><span style='font-size:9.5pt;font-family:Verdana;
color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-margin-bottom-alt:auto;line-height:18.0pt;
background:white;vertical-align:top'><i><font size=2 color=black face=Verdana><span
style='font-size:9.5pt;font-family:Verdana;color:black;font-style:italic'>Created:</span></font></i><font
size=2 color=black face=Verdana><span style='font-size:9.5pt;font-family:Verdana;
color:black'> 8/13/2003<br>
<i><span style='font-style:italic'>Last Modified:</span></i> 5/16/2007<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Verdana><span
style='font-size:9.5pt;font-family:Verdana;color:black'><script language="JavaScript"  type="text/javascript">
        function openWindow(url, features){
                comment=window.open(url,'feedback',features);
        }
</script></span></font><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>

<div>

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

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

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

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Brad Nesom<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, May 17, 2007 3:35
PM<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">MapGuide
 Users Mail List</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mapguide-users]
Projection problems with ArcSDE FDO andGetKMLresponses</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><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'>Since you are using command line sde I
would venture that you perhaps are not createing feature datasets for those
feature classes. The feature data set holds the information for the crs. Your
data would be going into the geodatabase at the root level without a feature
dataset. There may be an issue with mapguide not getting the
&#8220;second&#8221; crs. You could test this by removing all data (don&#8217;t
know what kind of system you are running production or development) and loading
the opposite shape first the next time (if you loaded the utm first last time
load the ll first this time). Then see how mapguide reacts. <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>

<div>

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

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

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

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Trent Pingenot<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, May 17, 2007 1:57
PM<br>
<b><span style='font-weight:bold'>To:</span></b> mapguide-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-users]
Projection problems with ArcSDE FDO and GetKMLresponses</span></font><o:p></o:p></p>

</div>

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

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>Hey Group,<br>
<br>
I'm sure those of you more experienced will groan at my ArcSDE related question
but here goes.<br>
<br>
I'm having problems get raw KML data back when connected to ArcSDE. I am using<br>
Map Guide OS 1.2.0 beta and AutoDesk Map Guide Studio evaluation. I do have the
same<br>
problem using MGOS 1.1.<br>
<br>
I have loaded my layer of points into ArcSDE via command line utilities,
shp2sde because<br>
I don't have ArcEditor or ArcInfo.<br>
The first layer I loaded into my db was in a UTM projection. The second layer
of points<br>
I loaded to SDE was in WGS84.&nbsp; I specified a projection code and the
layers report<br>
their correct projections via SDE and ArcMap.&nbsp; I am able to successfully
connect to SDE using the<br>
ArcSDE FDO to create a data connection.&nbsp; I can create separate Map Guide
layers<br>
for both of my point layers. &nbsp;<br>
<br>
Here is where it starts to get sketchy. In Map Guide Studio when I create a
blank Map and <br>
add my first layer by itself, whether it be my UTM points or my WGS84
points&nbsp; or some other layer in<br>
another projection the map default projection comes up as UTM. I can of course
change this to LL84 <br>
if I am just creating a map with my WGS84 points.&nbsp; My first question is
why does the map projection <br>
default to a UTM projection when the first layer added is in another projection
and does this shed light<br>
on my resulting problems?<br>
<br>
I can make web layouts with any combination of my point layers and other layers
in other<br>
projections and they display correctly in an <st1:place w:st="on"><st1:City
 w:st="on">AJAX</st1:City></st1:place> web browser. &nbsp;<br>
<br>
The problems start when I try to use the KML calls GetMapKML, GetLayerKML or
GetFeaturesKML.<br>
I can successfully make these calls either from a web browser with a response
type of XML or in<br>
Google Earth against my layer in UTM or other layers, however I get failed
responses against my layer in<br>
WGS84 either through url calls or through GE.&nbsp; More specifically when I
try and debuging at the root <br>
GetFeaturesKML from a url call <br>
<br>
http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=GetFeaturesKml&amp;<br>
VERSION=1.0.0&amp;LAYERDEFINITION=Library://TEST/Layers/WGS_LOCS.LayerDefinition&amp;<br>
FORMAT=XML&amp;DRAWORDER=6&amp;BBOX=-106.7621,38.7261,-105.7026,41.7703&amp;WIDTH=500&amp;HEIGHT=500<br>
<br>
for XML I get this response...<br>
<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;kml xmlns=&quot;http://earth.google.com/kml/2.1&quot;&gt;<br>
&lt;NetworkLinkControl&gt;&lt;minRefreshPeriod&gt;2&lt;/minRefreshPeriod&gt;&lt;/NetworkLinkControl&gt;<br>
&lt;Document&gt;<br>
&lt;visibility&gt;1&lt;/visibility&gt;<br>
&lt;/Document&gt;<br>
&lt;/kml&gt;<br>
<br>
instead of xml with placemarks.<br>
<br>
As further testing I added other datasets in various projections to
ArcSDE.&nbsp; Any data that<br>
is UTM is returned successfully, but the other geographic projections I tested;
NAD27, NAD83, WGS84 yield<br>
the same non-results.<br>
<br>
It's almost as if because my first ArcSDE layer was in UTM, MapGuide sees some
type of ArcSDE schema<br>
and things all the data is in UTM.&nbsp; I even tried creating a second
SQLSERVER DB with my points but had<br>
the same results.<br>
<br>
When I connect to via FDO for Shapefiles for data in various projections
everything is hunky dory. I have<br>
performed some additional testing to try and isolate the problem but won't
overwhelm the list with all<br>
my tests.<br>
<br>
Any ideas as to if my problem lies in ArcSDE, FDO or the MGOS KML re-projection
piece, or something I've done? <br>
Or feel free to humble me with some small detail I missed.<br>
<br>
Thanks in advance!<br>
<br>
<st1:place w:st="on"><st1:City w:st="on">Trent</st1:City></st1:place><br>
<br>
<br>
<o:p></o:p></span></font></p>

</div>

</body>

</html>