|
POST
|
I was able to connect MySQL data tables to ArcCatalog and ArcMap 10.0 with this procedure: Connect ArcGIS Desktop to MySQL Database but I haven't been able to get it to work with Desktop 10.2.2.
... View more
11-03-2014
03:15 PM
|
0
|
0
|
686
|
|
POST
|
In Windows 7, the folder My Documents is actually still c:\Users\YourName\Documents, where "YourName" is your user or log in name. Try this: click on that little blue ball with the window logo in the lower left of Windows. (Usually lower left). In the box that says "Search Programs and Files" type in the name of your access db. When you type in enough of the file name, you can spot it in the results above. Right click on the DB name, click properties, then in the properties window you can see the full path to your DB under the shortcut tab in the Target box.
... View more
11-03-2014
02:43 PM
|
0
|
0
|
819
|
|
POST
|
The author of the tools, Thomas Dilts, had some good suggestions for me. I created a new map project with just the pertinent rasters in it. Set the units in the kernel densities to square map units. Clipped the bare earth raster and the stream raster to a small area of interest and sent to the output to a new file geodatabase on the C: drive rather than the SCSI external RAID where the whole rasters were stored. Then ran the 10.1 model, and I got good looking results in 29 minutes. Good looking except I have some -74 results in the output grid. So I changed too many things at the same time to be able to narrow down the cause of the earlier failures.
... View more
10-16-2014
02:38 PM
|
0
|
3
|
1697
|
|
POST
|
You have that radio button for "Run only when user is logged on" clicked. Is your account still logged on when the script is scheduled?
... View more
09-25-2014
02:39 PM
|
0
|
0
|
1105
|
|
POST
|
I found a link to the Great Basin Landscape Ecology Lab that has a link to Riparian Topology Toolbox which is a link back to the old ESRI ArcScripts web page. But a search of this current Geonet thing doesn't find its way back to the old Arc Scripts and there hasn't been a good replacement yet. The toolbox was designed to run in Desktop 9.1 to 9.3. So far I haven't been able to get useful results by running this in Desktop 10.2.2
... View more
09-25-2014
11:44 AM
|
0
|
4
|
1697
|
|
POST
|
I found the old Arcscripts at least, but it is not getting updated.
... View more
09-15-2014
10:16 AM
|
0
|
1
|
922
|
|
POST
|
How the heck does one search for user shared scripts in this GeoNet world? I found some 2011 discussions about how ArcScripts was replaced by script galleries over at ArcGIS.com, but I didn't find much there.
... View more
09-12-2014
04:40 PM
|
0
|
5
|
4565
|
|
POST
|
Everyone seems to be talking about relative water surface elevation lately, but I can't seem to come up with the correct search terms to find out more on how it is done. I get the basic idea that you subtract a grid of elevations of stream course from the overlying land surface elevation and you get a grid that should show you where the stream might be able to break through to create a new stream path. But how to you extrapolate the elevation of a stream out under the stream banks appropriately? Is the same elevation from the stream always appropriate all along a line perpendicular to the stream? And what do you do in stream meanders where the perpendiculars intersect? Is the subject that I want to search for HAWS, for Height above Water Surface?
... View more
09-11-2014
03:02 PM
|
1
|
6
|
5273
|
|
POST
|
This my project in a 10.2 toolbox and a 10.x toolbox. Hey, I thought this new forum had a place to attach zipped files. Well, I can make a link to Dropbox. https://dl.dropboxusercontent.com/u/9369478/ClipLidar.ziphttp:// Oh, maybe I just had to get to the advanced editor in this forum. The project was to export just an area of a LIDAR job by walking the directory tree of a LIDAR job, find tifs, shapefiles, and grids, clip them to an area of interest, and write them out with the same directory tree structure as the input folder, and make it run in 10.0 so without da.walk. There is some repeated code doing the clipping for each data type that might have been done in a function for extra style points, but each data type is a little different. Changed my script enough so two arguments are set by GetParametersAsText. I thought about setting env.overwriteOutput as an option in the dialog box, but then decided I always want to overwrite. Figured out how to add arcpy.AddMessage for some of the print statements I had to monitor progress. I also figured out how to get Desktop Geoprocessing Options set so right click>edit goes to IDLE. I like this environment.
... View more
09-11-2014
10:17 AM
|
0
|
0
|
1240
|
|
POST
|
Thanks, I missed that somehow. That worked for me. I had started working on a python toolbox, but this is much easier. This also answers another question I had, How can my user get the script out of the toolbox to see how it works and maybe make slight changes.
... View more
09-09-2014
03:53 PM
|
0
|
1
|
1240
|
|
POST
|
I thought the idea with script tools was that I could zip up a toolbox containing my script tool and sent it to a colleague. But when I try it, the toolbox unpacks at the destination and the tool source still references the python script in its old absolute path. What is the correct way to distribute script tools?
... View more
09-09-2014
02:48 PM
|
0
|
1
|
1240
|
|
POST
|
This was what I should have been reading too: Accessing parameters in a script tool Worked great. Look, I'm a developer now!
... View more
09-08-2014
02:20 PM
|
0
|
0
|
2366
|
|
POST
|
I think this is what I was looking for, except I'm using 10.2.2 so I found the corresponding help pages for my version. Reading the Docs now and went through the Add Script dialog. But I need to understand better the "Setting Script tool parameters" because I haven't figured out how I set a tool parameter to replace the input FCs that my python script now sets as variables from strings in the script e.g. InputFolder = "c:\\avdata\\PythonTest\\ClipLidar\\TestData\\Input"
... View more
09-05-2014
05:02 PM
|
0
|
3
|
2366
|
|
POST
|
I've been writing some python scripts for colleagues that get stuff done, but I'm forced to have the users edit the scripts to insert the data paths and file names for their situation. The best user interface I can come up with is to put these user editable variables up in a section near the top of the script. I've been looking around for a way to make user interfaces more slick, like a VB browse to data box that would allow the user to browse their directories for their input files, but haven't found the correct place. I snooped around in the docs for Python Add-ins, but decided that is not what I'm looking for. http://video.esri.com/watch/2288/developing-python-add_dash_ins-for-arcgis-desktophttp:// at 3:08 pretty much tells me there is no custom UI support in python add-ins.
... View more
09-04-2014
04:15 PM
|
0
|
18
|
6811
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-28-2018 04:57 PM | |
| 3 | 09-20-2017 02:37 PM | |
| 1 | 09-20-2017 02:21 PM | |
| 1 | 03-09-2018 03:25 PM | |
| 1 | 03-12-2015 02:06 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|