|
POST
|
I suspect this gentleman would have some ideas:Richard Fairhurst https://community.esri.com/community/developers/gis-developers/python Chris Donohue, GISP
... View more
10-04-2016
07:59 AM
|
0
|
0
|
1035
|
|
POST
|
I went with the default, which is "String". Though the field it is checking is a Double precision, but it still worked anyway. (Maybe it has built in casting? Not sure) I'd check the properties of the field you are running the Get Field Value against and match its properties, if possible. There seems to be String and Long available as choices, but not the others. Chris Donohue, GISP
... View more
10-03-2016
02:30 PM
|
2
|
2
|
1296
|
|
POST
|
Got it to work. Not exactly sure why it didn't work before, but after I closed ArcCatalog and reopened it, then reopened the Model and redid the expression, it now works. I also undid the Parameters, but that seemed to have no effect. Chris Donohue, GISP
... View more
10-03-2016
01:54 PM
|
2
|
5
|
1296
|
|
POST
|
By the way, if you are familiar with Python, you may want to consider doing the process with it instead of Modelbuilder. I believe in Python one has access to a Minimum function, which would save the whole workaround one has to do in Modelbuilder to accomplish the same thing. Chris Donohue, GISP
... View more
10-03-2016
01:40 PM
|
1
|
1
|
1296
|
|
POST
|
I was just doing the same thing and ran into the same issue. The Select will work with a hard-coded value (like 1), but doesn't seem to accept Value or its various permutations (like %Value%). Odd. Chris Donohue, GISP
... View more
10-03-2016
01:28 PM
|
0
|
0
|
2542
|
|
POST
|
How about Select (Analysis) ArcGIS Help (10.2, 10.2.1, and 10.2.2) . Click on the SQL button to the right of "Expression (optional)" to enter your selection criteria. Chris Donohue, GISP
... View more
10-03-2016
11:53 AM
|
0
|
11
|
2542
|
|
POST
|
(scratch this - just realized in re-reading the post that you already did this part) Chris Donohue, GISP
... View more
10-03-2016
11:32 AM
|
0
|
13
|
2542
|
|
POST
|
Can I ask why you are deleting a row each time? What is the purpose or reason for doing it this way? I.e. what does this accomplish? I ask as I suspect we are missing some of the rationale and there may instead be a much better way to do what you are trying to achieve instead of by iterating and deleting. It is not very common to delete things in the middle of an iteration; instead one usually selects data differentially as one iterates, then does a process, and if there is a delete it is at the end, after the iteration is completed. Can you explain what your goal is? Some context would be helpful. Chris Donohue, GISP
... View more
09-27-2016
03:50 PM
|
1
|
0
|
2729
|
|
POST
|
Also, in troubleshooting this, see if you can see any GIS files at all. This will limit the issue to just one file, or whether the software itself had an installation or network access issue.
... View more
09-26-2016
08:02 PM
|
1
|
17
|
6628
|
|
POST
|
Just an idea - I almost wonder if a Geometric Network may be a better way to go instead of using Network Analyst. However, I haven't used a Geometric Network, so don't know for sure. It might be worth checking out, though. A geometric network is a set of connected edges and junctions, along with connectivity rules, that are used to represent and model the behavior of a common network infrastructure in the real world. Water distribution, electrical lines, gas pipelines, telephone services, and water flow in a stream are all examples of resource flows that can be modeled and analyzed using a geometric network. With a geometric network you can perform various network analyses such as finding loops or circuits within a network or trace upstream or downstream to find the source of flow within a network. What are geometric networks?—Help | ArcGIS for Desktop Trace Geometric Network—Help | ArcGIS for Desktop Finding the upstream accumulation—Help | ArcGIS for Desktop Also, let me tag a group that is involved in your field: https://community.esri.com/groups/electric-and-gas-user-group Chris Donohue, GISP
... View more
09-26-2016
01:59 PM
|
2
|
0
|
2509
|
|
POST
|
Quick question - so it is just the Layer files (.lyr) that are the "incorrect" layer names as they have the path included? Something to check - any chance the layer names in the original mxd were renamed in the Table of Contents, i.e. what is viewed there does not represent what the layer name is on disk? It is pretty common for folks to rename the layer name in the Table of Contents to provide a clearer explanation of what a layer is. For example, naip6_02_1 may not mean much to most people, but if rename it to 2016 Placer County Aerial a viewer will know what it is. Check the Properties (Right-click on layer name in Table of Contents, Properties, Source tab) to confirm that the feature class name in the source is the same as what is in the Table of Contents. Chris Donohue, GISP
... View more
09-26-2016
11:15 AM
|
0
|
0
|
1808
|
|
POST
|
Can you elaborate more on what you are tying to solve? You seem to be using Network Analyst here, so I would presume that the overhead lines are your Network edges, the generation points are the "Facilities" in Network Analyst, and the customer load point is the "demand point" in Network Analyst. So it seems like you already have everything one would need to solve this. So I guess we are missing something. What do you mean by "the tool does not allow to add line as a demand"? One thought/guess - if you are routing through a network to a junction where a branch line goes off to a demand point, maybe consider making where the branch line comes off the junction the demand point instead of the final destination? Chris Donohue, GISP
... View more
09-26-2016
11:06 AM
|
0
|
0
|
2509
|
|
POST
|
I'll throw out a couple of general " best practices" comments, as I'm not sure if either of these are specifically what is causing the issue but I have seen them cause problems in the past. 1. In your folder structure, rename any folders that have a period in them to eliminate the period. For example, in the error message posted there is a folder called 13R6.037.106_MBLW_P2Stdy. In ESRI GIS, the periods will throw some processes, even though in theory it should not matter. Also, try to keep the folder structure as short as possible. Again, in theory it should not matter if one has the data twenty folders out, but in practical reality things crash when the folder chain is long but work if the data is only a few folders out. 2. Also, it looks like you are doing the processing in the Default geodatabase. It's better to set up a geodatabase specifically for the project so you have more control over the settings. Chris Donohue, GISP
... View more
09-23-2016
07:43 AM
|
0
|
0
|
1556
|
|
POST
|
Another possibility is to use the Integrate (Data Managment) tool Integrate—Help | ArcGIS for Desktop Caution - this tool modifies the original file instead of creating a new output, so be sure to make backup copies of your data before running it. Chris Donohue, GISP
... View more
09-20-2016
05:47 PM
|
1
|
0
|
1848
|
|
POST
|
I haven't done any scripting with Data Driven Pages, but let me add someone who I suspect may have in case he can offer some insight: dkwiens Chris Donohue, GISP
... View more
09-20-2016
11:21 AM
|
0
|
1
|
2613
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-18-2015 12:04 PM | |
| 1 | 09-29-2015 12:41 PM | |
| 1 | 11-29-2018 07:51 AM | |
| 1 | 05-08-2018 02:07 PM | |
| 1 | 07-26-2016 07:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
08-03-2022
01:39 PM
|