|
POST
|
I have always not been in favor of automated updates, maybe this is because I have been burned (too many times, over the last 30 years) by software updates breaking workflows! In fact, for our campus installs, my ArcGIS Pro silent install script uses the ArcGIS Pro installer CHECKFORUPDATESATSTARTUP=0 flag to block update notifications in ArcGIS Pro so I keep my students at the same version of ArcGIS Pro through the semester. This forces everyone to be on exactly the same version of the software during the academic term so student projects don't get derailed by an unexpected introduced bug, or even a new functionality that not everyone on campus has yet.
... View more
11-11-2020
07:52 PM
|
0
|
0
|
2604
|
|
POST
|
Are there any issues with your ArcGIS Pro license when you start it up and look at the licensing? If your license server is unreachable, Pro will not work either. Another issue to check out if you have checked out your license and it has timed out. Looking at Pro would illuminate that issue as well.
... View more
11-11-2020
07:23 PM
|
1
|
0
|
3587
|
|
IDEA
|
It occurred to me that it's pretty easy to get these with an arcpy method, so maybe it's a matter of documenting this functionality for use with Calculate Value: Executing (Calculate Value): CalculateValue arcpy.GetSystemEnvironment("AGSDESKTOPJAVA") # Variant Start Time: Wednesday, November 11, 2020 8:18:36 PM Value = C:\Program Files (x86)\ArcGIS\Desktop10.7\ Succeeded at Wednesday, November 11, 2020 8:18:36 PM (Elapsed Time: 0.00 seconds)
... View more
11-11-2020
07:20 PM
|
0
|
0
|
2799
|
|
POST
|
I have used the Calculate Value tool to calculate a string (including line feeds as chr(12) as the Calculate Value tool does not play with with \n). "@@@Report line 1@Data {}@Report line 3@@@".format(value).replace("@", chr(12)) You could use precondition or If Value Is to control whether this thing executes or not. The result comes out in the user messages as VALUE =
Report line 1
Data 2345.3435
Report line 3
The alternative is to write a messaging Python script but I think it is nifty you can do it within the ModelBuilder tool. Should sure like a messaging tool built-in.
... View more
09-22-2020
06:51 PM
|
1
|
0
|
1893
|
|
POST
|
This worked for me, and someone marked my answer correct so I think this issue was resolved. Feel free to continue the thread if you have a question on this tool.
... View more
09-22-2020
04:14 PM
|
2
|
3
|
2245
|
|
POST
|
The answer depends on what you are merging and why. For example, if wanted to find the cell by cell maximum or mean and they represent numeric values, the Cell Statistics tool is what you want. If they are all adjacent tiles of the same layer, the Mosaic to New Raster tool is for that. Can you provide more information?
... View more
09-22-2020
04:09 PM
|
0
|
0
|
1034
|
|
POST
|
I do not understand what you want to do with the non-intersecting areas - the reason NoData exists is to mark areas of missing data so you do not have a nonsensical weighted overlay results. Map Algebra is very flexible but of you want an output cell value of some kind you need to assign it some value. If you want them all just set to zero the simplest thing is to just do the weighted overlay, get the result with the NoData, and convert all NoData to a 'missing value' of your choice: fixed = Con(IsNull(result_raster), 0, result_raster)
... View more
09-16-2020
08:35 AM
|
0
|
0
|
10024
|
|
POST
|
Esri grids are still supported in ArcGIS Pro. Like the old coverage format, grids are folders with .adf files and requires a parallel INFO folder with more .adf files. It is possible someone gave you corrupted grids by copying the grid folders without the (required) info folder. Raster file formats—ArcGIS Pro | Documentation Esri Grid format—Help | ArcGIS for Desktop
... View more
09-10-2020
10:42 PM
|
0
|
0
|
2688
|
|
POST
|
Yes 10.1 was a long time ago! The new ArcGIS Pro metadata module is totally the way to go if you just want to dump lists of basic item info from metadata. Much better than what is available in ArcMap for many things: very fast and solid read-write access (compared to Python XML parsing or the old ArcMap conversion toolbox tools).
... View more
08-26-2020
02:55 PM
|
0
|
0
|
6391
|
|
POST
|
Have you tried this tool? Join Features (GeoAnalytics Desktop)—ArcGIS Pro | Documentation
... View more
08-07-2020
01:46 PM
|
0
|
1
|
2086
|
|
POST
|
I cant edit the first post. Look for the edit button at upper right (you can't edit in a dropdown but you can edit by clicking up there). Not that it matters that much: new Geonet platform soon!
... View more
07-18-2020
09:33 AM
|
0
|
0
|
2558
|
|
POST
|
I would add a model step to copy feature on your selection so you can see exactly what the input to the second tool looks like. It looks like you're not getting the data you want selected on the first ModelBuilder iteration.
... View more
07-16-2020
11:24 AM
|
1
|
0
|
2270
|
|
BLOG
|
Sorry to say, I kind of dropped the ball and didn't push Esri for a Metadata SIG in the virtual UC this year. I apologize, I simply didn't think of it. Nevertheless, there is a lot of great content in the UC on open systems and interoperability, see: https://community.esri.com/community/open-platform-standards-and-interoperability/blog/2020/07/13/join-us-virtually-at-the-esri-uc-2020 and:Aleta Vienneau's on-demand tech session: Understanding and Using Metadata in ArcGIS. Aleta recorded a nice video reviewing the metadata experience on Desktop and Online, and demonstrating value of metadata when rescuing old data. She also showed how to set up metadata on ArcGIS Enterprise so that metadata updates migrate and stay in synch to AGOL when edited. If you did not sign up for the EsriUC, the EsriUC content is expected to go public on September 1 (if not earlier). Personally, I had some experience with the Python metadata module this year, using it in this tool DLG To GDB that imports DLG data, I wanted to capture some of the information stored in the original DLG file in the metadata so it would not be lost to the sands of time. It worked great! So if you want to see a real-world example of that ArcGIS Pro arcpy module, you can download that tool. (Even if you don't have Interoperability Extension and can't run the tool, you can edit the script tool to look at the python code and see what it does.) I did catch up with Aleta yesterday through the EsriUC networking tool. She is planning a Metadata SIG online meeting later this year, look for details posted here to the Metadata community soon. Warm regards, metadata-heads! I missed meeting you in San Diego!
... View more
07-16-2020
07:36 AM
|
3
|
1
|
1816
|
|
IDEA
|
examples of windows environment variables. If the variable didn't exist the expected behavior would what is is now when you specify a variable that does not exist, ie you get the literal "%VAR%" unmodified. Path to create a folder in TEMP for the model to log information: Create Folder, folder: %TEMP% name:%COMPUTERNAME%_%USERNAME% Access the 1:24K quads in the ArcMap folder: MakeFeaturesLayer %AGSDESKTOPJAVA%\\Reference Systems\World Time Zones.shp quads Find out it ArcMap is installed: CalculateValue arcpy.Exists(r"%AGSDESKTOPJAVA%") Find out if ArcInfo Workstation is installed (haha) CalculateValue arcpy.Exists(r"%ARCHOME%") Write a status info table to %APPDATA%\ESRI folder TableToTable %logtable% %APPDATA%\ESRI\log%t%.dbf If expression to find out whether we have more than two processors: %NUMBER_OF_PROCESSORS% > 2 Access user defined variable (set by user in control panel) lay, MY_LOGPATH %MY_LOGPATH% To get a quick list of environment variables open a windows cmd window and enter: set
... View more
07-16-2020
06:49 AM
|
0
|
0
|
2800
|
|
IDEA
|
It sure would be great to access Windows environment variables in ModelBuilder as builtin model variables. For example %COMPUTERNAME% %USERNAME% or user defined ones set in the Windows Control Panel or in a startup script. I realize one can do this with Calculate Value calling os.environ["COMPUTERNAME"], but this would be easier. Way back in the 20th century, in ArcInfo Workstation AML, we could access windows env variables like AML variables with %COMPUTERNAME%. In that environment, if a windows environment variable conflicted with an AML variable, the AML variable would always take precedence to avoid confusion. I think that would be a good way to do it in ModelBuilder too. A very common use case for me is constructing path names, so for example %TEMP%\%USERNAME%_%t%
... View more
07-15-2020
09:54 AM
|
4
|
4
|
2836
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-11-2021 01:26 PM | |
| 5 | 12-10-2021 04:58 PM | |
| 1 | 02-27-2017 09:30 AM | |
| 2 | 12-04-2023 01:05 PM | |
| 1 | 04-12-2016 10:17 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-19-2024
12:10 AM
|