Thank you Kenneth, they're cool examples. But the source is not available, I can only view the result... ----- Original Message ----- From: Kenneth Skovhede, GEOGRAF A/S To: MapGuide Users Mail List Sent: Tuesday, November 18, 2008 12:00 PM Subject: Re: [mapguide-users] Displaying points of given GPS coordinates
If you wish to display points on a map from a database, it is easier to just create an ODBC data source, set up column mappings for x/y, and then use that as base for the layer. As for creating dynamic stuff, take a look at the "Generic Tasks" example: https://mapguide.osgeo.org/livegallery.html http://data.mapguide.com/mapguide/gt/index.php It shows how to create an SDF datasource and the FeatureSource and LayerDefinition, and how to attach it to the map. You can use that knowledge to produce custom temporary lines. Regards, Kenneth Skovhede, GEOGRAF A/S Carmelo Saffioti skrev: 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" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, November 15, 2008 8:20 AM Subject: Re: [mapguide-users] Displaying points of given GPS coordinates Look at the samples. One of them shows how to dynamically create points of interests. Carmelo Saffioti wrote: Hi everybody, I successfully imported into MapGuide my planimetry exported as SHP and as 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 map. How can I do to display points with given coordinates on the map? Is there any example or tutorial or other? Thank you in advance Cheers Carmelo _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://www.nabble.com/Displaying-points-of-given-GPS-coordinates-tp20479019p20513108.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users ------------------------------------------------------------------------------ _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
