This project has moved. For the latest updates, please go here.

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?

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 particularly Agelos' work with emgu cv - this doesnt create intermediary points, rather it creates voronoi polygons around known points.

hth jd