Thinking in GIS

a blog about GIS from a urban geogeek living at the countryside

Feed, Categories, Archives


PostGis WorkspaceFactory

Posted: February 21, 2007
Categories: GIS, .NET, ArcObjects, devs, PostGIS, ArcGis Desktop, ZigGis, COM
Feedback: View Comments

In my previous post I have showed you how to install and using zigGIS for adding PostGIS data into ArcMap.From the ArcMap user interface you just need to press the zigGIS button and an "Add PostGIS data" dialog will be shown to you. From there you can set a zig File path, where PostGIS connections settings are stored, and then a PostGIS layers list will be shown and you can check which layer(s) add to the map.In this post I will show how to programmatically use zigGIS and ArcObjects to add PostGIS data into ArcMap.zigGIS is a Microsoft .NET 2.0...
Read the full post

Installing zigGIS 1.1 for connecting ArcMap to PostGIS layers

Posted: February 14, 2007
Categories: GIS, .NET, ArcObjects, devs, PostGIS, ArcGis Desktop, ZigGis, COM
Feedback: View Comments

zigGIS is an Open Source PostGIS connector for ArcGIS Desktop, that enables ArcMap to add PostGIS layers in the map.Differently from other kinds of connectors, like for example PgArc, the very nice feature of zigGIS is the direct-read of PostGIS data, without the needs of proxy shapefiles. This meaning that the PostGIS features are directly readed and displayed in ArcMap from the PostGIS data source without a previous conversion to a Shapefile or personal GDB.This is a very interesting project, but still in a very early phase, in fact there are still important issues that are planned to be solved...
Read the full post

COM ArcObject passed to .NET library: how to cast, access and debug it

Posted: January 04, 2007
Categories: GIS, .NET, ArcObjects, devs, ArcGis Desktop, COM
Feedback: View Comments

Generally when developing your .NET ArcObjects library you are managing all .NET objects, because the ArcObjects are wrapped by the RCW, Runtime Callable Wrapper (preferably created by Esri, using the Primary Interoperability Assemblies, PIA, installed with ArcGIS desktop in the GAC).You can then expose your .NET library to COM by a CCW, COM callable wrapper, creating a tlb with regasm (automatically done using Visual Studio if you check the 'Register for COM interop' option, under the Build tag of project's property dialog).Using the RCW ArcObjects we are always using Managed code, so we don't get in troubles.But what if a...
Read the full post