<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=158440914-04052007><FONT face=Arial
color=#0000ff size=2>If you have an OLE DB Data Source you should be using an
ODBC connection then. When specifying the connection properties and the geometry
columns you should be selecting your Lambert projection at that time. You
associate the coordinate system with the data, not the layer. If you have
MapGuide Studio this is easy to do. I'm not sure if WebStudio replicates this
functionality. Otherwise you would have set the projection information in the
XML for the FeatureSource manually.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=158440914-04052007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=158440914-04052007><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=158440914-04052007><FONT face=Arial
color=#0000ff size=2>Dave</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Ariane
BARNA<BR><B>Sent:</B> Friday, May 04, 2007 3:56 AM<BR><B>To:</B>
mapguide-users@lists.osgeo.org<BR><B>Subject:</B> [mapguide-users] (MapGuide
Author) Create layer of points from anOLE DB Data Source : map projection
problem<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV><SPAN class=q id=q_11233aab910772d0_1>
<P style="MARGIN-LEFT: 35.4pt"><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">H<SPAN
style="COLOR: rgb(0,0,0)">i,</SPAN></SPAN></FONT></P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt">I would need information and examples of
layers of points built through an OLE DB Data Source. </SPAN></FONT><SPAN
lang=EN-GB>In my DataBase, the points should follow the Lambert II Etendu map
projection system.</SPAN></P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN lang=EN-GB style="FONT-SIZE: 12pt">However MapGuide doesn't take
the map projection into account and show the points using decimal
degrees.</SPAN></FONT></P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN lang=EN-GB style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt">When I create my layer, I cannot define any
map projection system for the points I give to MapGuide !
</SPAN></FONT><SPAN lang=EN-GB>I would have thought MapGuide would then take for
granted that the given coordinates follow the same system than the one you
precise for the output map.</SPAN></P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN lang=EN-GB style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt">And it turns out that MapGuide traduces the
points as decimal degrees.</SPAN></FONT></P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN lang=EN-GB style="FONT-SIZE: 12pt">Is there anyway to fill in the
source map projection system ? Or is this an already known bug of
Mapguide ?</SPAN></FONT></P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN lang=EN-GB style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P style="MARGIN-LEFT: 35.4pt; COLOR: rgb(0,0,0)"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt">Thank you very much for any piece of
help.</SPAN></FONT></P></SPAN></DIV></DIV><BR>
<HR SIZE=1>
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
<A href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo!
Questions/Réponses</A>.</BODY></HTML>