I have stored my data in PostGIS (PostgrSQL). Now I want to read the data in DotNet ArcEngine Application using VB.NET/C#.
Anyone know how to read the data from PostGIS in .Net?
I myself load geometry from an Oracle database into .NET. I use de OGC libraries supplied by GDAL. It is not pleasant to handle the geometry this way. In retrospect I would try and use the libraries from the SharpMap application.
Assuming you have ArcGIS 10, the easiest way to view PostGIS Data in an ArcEngine Application, is to create a query layer in ArcMap, and then save it as a .lyr file. You should then be able to view the data in your ArcEngine Application
If you want to Edit data or do complicated queries, you can use the new ISQLWorkspace interface.