12,787 reputation
1369157
bio website maphew.com
location Yukon Territory, Canada
age
visits member for 4 years, 10 months
seen 4 hours ago

hewer of maps, old time techie, newbie developer

woohoo, http://gis.stackexchange.com/ now open to the public!

personal - www.maphew.com
in-between - yukongis.ca
work - www.environmentyukon.ca

profile for matt wilkie on Stack Exchange, a network of free, community-driven Q&A sites


Jan
19
comment Exporting arcgis features with attachments, for outside ArcGIS
Some more resources to help with a python approach: * forums.arcgis.com/threads/… * gist.github.com/oevans/6992139 * github.com/bgeomapping/arcgis-rest-toolbox
Jan
19
comment Export ArcGIS Online feature service with attachments
argh! must get more sleep. Please ignore dupe flag. This Q is about just exporting, which works. The other one is about exporting and exploding so it can be used by other means besides Esri. I will update it accordingly soon.
Jan
15
comment Opening ArcGIS Desktop on specific license level?
I've updated my batch files implementing this approach to be version agnostic: github.com/maphew/arcplus/tree/master/SysAdmin
Jan
15
comment ArcObjects + comtypes at 10.1 and newer
I submitted a pull request to the comtypes project on GitHub: github.com/enthought/comtypes/pull/75. If this fix is applied upstream we won't need to do this anymore.
Jan
14
comment Remove username and password from saved arcgis layer (.lyr) files?
giving the bounty here, for exceptional clarity about a process that works, albeit unavoidably roundabout. The process can be recast in a script a la @Farid's answer, which is what I'll probably actually end up using with some simplification. The effort put in to this answer is commendable (though personally I tend to shy from screenshot heavy treatments).
Jan
13
comment How to set ArcGIS for Desktop license to lower level for testing whether Python script still runs?
Edit bugfix: previous example of bare do-stuff.py in line 2 would not work, as it invokes the ASSOC commandline, with a new default environment that inherit the setting from line 1.
Jan
11
comment Guidelines for using ArcObjects from Python
thank you for the edit, that helps a great deal
Jan
11
comment Remove username and password from saved arcgis layer (.lyr) files?
I don't need to remove the workspace, I need to keep the workspace, while removing the stored username and password.
Jan
8
comment Use arcpy to connect to database without connection file
As @Luke noted in comment to an answer, it's possible from Arcobjects. He has an example here: code.google.com/p/metageta/source/browse/tools/…
Jan
7
comment How do I access ArcObjects from Python?
Snippets module recast as installable ao module here: github.com/maphew/arcplus/tree/master/arcplus/ao (updated for 10.3, see previous versions of file for 10.2). Will update main answer once I get some bugs cleared out.
Jan
7
comment Guidelines for using ArcObjects from Python
thanks for the useful example! The thrust of the Q is (intended to be) less on specific task recipes and more on how does one get and write the info to build the recipe in the first place. For instance, how did you know to import comtypes.gen.esriArcMapUI as esriArcMapUI and then later use in pMxDoc = CType(pDoc, esriArcMapUI.IMxDocument) (and uncover the syntax in that statement)?
Jan
7
comment Guidelines for using ArcObjects from Python
A possible example to use: gis.stackexchange.com/questions/86007/… (disclosure: it's the problem I've been working on, that prompted the Q. Beat me to the (well-crafted) answer, get all the credit! ;-)
Jan
7
comment Create ESRI ArcSDE Connection File (.sde) using Python/ArcPy at the ArcView license level?
At Use arcpy to connect to database without connection file in a comment @Luke says this is possible accessing ArcObjects directly (no arcpy), however the specifics are left out.
Jan
7
comment How to use replaceDataSource to replace data source for multiple layers?
Voting to close as too localized. Q is old with little to no follow up, and unlikely to help future visitors in its present form. (that said, I will toss one possible life-raft: this sounds similar to my problems with validate when changing layer file paths gis.stackexchange.com/questions/6884/…)
Jan
7
comment Arcpy - change layer from sde connection to file geodatabase
Not an idiot! There are at least 4 methods provided for changing data paths and names in the official docs and it takes a lot of reading and trial and error to finally understand which one to choose for which circumstance.
Jan
6
comment How can I crawl directory tree and change Mxd relativePaths to true?
Also see the local canonical thread for using Pierssen's Snippets module at How do I access ArcObjects from Python?
Jan
6
comment Find and Replace data source script
...but not apparent to those that come a couple of years later @blah238 ;-) The link is broken, and even after making my own diff today with WinMerge I'm unsure which of the diffs made visible thusly are the "apparent" problem.
Dec
12
comment Equivalent of CORINE land cover data sets for rest of world
"the approach of editing this question to make it fit the answers and then asking a new one probably is best" -- Agreed. "look like an idiot" -- not at all, no one here is stupid. A tad confused perhaps, but in confusion lies the essential ingredients for insight and learning. It's the "here be dragons" of mental life.
Dec
12
comment How to use PostgreSQL/PostGIS with ArcGIS for Desktop?
Given the high visibility of this Q I encourage fleshing out this answer, so it's much more than a "see this link". In addition to the linked help files, there are also Editing PostGIS data in ArcGIS Desktop? and Using ArcGIS and QGIS together in multi-user editing environment?
Dec
12
comment How to use PostgreSQL/PostGIS with ArcGIS for Desktop?
-1, not because it was a bad answer, but because the passage of time and consequent changes has made it so (zig discontinued, now native arcgis support for Post geometry) and this answer shouldn't be at the top anymore.