12,471 reputation
1167155
bio website maphew.com
location Yukon Territory, Canada
age
visits member for 4 years, 8 months
seen 2 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
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.
Dec
5
comment How to Change Field Name in ArcGIS 10.2
@SoilSciGuy there is an around, and it is work, but it works ;-) How to reorder fields (permanently) in a file geodatabase
Dec
5
comment Applying version control to ArcGIS Models
I couldn't agree more about heavy reliance on GUI often being detrimental to reproducibility. The rub with code is in "so long as you are familiar with the language". The small size of that gate keeps a lot of smart and productive people outside, in the wilderness. Really the core of this question is searching for a way to widen that gate. It's frustrating because Modeller almost has both GUI and code. You're right, it is withering on the vine from lack of attention. Sad, we have people who are just now finding mojo in automation and scripting, through the approachability of Modeller.
Dec
4
comment QGIS 2.4.0 Setting raster layer to singlebandpseudocolor using minimum and maximum raster values
+1 for working example. To simplify your script use .GetMinimum(), from gdal.org/gdal_tutorial.html search for min = band.GetMinimum()
Dec
3
comment Is there a CASE Tool for modelling spatial databases?
what do the acronyms PK and FK mean?
Dec
3
comment Columns decimalLatitude and decimalLongitud not recognized while creating a layer from a csv file in QGIS
Esther if it can be reasonably expected to help someone else with a similar difficulty in the future, it's encouraged tp post your own solution and accept the answer. (deleting is fine too if the Q is too localized)