6,009 reputation
11431
bio website geonet.esri.com/blogs/…
location Ottawa, Canada
age 61
visits member for 4 years, 9 months
seen 2 hours ago

Instructor Geomatics, Carleton University ON Canada


1d
comment Is there a quick way to see the fields in a table via arcpy?
simplify it further: print [f.name...... ] , then save your common 'stuff' in a text file that you keep open when using ArcMap... now if only you could get rid of 'lyr' as something to change
May
23
reviewed Approve avenza tag wiki
May
23
reviewed Approve avenza tag wiki excerpt
May
20
answered How do I tell if arcpy is installed?
May
20
comment Is it possible to withhold attribute data from a shapefile?
To be clear on Maksim's suggestion...you must export it to a new file...just turning a field off, zipping and emailing it will do nothing.
May
16
reviewed Approve county tag wiki
May
16
reviewed Approve extract-by-mask tag wiki excerpt
May
16
reviewed Approve county tag wiki excerpt
May
16
reviewed Approve adjacency tag wiki
May
16
reviewed Approve adjacency tag wiki excerpt
May
16
reviewed Approve extract-by-mask tag wiki
May
14
comment Stratified Random Sampling with large dataset in ArcGIS?
strange...I always found that to be a problem converting raster to vector is that you end up with multipart polygons. Do you have a sample of your raster table? Did you produce the polygons based upon the class values? You could also remove unnecessary classes first before the conversion to polygon perhaps doing it class by class, then dissolving, then sampling, then merging them back together
May
14
comment Stratified Random Sampling with large dataset in ArcGIS?
Can you explain why you need the dissolve when you can summarize on an attribute. The only thing that I see the dissolve required for is to make the vector table look like the raster table (ie. zones to multiparts)
May
14
comment How to calculate mean aspect in circular statistics?
gene... and of course this works in ArcMap's python shell as well, for completeness
May
14
reviewed Approve How can I add an interactive map to a PDF?
May
13
comment Converting points using FeatureClassToNumPyArray to interpolate cross-section with scipy “interpolate”
I don't understand your xnew line did you mean >>> x = np.arange(10) >>> y = np.arange(2,12) >>> xnew = np.arange(np.amin(x, axis = 0),np.amax(y, axis = 0)) >>> xnew array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) >>>
May
11
comment Efficient ways to read table data from a large feature layer?
First thoughts are the use of in_memory and the use of joined data. I would try to make the join permanent saving to a file on local disk and if that speeds things up then doing the same but saving to in_memory. This should be done before converting to an array. It could be the join or working location or a combination of both.
May
11
comment Efficient ways to read table data from a large feature layer?
Do you have a code sample? are you doing it all in numpy? There are many numpy options for querying which I am sure you are aware of, but the source of the time useage needs to be addressed as to whether it is on the arcpy or the numpy side.
May
7
comment Calculating the shortest distance along a given line using python
deja vu? is this the question of the week or a duplicate gis.stackexchange.com/questions/145117/…
May
6
reviewed Approve Geographic Transformations using ArcPy vs. Coordinate Systems used by ArcGis online basemaps