I have been working with the GridDefinition, GridIsoLineLayer, and GridFatureLayer to generate isoline (contours) on the map display. Now we would like to save the generated isolines and reload them without regenerating from the original data points. Several questions have come up:
The IsoLineLayer has the SerializableAttribute but I do not know how serialization should be used. Is it as simple as streaming the Layer to some type of output stream? Are the graphics for the contour isolines a raster or vector graphics or do the graphics use some other custom graphics representation? Are there any samples that would demostrate serialization of MapSuite layers?
We also generate the isolines within a given boundary area. However, because of the interpolation algorithm being used sometimes the isolines are generated outside of our boundary area even though we have "noDataValue" points in these areas. GridFeatureLayer always generates the AreaStyle classBreaks over the entire rectanular region for the ioslines. We would like to be able to crop the ioslines and areaStyle to restrict the display within our boundary area. Are there any "cropping tools" available in MapSuite? Could we create a cropping effect with a "masking" layer which would hide the graphics outside of our boundary?
I would greatly appreciate any help that anyone can provide?
Thanks
Richard