Requesting example of Point to WKB_Geometry byte array

Topics: General Topics
Feb 13, 2007 at 4:24 PM
Could someone help me out with an example of how to point data to a WKB_GEOMETRY byte array?

In otherwords a function that would have the signature:

byte[] convertPointToWKB( SharpMap.Geometries.Point pPoint );


What i'm trying to do is take a List of objects my appliction creates which are basically special points on a map... write them to a sql database so that i can then use the mssql provider to load them on the map. I cannot simply use a GeometryProvider because i also want to attach feature data.

Thanks,
Blake Robertson
Feb 13, 2007 at 4:50 PM
Point.AsBinary()
Feb 13, 2007 at 11:04 PM
Thanks!