[GIS] How to draw line/multiline, polygon/multipolygon with SharpMap from Coordinate Source

cjsonpolygon-creationsharpmapvb.net

I have a list of n points, exactly x objects in GeoJSON from a CouchDB. I want to generate lines/multilines and polygons/mutipolygons with
SharpMap and add this to a Layer in VB.NET. For points its easy, but for the rest: I don't get it. Must I use ICoordinateSequence?

So, can anybody post here some example to generate such geometries dynamically from coord-list-like text- or GeoJSON/JSON-Sources (maybe here its another workaround than for plain text?), much detail as possible.

Best Answer

You could look at: var jsonSerializer = new NetTopologySuite.IO.GeoJsonSerializer(); jsonSerializer.Deserialize(...)