<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Very odd... the sample code used to be there...<br>
<br>
Anyway, the code for "buffering" is avalible as part of a standard
MapGuide Web installation.<br>
It should have the code in JSP for creating a temporary featuresource +
layerdefinition and attaching them to the map.<br>
Those steps are the same as for drawing lines, but you have to insert
different objects into the featuresource.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Carmelo Saffioti skrev:
<blockquote cite="mid:00fb01c94970$6b3107f0$6e0000c0@carmelo"
type="cite">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<meta content="MSHTML 6.00.2800.1615" name="GENERATOR">
<style></style>
<div><font size="2">Thank you Kenneth,</font></div>
<div><font size="2">they're cool examples. But the source is not
available, I can only view the result...</font></div>
<div>
<div> </div>
</div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div
style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
<a moz-do-not-send="true" title="ks@geograf.dk"
href="mailto:ks@geograf.dk">Kenneth Skovhede, GEOGRAF A/S</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
<a moz-do-not-send="true" title="mapguide-users@lists.osgeo.org"
href="mailto:mapguide-users@lists.osgeo.org">MapGuide Users Mail List</a>
</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Tuesday, November 18, 2008 12:00 PM</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: [mapguide-users] Displaying points of given GPS coordinates</div>
<div><br>
</div>
If you wish to display points on a map from a database, it is easier to
just create an ODBC data source,<br>
set up column mappings for x/y, and then use that as base for the layer.<br>
<br>
As for creating dynamic stuff, take a look at the "Generic Tasks"
example:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://mapguide.osgeo.org/livegallery.html">https://mapguide.osgeo.org/livegallery.html</a><br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://data.mapguide.com/mapguide/gt/index.php">http://data.mapguide.com/mapguide/gt/index.php</a><br>
<br>
It shows how to create an SDF datasource and the FeatureSource and
LayerDefinition, and how to attach it to the map.<br>
You can use that knowledge to produce custom temporary lines.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Carmelo Saffioti skrev:
<blockquote cite="mid:008501c94960$c56ef0c0$6e0000c0@carmelo"
type="cite">
<pre wrap="">I created the WEB-INF/lib directory on the App-specific directory,
then I copied the json.jar file to the MyApp/WEB-INF/lib directory.
Now it works without compiling errors :-)
Regarding samples about dynamic creation of points of interest, are you
talking about the viewersample (ajaxviewersample.jsp) ?
Is it good for displaying points on the map with given GPS coordinates?
I need also to trace routes lines which connect a sequence of GPS positions.
Is it possible?
Cheers
Carmelo
----- Original Message -----
From: "Mauricio Villablanca" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="mailto:mgvillablanca@yahoo.com"><mgvillablanca@yahoo.com></a>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:mapguide-users@lists.osgeo.org"><mapguide-users@lists.osgeo.org></a>
Sent: Saturday, November 15, 2008 8:20 AM
Subject: Re: [mapguide-users] Displaying points of given GPS coordinates
</pre>
<blockquote type="cite">
<pre wrap="">Look at the samples. One of them shows how to dynamically create points of
interests.
Carmelo Saffioti wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi everybody,
I successfully imported into MapGuide my planimetry exported as SHP and
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->as
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">SDF. I need to display on the map some GPS points which have a lat/lon
coordinate. The map coordinate system is LL84 (WGS84), therefore the
coordinate system should be the same for these GPS points and for the
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->map.
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">How can I do to display points with given coordinates on the map? Is
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->there
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">any example or tutorial or other?
Thank you in advance
Cheers
Carmelo
_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap="">--
View this message in context:
</pre>
</blockquote>
<pre wrap=""><!----><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.nabble.com/Displaying-points-of-given-GPS-coordinates-tp20479019p20513108.html">http://www.nabble.com/Displaying-points-of-given-GPS-coordinates-tp20479019p20513108.html</a>
</pre>
<blockquote type="cite">
<pre wrap="">Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<p> </p>
<hr> _______________________________________________<br>
mapguide-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>