|
POST
|
I searched the whole C drive for Model Functions.tbx, but didn't find it. Wouldn't that be the search term? Is the space in the file name a problem? I don't think it is one of my toolboxes. I didn't see Model Functions toolbox used in my little model, so I think it is strange that the export from model to Python comes up with this required load.
... View more
11-17-2017
10:36 AM
|
0
|
3
|
2920
|
|
POST
|
I was playing around, testing the iterative and looping features of Model Builder in 10.5, to see if they were now complete enough and easier for me to understand than looping in python. I made a little model that selects a few rasters with a wildcard out of a workspace with Iterate Rasters and then changes the projection, writing the output to a new folder and using the %Name% variable to create similar names on the output files. I got the model to run, then I exported to python to see how the iteration was handled by the export. Well, the python script doesn't contain any of the iteration stuff. I thought it might run one time but it doesn't. Seems like the export to python inserted a couple lines # Load required toolboxes
arcpy.ImportToolbox("Model Functions") But at run time, IDLE doesn't know the path to this toolbox. Where do I find it? Traceback (most recent call last): File "G:\elevation\lidar2010\Orthophotos\testiterativemodels\iterateRaster.py", line 14, in <module> arcpy.ImportToolbox("Model Functions") File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\__init__.py", line 125, in ImportToolbox return import_toolbox(input_file, module_name) File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\toolbox_code.py", line 452, in import_toolbox toolbox = gp.createObject("Toolbox", tbxfile) File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\geoprocessing\_base.py", line 381, in createObject self._gp.CreateObject(*gp_fixargs(args, True)))IOError: The toolbox file Model Functions was not found.
... View more
11-16-2017
04:38 PM
|
0
|
6
|
5008
|
|
POST
|
I am having trouble with this again now that I have upgraded to ArcGIS Desktop 10.5. I must have had settings that were not preserved in the upgrade. I don't remember how I solved this last time. Still running Windows 10 Pro. I don't see a way to uninstall IE, 11 in my case. It doesn't show up under "Add or Remove Programs" and isn't it intertwined with the Windows OS? I have gone through all the IE internet security setting as explained in Problem: Issues with ActiveX controls when launching ArcMap , restarted ArcGIS, rebooted, still have the problem. Update: I did find a way to uninstall Internet Explorer 11 in Windows 10 by going to Windows Features. How to Uninstall IE11 From Windows 10 Still have ActiveX warning messages all over Arc Tools. Even with IE uninstalled, the system still has Edge installed, and there are still the same Internet Properties>Custom Level>Security Settings to deal with.
... View more
11-02-2017
01:50 PM
|
0
|
0
|
957
|
|
POST
|
Thanks Dan. But I was over thinking this. The separator for MOD in this environment is a comma, so MOD("MILE_NR", 10) = 0 works just fine. No need to convert MILE_NR to an integer even! I just need to read the docs more carefully!
... View more
09-20-2017
02:37 PM
|
3
|
0
|
4645
|
|
POST
|
I thought I have done this before but I can't make it work in Definition Query> Query Builder. If I just want to select features from a feature class for an item that evaluated to even 10s, like MOD("MILE_NR" / 10) = 0 Can't I use MOD in my Definition Query? Don't see MOD in the Query Builder Help, but I see it in the SQL reference docs. Is it because the item MILE_NR is float, 0, not an integer? Didn't see INT in the Query Builder Help either, so I also tried MOD(ROUND("MILE_NR",0) / 10) = 0 Same message "invalid SQL statement was used" Do I need the do this selection in Python?
... View more
09-20-2017
02:21 PM
|
1
|
2
|
6628
|
|
POST
|
I added a new user to a role in ArcServer 10.3.1, on SQL server, in a networking environment using a windows domain. The new user added in in the form of domain\username. I wanted to test the privileges I granted the new user, but couldn't figure out a good test. I tried both the new user and an existing user's login to start ArcCatalog 10.3.1 as a different user (right click, run as a different user), ArcCatalog started I guess as that user, but I couldn't seem to make the database connection as one of the users. For Authentication type, the OS authentication choice grays out the User name, password boxes as I expected, but I would suppose that means the connection would be with my current machine login credentials, not one of the users. If I choose Database authentication, then I can't make the domain\username or just the user name with the user's password work to see any database on my server. Or wait, maybe I am getting a different list of databases when I run ArcCatalog as one of these users and using OS authentication than when I start AC as myself. How did I get talked into using Windows OS authentication? I get so confused.
... View more
05-09-2017
05:59 PM
|
0
|
0
|
693
|
|
POST
|
Yes, I'm using linear referencing when I point at the tagging location with the Identify Route Locations tool, writing down the route number and measure. What I am stuck on is how can I also walk the linear referencing downstream to get a measure on the stream that is jointed and then the next, automatically?
... View more
02-09-2017
04:10 PM
|
0
|
1
|
511
|
|
POST
|
I keep getting asked about this and wondered if there is an elegant solution. For our PIT tag release locations, I am commonly asked how many river KM the location is up from the mouth of the stream and what the river km is on the receiving stream for the mouth of the contributing stream. While I can use the Identify Route Locations to point at these locations down the stream on a stream route layer like SSHIAP (in Washington State), and copy down the route measures, is there a better method where I can overlay a point feature class on stream routes and get that information of point measure and confluence measures downstream? Is there a way to get route measures from NHD?
... View more
02-03-2017
03:54 PM
|
0
|
3
|
1465
|
|
POST
|
Thanks, that worked too! I was so surprised that it didn't work with Copy Raster setting a mask in the environmental variables. I thought that is how I had clipped to an irregular polygon in the past. But I can't find any mention of Mask in the list of Environments in the tool help. I must have been thinking about using a mask with Spatial Analyst tools, like surface toolsets.
... View more
12-28-2016
01:41 PM
|
0
|
0
|
3686
|
|
POST
|
Oh, I see, I needed to take the additional step of running my FC polygon mask through Convert Features to Graphics, then the option to use selected graphics worked to clip the elevation raster non-rectangularly, even though selecting the graphic showed rectangular handles around the graphic. I had trouble figuring out what to do with the graphic that was on top of the clipped raster, had to remove it, because putting it to the back didn't put it under the raster. And I think I see how I could do the same thing in the Image Analysis window. But, man, I had a hard time spotting the Export button in the Image Analysis window. It's under Processing.
... View more
12-28-2016
11:40 AM
|
1
|
0
|
3686
|
|
POST
|
Data > Export Data - Using Selected Graphics (clipping) looks like it might work but the Selected Graphics radio button is grayed out. There must be something I don't understand about the Selected Graphics concept. I have tried having my clip polygon FC on the map and selected. Instead of a FC, is selected graphics supposed to be a graphics sketch? A search for "selected graphics" doesn't help me. Yesterday, Help lead me into the Image Analysis Window, but I was having trouble using it.
... View more
12-28-2016
11:05 AM
|
1
|
1
|
3686
|
|
POST
|
I was aware of the Clip tool, but didn't want to use it because my clip area was not rectangular. Extract by mask was something new, but it looks like I would need an additional step of rasterizing my clip polygon.
... View more
12-28-2016
10:59 AM
|
0
|
2
|
3686
|
|
POST
|
I thought I could trim an elevation raster to the outline of a non-rectangular. polygon with Copy Raster if I used the polygon as a mask in the environments, but I just got the entire raster in the output. And I don't see Mask in the Environments section of the help for Desktop 10.3.1. I thought I had done this before. The only way I could figure out how to do it was create a new terrain out of the multipoints I have for the smaller extent, and use the mask polygon as a soft clip in the terrain generation. The I ran Terrain to Raster. Is this the only way?
... View more
12-27-2016
04:05 PM
|
0
|
9
|
6979
|
|
POST
|
For more the month, I have been trying to get in contact with the Puget Sound Lidar Consortium about the availability of LAS files for the 2015 Klickitat survey. I've tried asking at the email links provided on the web page at Puget Sound LIDAR Consortium Home but haven't gotten an answer, and some of the email addresses provided on their website sent back a bunch of "The address may be misspelled or may not exist." or "huffmanp is not authorized to relay messages through the server that reported this error." which makes me wonder if some dead links or dead email addresses are not allowing my query to get through to anyone. Does anyone have a up to date contact for the Consortium?
... View more
12-23-2016
11:21 AM
|
0
|
3
|
1907
|
| 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
|