<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5450.4" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=453253513-06102006><FONT face=Arial
color=#0000ff size=2>I think it's great that people are considering contributing
modules to the project. A routing module is a good example that many
people could use. But, if you do, it should be web extension language
neutral so it will run on PHP, Java, and .NET implementations. If you did
do something like this, it would work for both MGOS and MGE.</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Tahoma size=1>Andy Morsell, P.E.</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Tahoma size=1>Spatial Integrators,
Inc.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Tahoma size=1><A
href="http://www.SpatialGIS.com">http://www.SpatialGIS.com</A></FONT></SPAN>
</P>
<DIV>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Alejandro Guzman
[mailto:lguzmanc@gmail.com] <BR><B>Sent:</B> Thursday, October 05, 2006 9:31
PM<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Cc:</B> Trevor
Wekel<BR><B>Subject:</B> SPAM-LOW: [mapguide-users] Re: Shortest
Path<BR></FONT><BR></DIV>
<DIV></DIV><SPAN lang=EN-US>Hi Trevor,</SPAN>
<P class=MsoNormal><SPAN lang=EN-US>Thanks for your quickly response. I
continued investigating about other transportation problems that I want to solve
and show in MapGuide, and I concluded that I must develop a module to manipulate
topologies into MapGuide in order to solve this and other transportation
problems. I recognize that it involves a lot of work and theoretical
acknowledge, but if I can solve this it could be a contribution to MapGuide Open
Source or to a Plug-in of Mapguide Enterprise. Therefore, now my questions are
the following:</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US> Can the manipulation of topologies
into MapGuide be solved by means of ASPX pages?<SPAN> </SPAN></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US> Could this solution serve for MapGuide
Open Source and Mapguide Enterprise?</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><BR>Thanks</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US> Alejandro Guzmān</SPAN></P><BR>
<DIV><SPAN class=gmail_quote>On 10/3/06, <B class=gmail_sendername>Trevor
Wekel</B> <<A
href="mailto:trevor.wekel@autodesk.com">trevor.wekel@autodesk.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Hi
Alejandro,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Yes.
You could implement a shortest path command as a C# aspx web page. This
page could then be called from a web application similar to the existing
buffer.aspx script. MapGuide does not currently support topology so you
would have to create the topology out of the raw geometry before running the
shortest path algorithm.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Here is a
general outline:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Select the
features of interest using
FeatureService::SelectFeatures()</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Iterate
through the features recording the end points and identity
properties</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Using some
heuristics, iterate through the end points to determine which
"touch" and create the network topology. An intersects call with a small
circle around each end point may be appropriate.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Using the
network topology, determine the shortest path.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Using the
identity properties for the shortest path features, highlight the
shortest path using a technique similar to measure.aspx</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>This
algorithm could also be coded in C++. A C++ version would be faster
but also more difficult to implement.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Trevor</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN></SPAN><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> Alejandro Guzman [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:lguzmanc@gmail.com" target=_blank>lguzmanc@gmail.com</A>]
<BR><B>Sent:</B> Tuesday, October 03, 2006 9:56 AM<BR><B>To:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:users@mapguide.osgeo.org"
target=_blank>users@mapguide.osgeo.org</A><BR><B>Subject:</B> Shortest
Path<BR></FONT><BR></DIV>
<DIV><SPAN class=e id=q_10e10374b74d1dd1_1>
<DIV></DIV>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)">Hello </SPAN></P>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)">Nowadays I am evaluating
some Internet Map Servers to use one of them in a project. Till now, due to
diverse benefits that this one offers, I have decided on MapGuide Open Source,
nevertheless even I do not still have totally cleared some</SPAN><SPAN
lang=EN-US style="COLOR: rgb(255,102,0)"> </SPAN><SPAN lang=EN-US
style="COLOR: rgb(153,204,0)">questions. Specifically my questions are
directed to:</SPAN></P>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)"></SPAN> </P>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)">Can I create a new command
to find shortest path?</SPAN></P>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)">If it is true, can I
programme it with C#? </SPAN></P>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)">Or would I have to modify to
the source code of Mapguide to do this, and therefore use a specific language
of programming?</SPAN></P>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)">Do solutions exist type
plug-in to find the shortest path with mapguide?</SPAN></P>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)"></SPAN> </P>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)">Thanks </SPAN></P>
<P><SPAN lang=EN-US style="COLOR: rgb(153,204,0)">Alejandro
Guzmán</SPAN></P></SPAN></DIV></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>