|
POST
|
Please can you share your feature class for us to suggest a correct solution?
... View more
06-15-2012
01:43 PM
|
0
|
0
|
937
|
|
POST
|
Try the feature Compare tool in your model. I am assuming you are using the Feature Class Iterator in your model to iterate and copy your feature classes. Use the Feature Compare tool and for the test feature class parameter (open the tool dialog. It is the second parameter) give the path to your workspace that already contains the feature classes from previous backup : some thing like this C://Backup/%Name%. This %Name% is the variable name of the output of the Iterator. As long as the feature classes you are copying and the feature classes that already exists share the same name this will work. For the first time you can just copy the feature class without worrying about copying only the feature classes that have been modified. One of the outputs of the feature compare tool is Compare status which becomes false if the feature classes you are comparing are different. You will have to set an if-then-else condition here to say if it is false run the feature class to shapefile tool, else do nothing. There is a series of blogs on if-then-else blogs that will help you. If you are stuck at "if" �?? Part 1 If you are stuck at "if" �?? Part 2 �?? Example of using Script tool to create branches using if-else logic If you are stuck at "if" �?? Part 3 �?? Does Extension Exists model example If you are stuck at "if" �?? Part 4 �?? Does Selection Exists model example For your case just using the Calculate Value tool as shown in this blog If you are stuck at "if" �?? Part 1 will suffice.
... View more
06-15-2012
01:39 PM
|
0
|
0
|
3386
|
|
POST
|
Try this: Your iterator has two outputs - 1 is the actual path to the feature class and the 2 (variable called Name in Cyan color) is the name of the feature class. Use this variable called Name as inline variable substitution in the output name of the Polygon to raster such that your output raster parameter value looks like this C:\\Temp\%Name%. Save where ever you want, only use the variable name %Name% as the output name. This will create new rasters with same name as the feature class they came from. Tip: Write the output raster to a separate file geodatabase than the incoming feature classes. Write it to a geodatabase to avoid issues with any name being longer than 13 character length.
... View more
06-14-2012
03:15 PM
|
0
|
0
|
3593
|
|
POST
|
You can use the Collect Values tool in the same model as the iterator and then this model in another model as the link shared by j.quinn shows. Or you can use the Append tool directly in the model with the iterator without the Collect Values tool. Both Append and Merge require a multivalue input, but with Append tool you are only appending the table to the target dataset and therefore you can run it as many times as the iterator runs . On each run you will only get one feature class/table being appended to the target thus eliminating the use of Clollect Value tool. Only you have to do some extra work in creating a target dataset which has the schema containing all possible fields that your feature classes could have.
... View more
06-14-2012
03:06 PM
|
0
|
0
|
2708
|
|
POST
|
Try this: Use Copy Features tool and copy the joined feature class. Now do you see all your records? Please can you give more details about your join : Are you using the Add Join tool or the Join Field tool or joining from ArcMap Table of Contents by right clicking and joining the layer and the table? Are you using the Keep All or Keep matching option?
... View more
06-14-2012
10:27 AM
|
0
|
0
|
588
|
|
POST
|
To put all the feature classes together in one feature class use the append tool in the same model as the iterator. Please can you share a snapshot or your actual model to suggest more/alternative approach?
... View more
06-14-2012
10:24 AM
|
0
|
0
|
2708
|
|
POST
|
I can't add into the table of contents any layer I want from my model only checking "Add to display". The results of geoprocessing are added automaticaly but are not displaying using LYR path set in their properties. Not sure what you are saying. Try these: You can add any input or output layer to display by checking the add to display option. If AFTER YOUR MODEL RUNS the layer does not get added to the display, in your model uncheck the add to display and check it again for it to refresh the display for the layer desired. The final output AND any other output which is a Model Parameter will be added to display by default. So if you do want to force an output to be added to display in ArcMap, make it a Model Parameter. Any feature class/ layer variable with a layer symbology set from its properties will honor the symbology if your model has run and the symbology applies to the new output. Read this help to understand the difference between checking and unchecking "All other Values" when you are creating a layer file to be used in variables. Let me know if these options don't work for you.
... View more
05-04-2012
11:37 AM
|
0
|
0
|
1260
|
|
POST
|
try the attached script tool. You can modify the script tool if you require. + since you are using the iterator (which runs multiple times) and the Union tool (which should run just one time) you will have to created a nested model/model within a model. See attached tbx.
... View more
05-03-2012
03:09 PM
|
0
|
0
|
2141
|
|
POST
|
Ok I understand your point. At present there is no way to create a value list variable in the model and connect it to the Union tool. Python script is the way to go. I created a script tool, but before I share I need to know - if you will use the Rank field for any of your input feature classes? If not I can share the simple script tool else I would have to modify it to include the ranks.
... View more
05-03-2012
01:54 PM
|
0
|
0
|
2141
|
|
POST
|
You are correct. Union has the parameter of data type Value Table and the output of Collect Values is a Multiple Values. Share a snap shot/or your data to suggest a workaround. Will Merge or Append not work for your case?
... View more
05-01-2012
01:00 PM
|
0
|
0
|
2141
|
|
POST
|
Use Make Table View tool instead of Make Feature Layer.
... View more
04-27-2012
08:54 AM
|
0
|
0
|
4338
|
|
POST
|
It could be a bad install. Uninstall and reinstall ArcGIS. Do a complete install and not a custom one.
... View more
04-25-2012
02:06 PM
|
0
|
0
|
1508
|
|
POST
|
Right click the outputs (green ovals) of your tool which create the intermediate shapefiles and make sure the Intermediate option is checked. If you are running the model from within ModelBuilder you have to manually delete the intermediate data (Model drop down menu and click Delete Intermediate Data) If you are running from the model tool dialog it will get deleted with the Intermediate checked. Refresh your catalog to see.
... View more
04-24-2012
03:52 PM
|
0
|
0
|
687
|
|
POST
|
Try this: Create a string variable in the model and rename it to Location. Make it a model parameter. Set a value list filter on this variable (read help) The value list will have two values - 1) Greenland 2) Antarctica Rename your feature class to have the same spelling/name as these entries in the value list. Value list is the way a user would choose a location. Now use the variable name in the input path to your tool like this - C:\Temp\%Location% This inline variable substitution is the way the user selected value will be used in your tools to select the input.
... View more
04-23-2012
02:01 PM
|
0
|
0
|
992
|
|
POST
|
Hi brenth, Please can you share your model or a snapshot of your model so see what you are doing? You are trying to connect the output of which tool to the delete tool?
... View more
04-20-2012
11:14 AM
|
0
|
0
|
1977
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-02-2026 11:53 PM | |
| 3 | 12-03-2025 10:47 AM | |
| 4 | 11-13-2024 11:37 AM | |
| 1 | 08-28-2023 05:43 PM | |
| 1 | 08-31-2023 02:03 PM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|