[mapguide-users] Displaying points of given GPS coordinates
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Tue Nov 18 06:38:30 EST 2008
Very odd... the sample code used to be there...
Anyway, the code for "buffering" is avalible as part of a standard
MapGuide Web installation.
It should have the code in JSP for creating a temporary featuresource +
layerdefinition and attaching them to the map.
Those steps are the same as for drawing lines, but you have to insert
different objects into the featuresource.
Regards, Kenneth Skovhede, GEOGRAF A/S
Carmelo Saffioti skrev:
> 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 <mailto:ks at geograf.dk>
> *To:* MapGuide Users Mail List
> <mailto:mapguide-users at lists.osgeo.org>
> *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" <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
>>> 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
>>>> mapguide-users at lists.osgeo.org
>>>> 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
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>
> ------------------------------------------------------------------------
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081118/5902e0da/attachment.html
More information about the mapguide-users
mailing list