Add a name label to a GeometryProvider ?

Aug 8, 2006 at 5:43 PM
Is there any way to add a name to points that are created from the GeometryProvider Class:
geometries.Add(new SharpMap.Geometries.Point(longitude, latitude));

I can only add the x,y values for a SharpMap.Geometries.Point but not a label.

I create a datasource from:
lyr.DataSource = new SharpMap.Data.Providers.GeometryProvider(geometries);

Do I need to create a custom datasource or shapefile to contain?: loc_name, latitude, longitude

I cannot create a shapefile since I do not have ESRI tools.
Aug 8, 2006 at 8:10 PM
Currently no. GeometryProvider doesn't support any featuredata.

If you just need to store points, you are probably better of putting them in an OLEDB compatible database (like Access, MSSQL...) and use the OleDbPoint provider.