point interpolation using Sharpmap

Topics: Algorithms, General Topics, Web Controls
Jun 5, 2009 at 2:40 PM

I am doing a project with temperature data. First i have to plot temperature data on the map. then i have to take temperature readings of two points and temperature of inbetween points should be calculated. then according to all temperature values, i need to assign colours to those values and finally i want create the map with those colours. How can i implement this using Sharpmap?

Coordinator
Jun 9, 2009 at 7:30 AM

Hi malika, assuming a linear interpolation you can just take the average:

 newX = (x1 + x2)/2 ,

 newY = (y1 + y2)/2,

newTemp = (temp1 + temp2)/2.

Alternatively have a look at http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=18994 particularly Agelos' work with emgu cv - this doesnt create intermediary points, rather it creates voronoi polygons around known points.

hth jd