<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD><TITLE>Re: [mapguide-users] Database connections in MapGuide Studio</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR><!--[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 name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Verdana;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.E-mailStijl17 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.m1 {
        COLOR: blue
}
SPAN.t1 {
        COLOR: #990000
}
SPAN.b1 {
        FONT-WEIGHT: bold; COLOR: red; FONT-FAMILY: "Courier New"; TEXT-DECORATION: none
}
SPAN.tx1 {
        FONT-WEIGHT: bold
}
SPAN.ns1 {
        COLOR: red
}
SPAN.E-mailStijl23 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.E-mailStijl24 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.E-mailStijl27 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=NL vLink=blue link=blue>
<DIV dir=ltr align=left><SPAN class=843345012-11042006><FONT face=Arial
color=#0000ff size=2>Dear Willem,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=843345012-11042006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=843345012-11042006><FONT face=Arial
color=#0000ff size=2>may be i didn´t understand the "real" problem, but in my
enviroment everything seam to be ok. Can you describe me in detail whats your
problem ?</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Mit freundlichen Grüßen</FONT> </P>
<P><FONT face=Arial size=2>Thomas Grosser</FONT> <BR><FONT face=Arial size=2>-
Geschäftsleitung -</FONT> </P>
<P><FONT face=Arial size=2>Kom21 - Nürnberg</FONT> <BR><FONT face=Arial
size=2>Großweidenmühlstraße 28</FONT> <BR><FONT face=Arial size=2>90419
Nürnberg</FONT> <BR><FONT face=Arial size=2>Tel.: 0911 - 378 33 85</FONT>
<BR><FONT face=Arial size=2>Fax: 0911 - 378 33 86</FONT> <BR><FONT face=Arial
size=2>Web: www.kom21.de</FONT> </P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> Willem Schwarte [mailto:willem@giskit.nl]
<BR><B>Gesendet:</B> Dienstag, 11. April 2006 13:50<BR><B>An:</B>
users@mapguide.osgeo.org<BR><B>Betreff:</B> RE: [mapguide-users] RE: MapGuide OS
with Google Earth<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Maybe someone can
clarify this for me, loading this shape in Studio results in a lot of lines.
When using this to export to KML it returns only a very small part.
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Can’t seem to figure
out how the readNext() works, and why it stops
early???<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hope somebody can check
this for me, would be nice for a demonstration
tomorrow.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks…<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><A
href="http://www.gisnet.nl/adam.zip">http://www.gisnet.nl/adam.zip</A><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Willem<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Van:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
<st1:PersonName w:st="on" ProductID="Willem Schwarte">Willem
Schwarte</st1:PersonName> [mailto:willem@giskit.nl] <BR><B><SPAN
style="FONT-WEIGHT: bold">Verzonden:</SPAN></B> dinsdag 11 april 2006
11:51<BR><B><SPAN style="FONT-WEIGHT: bold">Aan:</SPAN></B>
users@mapguide.osgeo.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Onderwerp:</SPAN></B> RE: [mapguide-users] RE:
MapGuide OS with Google Earth</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Nevermind….
Transforming the coordinates to lat long worked! <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Willem<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Van:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <st1:PersonName w:st="on"
ProductID="Willem Schwarte">Willem Schwarte</st1:PersonName>
[mailto:willem@giskit.nl] <BR><B><SPAN
style="FONT-WEIGHT: bold">Verzonden:</SPAN></B> dinsdag 11 april 2006
11:17<BR><B><SPAN style="FONT-WEIGHT: bold">A</SPAN></B></SPAN></FONT><B><FONT
face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">an:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
users@mapguide.osgeo.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Onderwerp:</SPAN></B> RE: [mapguide-users] RE:
MapGuide OS with Google Earth</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Ok, that worked, now
I’m getting coordinates… but in Google Earth the map is zoomed to
completely the wrong place. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Could this be that our
coordinate system differs from what Earth is
expecting?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I’m getting this from
my resources:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">Boundary
Line</NAME><STYLEURL>#myBoundaryLine</STYLEURL><POLYGON><EXTRUDE>0</EXTRUDE><ALTITUDEMODE>clampedToGround</ALTITUDEMODE><OUTERBOUNDARYIS><LINEARRING><COORDINATES>157086.938,403382.689,0
157078.527,403376.459,0 157074.187,403374.389,0 157070.947,403375.979,0
157068.266,403381.019,0 157069.616,403384.109,0 157080.227,403390.199,0
157082.778,403390.529,0 157084.707,403389.319,0 157087.568,403385.819,0
157086.938,403382.689,0<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt">Our coordinate system is Arbritrary X-Y Meters… the
Sheybogan is WGS84.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt">Willem<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Van:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Jason
Birch [mailto:Jason.Birch@nanaimo.ca] <BR><B><SPAN
style="FONT-WEIGHT: bold">Verzonden:</SPAN></B> maandag 10 april 2006
18:37<BR><B><SPAN style="FONT-WEIGHT: bold">Aan:</SPAN></B> <st1:PersonName
w:st="on" ProductID="Willem Schwarte">Willem
Schwarte</st1:PersonName><BR><B><SPAN style="FONT-WEIGHT: bold">CC:</SPAN></B>
users@mapguide.osgeo.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Onderwerp:</SPAN></B> [mapguide-users] RE: MapGuide OS
with Google Earth</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Hi,</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Something that I've
recently figured out is that it's a lot easier to debug Mg errors if you wrap
your code in Try/Catch. Have a look at some of the code in the mapadmin
area, or in the package command line utilities I posted about
yesterday.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">I wonder if the
geometry column for your data source is the same as the sample data
(SHPGEOM).</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">You can see what this
is supposed to be by looking at a layer based on that feature source in Studio,
under "Feature Data Setup". You can also get this information by going
into the mapagent/index.html file, clicking on Feature Service API in the upper
left, then clicking on Describe Feature item, and finally fill in the
FeatureSource ID </SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=tx1><B><FONT face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Library://Bolsward/Data/Data/totaal_tvg32010101_v.FeatureSource</SPAN></FONT></B></SPAN><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">The sample data
definition looks like this:</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <SPAN class=m><FONT color=blue><SPAN
style="COLOR: blue"><</SPAN></FONT></SPAN><SPAN class=t><FONT
color=#990000><SPAN style="COLOR: #990000">xs:complexType
name</SPAN></FONT></SPAN><SPAN class=m><FONT color=blue><SPAN
style="COLOR: blue">="</SPAN></FONT></SPAN><B><SPAN
style="FONT-WEIGHT: bold">HydrographicPolygonsType</SPAN></B><SPAN class=m><FONT
color=blue><SPAN style="COLOR: blue">"</SPAN></FONT></SPAN><SPAN class=t><FONT
color=#990000><SPAN style="COLOR: #990000"> abstract</SPAN></FONT></SPAN><SPAN
class=m><FONT color=blue><SPAN
style="COLOR: blue">="</SPAN></FONT></SPAN><B><SPAN
style="FONT-WEIGHT: bold">false</SPAN></B><SPAN class=m><FONT color=blue><SPAN
style="COLOR: blue">"</SPAN></FONT></SPAN><SPAN class=t><FONT
color=#990000><SPAN style="COLOR: #990000">
fdo:geometryName</SPAN></FONT></SPAN><SPAN class=m><FONT color=blue><SPAN
style="COLOR: blue">="</SPAN></FONT></SPAN><B><SPAN
style="FONT-WEIGHT: bold">SHPGEOM</SPAN></B><SPAN class=m><FONT color=blue><SPAN
style="COLOR: blue">"></SPAN></FONT></SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">The fdo:geometryName
attribute is what you want here. </SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">A better solution would
be to let the code extract the geometry column... hmm... bit of research
later:</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">You could replace this
line:</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"> $byteReader
= $featureReader->GetGeometry('SHPGEOM');</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">With
this:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"> $byteReader
=
$featureReader->GetGeometry($featureReader->GetClassDefinition()->GetDefaultGeometryPropertyName());</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Note that this isn't
very efficient; it checks the default geometry property on each feature
object. It would be better to do this outside of the loop, or at the top
of the loop in a section that's only executed once.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Jason<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN lang=EN-US style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><FONT face=Tahoma size=2><SPAN
lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <st1:PersonName w:st="on"
ProductID="Willem Schwarte">Willem Schwarte</st1:PersonName>
[mailto:willem@giskit.nl] <BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, April 10, 2006
07:38<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Jason
Birch<BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B>
users@mapguide.osgeo.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: MapGuide OS with Google
Earth</SPAN></FONT><SPAN lang=EN-US><o:p></o:p></SPAN></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I have tried your
sample for Google Earth, and it work fine with the sheybogan sample
data.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If I paste this in my
internet Explorer <A
href="http://localhost/sites/google_earth/water.php">http://localhost/sites/google_earth\water.php</A>
I will get a bunch of coordinates.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">But when I try to use
my own data I get an error:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt">PHP Fatal error: Uncaught exception
'mgobjectnotfoundexception' in Unknown on line 0</SPAN></FONT><FONT face=Arial
color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">In the water.php file I
change this line like so:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">$featureReader =
$featureService->SelectFeatures(new
MgResourceIdentifier("Library://Bolsward/Data/Data/totaal_tvg32010101_v.FeatureSource"),
"totaal_tvg32010101_v", null);<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">As you can see in XML
below, this does exist. Do you might know why I don’t get anything
?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Willem<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><SPAN class=m1><FONT face=Verdana
color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><</SPAN></FONT></SPAN><SPAN
class=t1><FONT face=Verdana color=#990000 size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">ResourceId</SPAN></FONT></SPAN><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">></SPAN></FONT></SPAN><SPAN
class=tx1><B><FONT face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Library://Bolsward/Data/Data/totaal_tvg32010101_v.FeatureSource</SPAN></FONT></B></SPAN><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"></</SPAN></FONT></SPAN><SPAN
class=t1><FONT face=Verdana color=#990000 size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">ResourceId</SPAN></FONT></SPAN><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">></SPAN></FONT></SPAN><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue><</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Depth</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><SPAN class=tx1><B>4</B></SPAN><SPAN class=m1><FONT
color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Depth</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue><</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Owner</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><SPAN class=tx1><B>Administrator</B></SPAN><SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Owner</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue><</FONT></SPAN><SPAN class=t1><FONT
color=#990000>CreatedDate</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><SPAN
class=tx1><B>2006-04-07T08:32:36Z</B></SPAN><SPAN class=m1><FONT
color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>CreatedDate</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue><</FONT></SPAN><SPAN class=t1><FONT
color=#990000>ModifiedDate</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><SPAN
class=tx1><B>2006-04-07T08:32:36Z</B></SPAN><SPAN class=m1><FONT
color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>ModifiedDate</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><A onfocus=h()
href="http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2F&TYPE=&DEPTH=-1##"><B><FONT
face="Courier New" color=red><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; COLOR: red; FONT-FAMILY: 'Courier New'">-</SPAN></FONT></B></A>
</SPAN></FONT><SPAN class=m1><FONT face=Verdana color=blue size=2><SPAN
lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><</SPAN></FONT></SPAN><SPAN
class=t1><FONT face=Verdana color=#990000 size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">ResourceDocumentHeader</SPAN></FONT></SPAN><SPAN
class=ns1><FONT face=Verdana color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">
xmlns:xsd</SPAN></FONT></SPAN><SPAN class=m1><FONT face=Verdana color=blue
size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">="</SPAN></FONT></SPAN><B><FONT
face=Verdana color=red size=2><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Verdana">http://www.w3.org/2001/XMLSchema</SPAN></FONT></B><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">"</SPAN></FONT></SPAN><SPAN
class=ns1><FONT face=Verdana color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">
xmlns:xsi</SPAN></FONT></SPAN><SPAN class=m1><FONT face=Verdana color=blue
size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">="</SPAN></FONT></SPAN><B><FONT
face=Verdana color=red size=2><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Verdana">http://www.w3.org/2001/XMLSchema-instance</SPAN></FONT></B><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">"</SPAN></FONT></SPAN><SPAN
class=t1><FONT face=Verdana color=#990000 size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">
xsi:noNamespaceSchemaLocation</SPAN></FONT></SPAN><SPAN class=m1><FONT
face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">="</SPAN></FONT></SPAN><B><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Verdana">ResourceDocumentHeader-1.0.0.xsd</SPAN></FONT></B><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">"></SPAN></FONT></SPAN><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><A onfocus=h()
href="http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2F&TYPE=&DEPTH=-1##"><B><FONT
face="Courier New" color=red><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; COLOR: red; FONT-FAMILY: 'Courier New'">-</SPAN></FONT></B></A>
</SPAN></FONT><SPAN class=m1><FONT face=Verdana color=blue size=2><SPAN
lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><</SPAN></FONT></SPAN><SPAN
class=t1><FONT face=Verdana color=#990000 size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">General</SPAN></FONT></SPAN><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">></SPAN></FONT></SPAN><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue><</FONT></SPAN><SPAN class=t1><FONT
color=#990000>IconName</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><SPAN class=tx1><B>FeatureSourceSdf</B></SPAN><SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>IconName</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -12pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>General</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><A onfocus=h()
href="http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2F&TYPE=&DEPTH=-1##"><B><FONT
face="Courier New" color=red><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; COLOR: red; FONT-FAMILY: 'Courier New'">-</SPAN></FONT></B></A>
</SPAN></FONT><SPAN class=m1><FONT face=Verdana color=blue size=2><SPAN
lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><</SPAN></FONT></SPAN><SPAN
class=t1><FONT face=Verdana color=#990000 size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Security
xsi:noNamespaceSchemaLocation</SPAN></FONT></SPAN><SPAN class=m1><FONT
face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">="</SPAN></FONT></SPAN><B><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Verdana">ResourceSecurity-1.0.0.xsd</SPAN></FONT></B><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">"></SPAN></FONT></SPAN><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue><</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Inherited</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><SPAN class=tx1><B>true</B></SPAN><SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Inherited</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><A onfocus=h()
href="http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2F&TYPE=&DEPTH=-1##"><B><FONT
face="Courier New" color=red><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; COLOR: red; FONT-FAMILY: 'Courier New'">-</SPAN></FONT></B></A>
</SPAN></FONT><SPAN class=m1><FONT face=Verdana color=blue size=2><SPAN
lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><</SPAN></FONT></SPAN><SPAN
class=t1><FONT face=Verdana color=#990000 size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Groups</SPAN></FONT></SPAN><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">></SPAN></FONT></SPAN><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><A onfocus=h()
href="http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2F&TYPE=&DEPTH=-1##"><B><FONT
face="Courier New" color=red><SPAN lang=EN-GB
style="FONT-WEIGHT: bold; COLOR: red; FONT-FAMILY: 'Courier New'">-</SPAN></FONT></B></A>
</SPAN></FONT><SPAN class=m1><FONT face=Verdana color=blue size=2><SPAN
lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><</SPAN></FONT></SPAN><SPAN
class=t1><FONT face=Verdana color=#990000 size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Group</SPAN></FONT></SPAN><SPAN
class=m1><FONT face=Verdana color=blue size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">></SPAN></FONT></SPAN><FONT
face=Verdana size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue><</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Name</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><SPAN class=tx1><B>Everyone</B></SPAN><SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Name</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -24pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue><</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Permissions</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><SPAN class=tx1><B>r,w</B></SPAN><SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Permissions</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -12pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Group</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -12pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Groups</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -12pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>Security</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -12pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>ResourceDocumentHeader</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: -12pt"><SPAN class=b1><B><FONT
face="Courier New" color=red size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"> </SPAN></FONT></B></SPAN><FONT face=Verdana
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <SPAN
class=m1><FONT color=blue></</FONT></SPAN><SPAN class=t1><FONT
color=#990000>ResourceDocument</FONT></SPAN><SPAN class=m1><FONT
color=blue>></FONT></SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Van:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Jason
Birch [mailto:Jason.Birch@nanaimo.ca] <BR><B><SPAN
style="FONT-WEIGHT: bold">Verzonden:</SPAN></B> dinsdag 14 maart 2006
8:19<BR><B><SPAN style="FONT-WEIGHT: bold">Aan:</SPAN></B>
users@mapguide.osgeo.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Onderwerp:</SPAN></B> MapGuide OS with Google
Earth</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV id=idOWAReplyText30819>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">I've uploaded a pretty
basic example of using MapGuide OS to serve KML to Google Earth, based on an
example that Bob Bray provided with the first
preview:</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><A
href="http://www.jasonbirch.com/files/google_earth.zip">http://www.jasonbirch.com/files/google_earth.zip</A></SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This is totally unsupported, but in
my experience it works with the Sheboygan data set. On a standard
Windows/Apache/Php install you should just have to follow the instructions in
the readme.txt file.</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I had a better example that worked
to return data for the current bounding box (you can see it in action at <A
href="http://earth.nanaimo.ca/">http://earth.nanaimo.ca/</A> ) but I was
unable to get this working with the sample data, so either something has changed
with 1.0 or the sample data is different somehow than what I'm serving. I
didn't get any error messages, but seeing all of the exception codes in the API,
I guess I should be trapping for these somehow. Not enough time to
research now though.</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My to-do
list:</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">- </SPAN></FONT><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">clean up the code, make it more
modular, and possibly use TJ's KMLDocument class for generating the
KML:</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A
href="http://kml.tjworld.net/downloads.php">http://kml.tjworld.net/downloads.php</A></SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- figure out how to read the default
scale ranges and symbology from MapGuide, and return a semblance of those
instead of having to custom code each layer.
</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- dynamically rewrite the bounding
box, so that it shifts to the foreground when the view is tilted, allowing
delivery of data without killing the server with a huge
extent</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- deliver GroundOverlay images as an
option for small-scale mapping where serving vectors is
inappropriate</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Of course Autodesk could just step
in any time now and provide a template for default delivery of KML
:)</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Jason</SPAN></FONT><o:p></o:p></P></DIV></DIV>
<DIV id=idSignature79640>
<DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV></DIV></DIV></DIV></BODY></HTML>