POST
|
Without going off and trying it myself, your steps sound correct. Add the street, add an entry in the TMC tables, rebuild. Perhaps a full rebuild is required, instead of an incremental rebuild. Try to trick the build engine into thinking the whole network needs a rebuild, then do a build. Like this: Add an attribute, called whatever you want. Click apply. Delete the attribute you just added. Click apply. Build the network. Then see if the new segment works with your live traffic. I think there might be a problem in the network dataset where updates to the traffic tables don't trigger a full rebuild. Let me know if the above steps work for you.
... View more
05-23-2018
09:16 AM
|
0
|
0
|
11
|
POST
|
It looks like your question was edited after I had received it, so I might not have answered your new question. For that one: Is there a list of country or region codes documented somewhere? The 106 you see for San Diego is the country and region code that HERE (the data provider of our tutorial data) uses in their traffic feeds for the San Diego area. But a different traffic feed provider for San Diego might not use 106. Contact your traffic feed provider for the list of countries and regions that they use.
... View more
05-14-2018
02:10 PM
|
0
|
2
|
11
|
POST
|
I asked around a bit and I think the TMC information is available from data documentation provided by traffic data providers, which has to be requested from the data providers (like Here or TomTom). So, unfortunately, that kind of documentation isn't available for the tutorial data. Sorry!
... View more
05-14-2018
09:26 AM
|
0
|
3
|
11
|
POST
|
If I understand correctly, you would like to discourage turns where possible. I don't think what you are proposing would work with the script evaluator. I think some functionality that might do what you want is the Global Turn Delay Evaluator. The purpose of that evaluator is to discourage turns by applying a cost penalty that makes turning more expensive. That might be your answer. To take a step back, though, why do you want to discourage turns? Is the vehicle that is travelling too big to make many turns? If that is the case, the Global Turn Delay Evaluator seems correct. Or are you getting routes that leave major roads and stair-steps through communities? In this case, the best answer is probably to adjust the travel times along the roads that you prefer.
... View more
02-14-2018
03:51 PM
|
2
|
0
|
6
|
POST
|
The network element script evaluators are based on the ArcObjects API. To explain some of the sections of the dialog in your screenshot: Element Variables: These are the objects that you can reference in the code block. For evaluating edges, the only valid element variable is the Edge element itself. In your screenshot, you see Turn, fromEdge, toEdge, and atJunction. These are all network elements associated with a Turn. Types: This changes the available functions in the Element Functions section. For example, select Turn and you get the Angle function. Select Junction and you get the TurnCount function. Element Functions: These are the methods available to work on the chosen element type object. These should correspond to the methods on INetworkEdge2, INetworkTurn2, and INetworkJunction2. I hope this was helpful.
... View more
02-14-2018
02:20 PM
|
2
|
2
|
6
|
POST
|
Hmmm... I'll install 10.4 and give that a shot. When you compile does a popup appear that says "Registration Succeeded"? Can you email me a zip of your code and your TrafficProviders.xml? pstevens@esri.com
... View more
11-10-2017
09:05 AM
|
0
|
0
|
14
|
POST
|
It all appears to be working for me. I went through the steps and when I opened up ArcMap and the traffic data tool, Custom Provider showed up. Glancing at your screen shots, it looks like the GUID for the provider is different than mine. The one I used was: {929DFEE5-11DC-4BC9-B66F-B493A4470451} You get that GUID from the top of the TrafficProvider.cs file. Make sure your provider GUID matches the one in the code. I hope that fixes it!
... View more
11-07-2017
02:39 PM
|
0
|
0
|
14
|
POST
|
I'll download and retry setting up the custom feed. What version of ArcMap are you using? And what version of Visual Studio? Are you using just the code as-is along with the sample data as-is? Or did you make any change or use your own data? Thanks
... View more
11-07-2017
12:46 PM
|
0
|
1
|
14
|
POST
|
Hello! The DLL is automatically registered when the sample is compiled. You can see how it works if you open the file CutomTrafficProvider.csproj in Notepad++ or some other text editor. Scroll down to the bottom of the file and there are "BeforeClean"and "AfterBuild" sections telling the project to unregister before building and register after. If you think it might not be working, try to register the DLL manually just to make sure it can. For ArcMap, it would be something like this: c:\ProgramFiles (x86)\Common Files\ArcGIS\bin>esriRegAsm.exe <Path to your DLL> /p:Desktop
... View more
11-06-2017
08:06 AM
|
0
|
0
|
14
|
POST
|
Hello! I think the problem might be the value you are trying to set. Instead of using the text "Right side of vehicle", try using the integer enumeration value associated with that text. 0 = Either side of vehicle 1 = Right side of vehicle 2 = Left side of vehicle 3 = No u-turn
... View more
10-15-2015
08:47 AM
|
0
|
1
|
10
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:22 AM
|