750 reputation
111
bio website
location Flin Flon
age
visits member for 1 year, 11 months
seen 4 hours ago

A bushpilot turned GIS Tech. Learning on the job in Mining related GIS.


Jul
21
accepted ArcObjects SQL Server Connection not recognizing instance
Jul
21
answered ArcObjects SQL Server Connection not recognizing instance
Jul
11
comment ArcObjects SQL Server Connection not recognizing instance
Ha! You're beautiful! It worked. I've run into not understanding database connection strings before. "What info goes where?" Do you have a recomendation on where to go to brush up on this? Many thanks!
Jul
11
comment ArcObjects SQL Server Connection not recognizing instance
I added another method I tried. I think this is the syntax suggested in the ArcObjects API Reference for 10.1, resources.arcgis.com/en/help/arcobjects-net/componenthelp/…
Jul
11
revised ArcObjects SQL Server Connection not recognizing instance
added 547 characters in body
Jul
11
asked ArcObjects SQL Server Connection not recognizing instance
Jul
11
comment Create an ArcCatalog OLE DB Connection using Python
I have 10.1 and I have tried this. It turns out that Query Tables and Query Layers can't be built from an sde file connection (which CreateDatabaseConnection_management creates). It's the wrong workspace type. It must be an OLE DB connection which Esri doesn't expose with Python. It can be done from ArcCatalog 10.1 though. You have to search the customize mode commands for "OLE DB", add it to your menus, and then you can create a new OLE DB connection with the User Interface. This isn't available through ArcDesktop though. Once the connection is there, then Python can use it.
Jul
8
revised How to get a Layer as ILayer (ArcObjects)
added 437 characters in body
Jul
8
comment How to get a Layer as ILayer (ArcObjects)
Great, that did it. I've updated my answer with the equivalent Python code.
Jul
8
accepted How to get a Layer as ILayer (ArcObjects)
Jul
2
revised How to get a Layer as ILayer (ArcObjects)
added 82 characters in body; edited tags; edited title
Jul
2
awarded  Curious
Jul
2
asked How to get a Layer as ILayer (ArcObjects)
Jun
27
accepted How do I programatically edit the layer 'Display Expression'
Jun
27
comment How do I programatically edit the layer 'Display Expression'
Ok, I had seen this and played with it, but never seriously tried to get it working. I wonder if I should bother though. This is something that will be given out to about 30 other users in our department and am unsure about making sure comtypes is available whenever the script is run. I maybe should just look into doing the add-in in C#. Thanks for your help!
Jun
27
comment How do I programatically edit the layer 'Display Expression'
That looks great. I've been looking through the tutorials in the Arc SDK Help, but it's not clear to me how I can integrate something like this with Python. I'm wondering if I'd need to do the whole add-in in C#, which I know a bit of. Or is it possible to somehow wrap this in a way I can access it from Python?
Jun
27
revised How do I programatically edit the layer 'Display Expression'
added 22 characters in body
Jun
27
asked How do I programatically edit the layer 'Display Expression'
Jun
20
accepted Parts needed to run Geoserver/PostGIS from a program like Microsoft Access
Jun
14
answered Parts needed to run Geoserver/PostGIS from a program like Microsoft Access