[mapguide-users] Displaying points of given GPS coordinates
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Tue Nov 18 06:00:32 EST 2008
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:
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?
> ----- Original Message -----
> From: "Mauricio Villablanca" <mgvillablanca at yahoo.com>
> To: <mapguide-users at lists.osgeo.org>
> 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
>> Carmelo Saffioti wrote:
>>> Hi everybody,
>>> I successfully imported into MapGuide my planimetry exported as SHP and
>>> 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
>>> How can I do to display points with given coordinates on the map? Is
>>> any example or tutorial or other?
>>> Thank you in advance
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>> View this message in context:
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapguide-users