This project is read-only.

Dynamic mapping

Feb 17, 2013 at 10:53 AM
Edited Feb 17, 2013 at 11:50 AM
hello,
I am doing my thesis, and my task is to visualize data generated through communication of vehicles. its a spatial database and i am using Postgre-postgis for my work.
my work is:
there is transmitter vehicle stationary at one point, and receiver vehicle is moving around in certain range of transmitter. quality of communication would be derived from number of packets sent from transmitter and number of packets received at every location of receiver.
I have used Gmap.net for my work till now. But it gives me static visualization and also seems quite boring for the eyes. also takes a lot of time to get the output.
I have attached an image to make it more clear. marker is the transmitter vehicle, and the colored lines represent quality of communication, with dark green lines best communication and red lines worst communication.
http://i.imgur.com/2vZfAcK.jpg?1
I want to make my visualization dynamic, so it looks more interesting for user. I would also be placing some charts.
Can anyone give me some ideas of how can i do it, or what would be appropriate tool/library/component to achieve my task in shorter period.
Feb 18, 2013 at 10:06 AM
You should be able to do this using MapWinGIS (the mapping engine of MapWindow).
MapWinGIS is an ActiveX control you can drop on your form. It doesn't have native support for PostGIS so you need to develop that yourself.
MapWinGIS has some nice visualisations (gradients, hatching, textures) and supports labels and charts.

You can also look at MapWindow's sister project DotSpatial (http://dotspatial.codeplex.com/). You should be able to do the same. If you are familiar with Gmap.net DotSpatial might be easier.

Paul
Feb 18, 2013 at 1:20 PM
Here's a sample about tracking a vehicle: http://www.mapwindow.org/documentation/mapwingis4.8/_tracking_8cs-example.html#a7
It might help you as well.

Paul
Feb 19, 2013 at 12:45 PM
Thank you for the reply,

I had a look over your references/links, but i have a question
if i use mapwinGIS or dotspatial controls, does it support google or bing maps as in Gmap.net.
because i am not using any shape files for my project.
Feb 21, 2013 at 9:23 AM
Version 4.9 of the ocx has a built-in tiling mechanism. It can load Google and Bing maps as well as ArcGIS online.
You can get the source code here: https://mapwingis.svn.codeplex.com/svn/MapWinGIS/branches/4.9/
This all not well documented yet.
We're working on finishing MapWindow v4.8 after that we will continue with MapWindow v4.9 which will use MapWinGIS v4.9 with the tiling.
In the current version of MapWindow v4.8 already some code is available which uses the new tiling of the ocx.
I don't remember in which part bu you should look for #define or tiling.

Paul