|
POST
|
Hi - Am trying to append the contents of an M-N relationship table in one Geodatabase to an identical table in another Geodatabase using Python. I had thought that since there is a table that holds foreign keys for the related features that an Arc Python APPEND would work as it does with other tables. But apparently not so. The code is basically this: classes = ["RelClassName1","RelClassName2"] for className in classes: arcpy.Append_management(class, os.path.join(outputWorkspace, className), "TEST") If the classes are actually tables this works fine. If they are m-n relationship class names it doesn't. Any suggestions would be much appreciated. Thx, Ed
... View more
05-09-2019
09:27 AM
|
0
|
0
|
843
|
|
POST
|
Hi – I’ve got a file geodatabase with lines, points and feature-linked annotation. For creating new annotation features I’m using the “Selection | Annotate Selected Features” tool from the ArcMap table of contents. Always for a single selected feature at a time. Sometimes this can be quick, like a second or two, but often it’s slow, taking 30 to 45 seconds to annotate a single feature. The process brings up a dialog that describes steps: - Setting up annotation - Giving features to the label engine - Labeling features - Creating the annotation elements When it’s slow it seems to pause at the step “Giving features to the label engine”. The target annotation class doesn’t really have a complex expression. It is usually getting a value from a single field. I’ve tried with and without a feature cache built – no difference. I also found a reference in Geo.Net back in 2014 that reported an issue with a corrupted group layer. (https://community.esri.com/message/95014). So I tried creating a new map with only the source feature layer and related anno layer. Still slow. A thing I *did* do that make be a clue is change the annotation expression from one that used JavaScript to one that uses VBScript. The two expressions produced the same text string. Not sure if this would make a difference. Any pointers on why this step would take so long and what I can do to improve it would be much appreciated. Thanks, Ed
... View more
01-28-2019
06:10 AM
|
1
|
0
|
1038
|
|
POST
|
Hello – Working through the UN Electric model and notice that “normal position” of switchable devices is a property of the ElectricDistributionDevice – which is considered “Content” within an ElectricDistributionAssembly “Container”. Given that the assembly (rather than the contained device(s)) will be displayed for most purposes, and does not contain a “normal position” attribute what is the generally recommended approach to symbolize switchable devices based on their position? Thanks for any pointers. Ed
... View more
01-04-2019
11:05 AM
|
0
|
5
|
1966
|
|
POST
|
Hi John – While I can’t speak for either of them I’ve worked with two companies in the past three years who were limited in their use of the geometric network because of the requirement for projected coordinates. In one case the company divided the service territory into different databases by region each with its own coordinate system and geometric network. In the other case the company chose to use geographic coordinates and forego use of the geometric network. I believe the first company is in the process of moving to the U/N – but again, I’m not in a position to speak for them. My exposure to Esri utility customers is certainly less than yours, but I would imagine any company with holdings across the country or continent, for example many pipeline companies, would want to use geographic coordinates. Hope this helps, Ed
... View more
01-04-2019
09:18 AM
|
1
|
0
|
2604
|
|
POST
|
Xander - Thank you for the suggestion. I had assumed that "NORMALPOSITION" was among the Traversablility condition barriers. It was not, but DEVICESTATUS was. When I changed values for DEVICESTATUS to "Closed" for all valves where the NORMALPOSITION was "Closed" -- then saved edits and validated -- and re-ran the trace it stopped at regulators and closed valves as I had hoped. Much appreciated! Ed
... View more
01-02-2019
02:43 PM
|
2
|
0
|
1762
|
|
POST
|
Hello – I’ve created a utility network database for a small gas distribution system with a single town border station (TBS) and several regulator stations. The source of the distribution system is a custody transfer meter at the TBS (a subnetwork controller). When I create a distribution system sub-network below this meter it works as expected. My subnet feature is a union of all the distribution system pipes. So far so good. Next I try to create pressure systems bounded by my regulators (also defined as subnetwork controllers) and closed valves. In all but the very simplest case when I trace a pressure system the trace somehow “leaks” beyond the bounding regulators and closed valves and up into the feeding higher pressure system. I believe this is likely a data issue on my part. My question is this, are there tools available in the ArcGIS UN suite that would help me detect *where* a trace like this might leak incorrectly from one system to another? I’ve written a simple checker that finds cases where pipes of different operating pressures meet and reports the device that connects them, but so far the reported devices are all regulators and closed valves. Any pointers would be appreciated. Thx, Ed
... View more
01-02-2019
08:54 AM
|
1
|
2
|
1865
|
|
POST
|
Rich - Thanks for the note. For my current purposes I just created a new SQLServer instance to hold my second (electric) dataset. Seems to work fine. Ed
... View more
01-02-2019
08:41 AM
|
1
|
0
|
1343
|
|
POST
|
Hello - Has ESRI provided an Electric symbol style set for ArcGIS Pro similar to what has been provided for gas with the UPDM symbols? Thx, Ed
... View more
12-31-2018
01:28 PM
|
0
|
1
|
4375
|
|
POST
|
Well yes. I presume that Append uses the Python API. Was just wondering if a similar thing was present in the .NET API. Apparently not. Thanks for the info! Ed
... View more
12-31-2018
09:17 AM
|
0
|
0
|
1592
|
|
POST
|
Hey Rich - I was hoping to be able to create UN features in an edit operation and be able to assign a global ID value from a source feature. Reason being would be that this could preserve global ID values set in a staging database that were used for building associations. Without this I'm thinking I would need to build staging database associations and then post-process to update from/to global ID values in the associations. As below. (And as always, I may be missing something) await QueuedTask.Run(() => { var createOperation = new EditOperation(); createOperation.Name = "Load features"; createOperation.SelectNewfeatures = false; var atts = new Dictionary<string, object>(); atts.Add("SHAPE", myShape); atts.Add("GlobalID", myGlobalID); createOperation.Create(myfeatureLayer, atts); return createOperation.Execute(); } Thx, Ed
... View more
12-31-2018
08:58 AM
|
0
|
2
|
1592
|
|
POST
|
The ArcGIS Pro Append GP tool has an option to preserve GlobalID values - which seems quite useful. Am wondering if this is available somewhere in the SDK? Any pointers would be much appreciated. Thx, Ed
... View more
12-31-2018
05:49 AM
|
0
|
4
|
1780
|
|
POST
|
Please note, I'm aware of the documentation that describes fetching features from an element -- and that describes many other cool utility network functions as well. What I can't seem to find is the process to go in the other direction -- that is, get network element(s) from a given feature. Thx, Ed
... View more
12-28-2018
06:44 AM
|
0
|
9
|
3686
|
|
POST
|
Am assuming (but don't really know) that there is an equivalent in ArcGIS Pro/Utility Network to the Geometric Network for getting network elements from a selected feature. There don't seem to be classes like ISimpleEdgeFeature or ISimpleJunctionFeature that subclass Feature. And there doesn't seem to be anything like a GetNetworkElement() member on the Feature class. But I suspect there is *some* way to do this. If someone could point me in a direction here, that would be much appreciated. Thx, Ed
... View more
12-27-2018
05:58 PM
|
1
|
10
|
4479
|
|
POST
|
I now have one utility network dataset in a SQLExpress instance - this one has pipeline and structure domains. Will it be OK if I create another utility network dataset in the same instance - the new one to have an electric and structure domains? These datasets will cover different geographies and have different spatial references. What I'm concerned about is the structure domains. Will there be a naming conflict for the two sets of structure feature classes? Any pointers would be appreciated. Thx, Ed
... View more
12-27-2018
01:45 PM
|
1
|
3
|
1568
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 07:31 AM | |
| 1 | 05-11-2026 02:55 PM | |
| 1 | 01-07-2026 12:34 PM | |
| 1 | 01-04-2026 05:14 PM | |
| 1 | 12-17-2025 07:45 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|