This project has moved and is read-only. For the latest updates, please go here.

LabelLayer & dataSource

Topics: General Topics
Apr 2, 2007 at 12:07 PM

Is it possible to fill LabelLayer with other thing than LabelColumn values ? I would like to fill it with the Z values of my shapeFile.
Apr 9, 2007 at 2:58 PM
Nobody ?
Apr 11, 2007 at 8:48 AM
Edited Apr 12, 2007 at 9:54 AM
layLabel.LabelColumn = "NAMEOFYOURCOLUMN"

You can find the name of your column by examining your shapefile(dbf) using a textpad or preferrably excel.
Apr 17, 2007 at 3:22 PM
Yes, I know that. I want to display the Z value of my shapeFile (type PointZ).
Apr 17, 2007 at 11:49 PM
Have you tried LabelLayer.GetLabelMethod?
Apr 21, 2007 at 11:02 PM
I tried this :

layer_p_labels.LabelStringDelegate = labelString;

with labelString :

private string getString(FeatureDataRow row)
	return "test";

Seems to work. But how to get the Z value ? I have read somewhere that SharpMap can read the Z data (but not work with it).