Here is the scenario I am trying to implement. I am working with a custom file format that contains geospatial data. The data is a list of "blocks", each block consisting of a set of ECEF points in addition to other point assets. Essentially, a
list of LineStrings and Points.
I want to create a layer that consists. I have test code that manually converts the point to SpericalMercator and adds LineString collections of the points to a GeometryFeatureCollection and use that as a VectorLayer. Doing this I am able to plot the blocks
and asset points over a OSM tile layer.
How would I "tag" the Polylines in order to use the CustomTheme delegate to highlight certain blocks. Basically, I could provide a list of block ids to highlight and the delegate would specify those blocks to have a different color. If I set a
UserData object for each block LineString could I access that in the FeatureDataRow object in the CustomTheme delegate? (http://sharpmap.codeplex.com/wikipage?title=CustomTheme)
How can I have support for selecting features by clicking. The How To.. example isn't working for me. I would want to "tag" or "label" the Geometries with the identifier user in the custom file, then be able to click on the geometry and
be able to retrieve the identifier of what I click. (http://sharpmap.codeplex.com/wikipage?title=Get%20features%20from%20a%20click%20on%20the%20map&referringTitle=How%20to...)
Would it be better to implementing a IProvider for my custom file format then using the GeometryFeatureCollection? Essentially, is there a better way to add all this data to the map.