Irregularly spaced x,y,z data to regular contours
-
Anyone know of a program / class / piece of code that will take an irregularly spaced set of (x,y,z) data and transform to regularly spaced contours? cheers, Chris Maunder
-
Anyone know of a program / class / piece of code that will take an irregularly spaced set of (x,y,z) data and transform to regularly spaced contours? cheers, Chris Maunder
Sound like the problem faced in Boundary Element Method. ...
-
Anyone know of a program / class / piece of code that will take an irregularly spaced set of (x,y,z) data and transform to regularly spaced contours? cheers, Chris Maunder
GTS - GNU Triangulated Surface Library: http://gts.sourceforge.net/index.html[^] which won't create the contours, but will generate the delaunay triangulation. From there you could write a routine to find all triangles spanning a given elevation, interpolate along their edges to get x,y coord and generate the contours. GMT should be able to do what you want: http://gmt.soest.hawaii.edu/[^] ... although it is a bit of overkill. It's a bit of pain to get through the website, as a short-cut: - goto ftp://falcon.grdl.noaa.gov/pub/gmt/4/[^] - download GMT_progs.zip - to start with look at xyz2grd.c and grdcontour.c ...cmk Save the whales - collect the whole set