you have to tell a little more about your source data. you tell us something about a contour shape file. do you really mean an ESRI shape file?
it would be good to have a small sample.
it would be good to have a small sample.