How to make Moving Symbols using MapScript

Kristjan Annus kristjan at TARKVARASTUUDIO.EE
Mon Mar 28 00:25:00 PST 2005


Hi,

I have seen it done with Flash. Application is for police forces patrol
controlling system. The map data is from
Mapserver, and the vehicle location data is in the database and they are
loaded separately. But there is no public
link available for this system.

Kristjan

> Vdharan,
>
> Not that I know of. I would be a great extension to Rosa or to Mapplet.
> You might want to check on the Rosa list and see if anyone has done
> this. If you get something like this working post a note back here
> because I would be interested and I'm sure some others would be also.
>
> -Steve
>
> Vdharan wrote:
>
>> Thankyou Stephen
>>
>> Is there any way to use the ROSA applet to implement moving of
>> vehicles.?
>> Is there any readymade functions to show a dynamic point?.
>>
>> Regards
>> vdharan
>>
>> On Fri, 25 Mar 2005 08:34:55 -0500, Stephen Woodbridge
>> <woodbri at SWOODBRIDGE.COM> wrote:
>>
>>
>>> You should be able to do this is with a Java applet or a Flash
>>> application. And you might be able to do it with xhtml and javascript.
>>>
>>> The problem is you need to decide whether the application is going to
>>> get its new data by push from the server or by polling the server for
>>> updates. Since the map is not changing except when you pan or zoom it I
>>> would separate the map image from the vehicles being tracked so your
>>> client side application can request map changes based on the user input
>>> and that you get a list of vehicles and their locations as a separate
>>> stream of data from the server, then you Java, Flash, whatever to draw
>>> the vehicles on top of the map. make the vehicle update a separate
>>> thread and your all done.
>>>
>>> -Steve W.
>>> http://imaptools.com
>>>
>>> vdharan wrote:
>>>
>>>> Hello,
>>>> Iam working on a vehicle tracking system. I want to show symbols
>>>> representing vehicles to move in the map as and when the
>>>> co-ordinate of
>>>
>>
>> the
>>
>>>> vehicle changes. I continuously get the co-ordinate of the vehicles at
>>>> regular intervals. I want this to happen without refreshing the page.
>>>>
>>>> Can any one suggest me a way to do this.
>>>> Iam using Redhat9 and PHP Mapscript.
>>>>
>>>> Best Regards,
>>>> vdharan
>>>>
>>
>>



More information about the MapServer-users mailing list