How to use NetTopologySuite.IO.GDBReader/GDBWriter

Topics: Data Access, SharpMap v0.9 / v1.x
Oct 11, 2012 at 2:55 PM

Hello,

How can I use the NetTopologySuite.IO.GDBReader/GDBWriter (found in SharpMap Extensions) and bind it to a VectorLayer?

Thanks in advance,

Pieter

Coordinator
Oct 17, 2012 at 8:01 AM

I wanted to to that for a long time.

In theory you take a provider (e.g. Postgis) as a template. Go through the code, replace the provider specific connection, command, reader and adapter objects with the ones you need (OleDb?). Then you need to adjust the SQL statements. Be sure to remove all utility functions that perform translation to wkb.

Hth FObermaier