13,103 reputation
1372159
bio website maphew.com
location Yukon Territory, Canada
age
visits member for 4 years, 11 months
seen Jun 30 at 22:17

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


Mar
27
comment ogr2ogr select feature class from multiple filegdb
This works. Where I went astray was thinking multiple input files were allowed, similar to gdal_merge. Also, much to my delight, input gdb-in-zipfiles work, although with hundreds of apparently harmless Recode UTF-8 errors.
Mar
24
comment How does the geoprocessing results window store the tasks?
FWIW, the bug is still present in 10.3. I logged it with Esri, BUG-000082214 - [Renaming a result in the Results window is not maintained when an MXD is closed and reopened.] (link here, once it gets published).
Mar
14
comment Improving ArcGIS Results saving and manipulating
Thanks! It's under %AppData%\Roaming for me. That does look to be a trove of good information for what-happened-here forensics. It's usability leaves much to be desired. For instance the command lines are full of '" and would need to parsed before re-using or keeping for documentation. I wonder what the relationship between these logs and results are? If we could feed the logs to (the better parts of) Results UI there's a lot more things possible.
Mar
14
comment Improving ArcGIS Results saving and manipulating
Thanks for some things I didn't know about! Rebuttals: saving arccatalog results: I use Arccatalog when no map needs making, e.g. data conversion. It's generally faster to start than Arcmap, and doesn't has as much stuff in the way. Bottom line is: I use a tool to do a chain of things, I want to save the steps.; Fc2Fc gp tool is not same as Data>Export (e.g. no "selected records"); Drag to shared: nope, can't do it. When I let go nothing happens; maybe a version bug? Using 10.3. Knowing it works for others, I'll dig.
Mar
12
comment Splitting shapefile into separate shapefiles for each feature using QGIS/GDAL/SAGA?
is this different from the plugin suggested by @oeon?
Mar
12
comment Splitting shapefile into separate shapefiles for each feature using QGIS/GDAL/SAGA?
this isn't a complete duplicate, the Q linked to is ArcGIS only while this one is open to other platforms. An important difference for me today ;-)
Mar
9
comment SQL-query in arcpy - SELECT WHERE feature between two values
perhaps failing because the numbers are being compared as strings instead when BETWEEN used, while < forces numeric(?)
Mar
2
comment How to copy attributes from one polygon layer to another?
for people wondering what happened to the "Celenius" mentioned various places in this thread: now know as @djq, and his/her answer is here. Kudos to wayback machine: web.archive.org/web/20120127210858/http://gis.stackexchange.com/…
Mar
2
comment Raster diff: how to check if images have identical values?
@Aaron, I got pulled off the project to do other things. Part of that was because the development time kept growing: too many edge cases to handle automatically, so the decision was made to throw the problem back at the people generating the images rather than fix them. (e.g. "Your disk quota is X. You learn how to work inside it.") However gdalcompare.py showed great promise (see answer)
Feb
26
comment Clipping faster (i.e. in bulk/batch) in ArcGIS for Desktop?
Thank you Alex, this was the essential kickstart I needed for ArcGIS desktop map package, with clipping.
Feb
26
comment Set arcpy command line parameter same as Tool parameter
and here's the script that started it all: github.com/maphew/arcplus/blob/master/ArcToolbox/Scripts/…
Feb
26
comment Set arcpy command line parameter same as Tool parameter
Aside: I cautiously added some debugging info to upstream C:\ArcGIS\Desktop10.3\arcpy\arcpy\analysis.py, and discovered the 1st and 3rd arguments are Unicode encoded while the 2nd is not. It looks like this is an omission and a bug waiting to manifest, but doesn't appear to have any bearing on what I encountered here. The addition: print '\nDEBUG: ',(in_features, clip_features, out_feature_class), '\n' at line 53, between try: and retval = .... Result: _"DEBUG: (<map layer u'Clip_Poly'>, 'current_aoi.gdb\\Clip_Poly', u'scratch\\clipped\\clipped.gdb\\Clip_Poly')"
Feb
25
comment Set arcpy command line parameter same as Tool parameter
@KHibma: if lyr.isFeatureLayer: arcpy.Clip_analysis(lyr,clip_layer,out_layer), whole script coming shortly.
Feb
25
comment Set arcpy command line parameter same as Tool parameter
Using sys.argv doesn't change things. There's something different about what is passed to the script when it run from a toolbox than from command. I'll add some more details and put everything online somewhere.
Feb
25
comment AttributeError with unicode object with data frame in python script
to refine @JasonScheirer's comment the file filter syntax is mxd; mxt (semicolon delimiter, no dots)
Feb
19
comment I want to conect a slider with different columns of data in CartoDB
Welcome to GIS Stack Exchange :) I think the code formatting is messed up. When in edit mode select the code text and use Ctrl-K to indent (and keep an eye on preview to see if results are correct).
Feb
19
comment Is the column order returned by arcpy.ListFields() always the same?
That's all in one session. I wouldn't count on it being the same across sessions (but wouldn't be surprised if it was). Longer term, I'm always hesitant to rely on any index or retrieval system which uses position number instead of name or ID.
Feb
16
comment Converting Shapefiles to Text (ASCII) files?
I fixed a couple of bugs and updated the 9.x developer sample of WriteFeaturesFromTextFile for 10.x, grab it from github.com/maphew/arcplus/blob/master/ArcToolbox/Scripts/…
Feb
16
comment Ungenerate command in ArcGIS for Desktop?
Guess I've been outvoted. ;-) Here's the short form of my answer: I fixed a couple of bugs and updated the 9.x developer sample of WriteFeaturesFromTextFile for 10.x, grab it from github.com/maphew/arcplus/blob/master/ArcToolbox/Scripts/…
Feb
13
comment Ungenerate command in ArcGIS for Desktop?
Converting to ascii is closely akin to ungenerate, but not a duplicate. Ascii is general, many/any text format can fit, while ungenerate is specific. Please reopen (I have a direct answer ;-)