POST
|
Hello, Global turns are never automatically generated. I think what you want is a default turn penalty imposed upon, for example, your DriveTime attribute. To do this, open the network dataset properties, select the attribute on the Attributes tab, and click Evaluators... On the Default Values tab, select the Turn row, and for Type, select Global Turn Delay. Then click the properties button to set the various time delays. Then at solve time when transitioning between two edges in the network, these delays will be included. If you have explicit turn features added at these pairs of two edges, these will take precedence and override the default delay. Let us know if you still need help. Jeff
... View more
02-05-2014
02:49 PM
|
0
|
0
|
182
|
POST
|
Hello Angel, Looking at your result, perhaps the route does not have enough time to complete all of the deliveries and meet the remaining time windows. Looks like you may have a one minute service time on the delivery orders? One thing you can do is make use of the ArriveDepartDelay property on the routes to more accurately account for loading and unloading groups of people. We added this to better model unloading a bus. For example, it might take 5 minutes to unload 1 kid and 6 minutes to unload 10. So an ArriveDepartDelay of 5 minutes on the route and perhaps .25 minutes service time on the order models it better. This property also has the effect of not making it "free" to stop the route to pick up some orders because it is already passing by that location. In other words, better stop grouping. Please let us know if this helps. Jeff
... View more
02-05-2014
02:29 PM
|
0
|
0
|
602
|
POST
|
Hello, You could do this using the api. IALRoutingFolder has a ExportToNALayer() method you would call first (export to Network Analyst Layer). That gives you a VRP layer which has the OD matrix. Jeff
... View more
03-22-2012
08:14 AM
|
0
|
0
|
436
|
POST
|
Hello Rizwan, You can use IALRoutingFolder.AssignOrdersToRoute(pOrders, pRoute, postion ... Sorry I don't have a sample handy. Let us know if you get stuck using it and I'll make one. I'm not sure how the in-feasible assignments will behave. Perhaps an exception is raised calling the method. Jeff
... View more
02-08-2012
07:22 AM
|
0
|
0
|
278
|
POST
|
Hello Gavin, I guess you are exporting from the report preview window? Regardless, nothing has changed between 9.3 and 10. At least nothing that I would expect to have caused new errors. I also tried exporting to an mdb ODBC data source from the print preview window. Same error you saw. Exporting to something like RTF works ok. Maybe there is another way to do what you want. What would this export to mdb have in it? Given the free-form nature of the report format(s) the exported table(s) would have to be a bit of a mess. Please describe further what you want to do. Feel free to email me at jwickstrom (at symbol) esri.com. Also, do you have the Crystal Reports designer/editor? Perhaps you could customize the report so your external data is linked in - without the extra export to odbc step. Thanks, Jeff
... View more
01-03-2012
09:40 AM
|
0
|
0
|
123
|
POST
|
Hello Rizwan, Have you tried something like ... IPointCollection4 pointCollection4 = new PolylineClass() as IPointCollection4; IGeometryBridge2 geometryBridge = new GeometryEnvironment() as IGeometryBridge2; (adding the type caste) If you are still stuck I'll poke at it in the compiler. Jeff
... View more
12-19-2011
08:25 AM
|
0
|
0
|
217
|
POST
|
Please let us know if my other reply about events was enough. Thanks, Jeff
... View more
11-17-2011
02:01 PM
|
0
|
0
|
199
|
POST
|
Hello Rizwan, You could try listening to the ArcLogistics application events. I have attached a sample plugin that does something similar to help get you started. I would try this sample to help you understand how the events work and how you want your logic to work. Let us know how it goes. Jeff
... View more
11-17-2011
01:58 PM
|
0
|
0
|
144
|
POST
|
Hello Nathan, >I have variable sets of records that I would like to import from an Oracle database that is made visible to ArcSDE. I am currently able to do this and this would be done at least daily. ArcLogistics won't import through ArcSDE, but can connect directly to the Oracle database. You would just need to set up a File or System DSN and the ArcLogistics Import Wizard can use that. >I would like to know if there is an easy way to indicate back to the database that I have imported these records (orders with the order number being an ID from the Oracle database). The ArcLogistics Import Wizard has options to skip or update existing orders by Order Number. So you wouldn't need to push anything back to the database as long as the Order Number is imported into ArcLogistics. >Would a script be appropriate? I am proficient with Python and ArcGIS. Can the import of records from an Oracle database be automatically imported without using the Import wizard? and/or can this be scripted? ArcLogistics desktop (or online) has a plugin API that can be used to import orders and/or export results back to the external system. This works well for making the process less error prone than running the wizard. Especially when you want to add custom logic and parametrize your queries. But even with running the wizard you can save all of the field mappings as an import profile so it can be re-run with a few clicks. >I would like to know if the hosted solution provides such capability out of the box, but I am not sure that our organization would gain from the cost structure of the ArcLogistics online. You can import/export data with online as well. You just don't have the full ArcObjects API available locally. You also can't automate solver or route editing operations. >I am correct, that a new ArcLogistics project cannot use Oracle as the database, right? In AL 9.3, the database is a file geodatabase, AL 3 is a personal geodatabase, right? Correct, the projects cannot be stored in an Oracle database. 9.3/10 desktop does use a File Geodatabase, but that doesn't really matter. You still want to go through the API to read or write data to the project. Given what you have said so far I would probably get the DSN and standard import wizard to work first. At least while you work out the best work flows. After this you'll either be done or have some compelling reasons to automate things with code. Jeff
... View more
08-30-2011
01:19 PM
|
0
|
0
|
98
|
POST
|
Hello Rizwan, No, unfortunately there is no higher level export functions in the desktop 9.3/10 api. Jeff
... View more
08-10-2011
12:39 PM
|
0
|
0
|
137
|
POST
|
Hello Rizwan, Sure, if you have not found it yet there is a ALSamplePlugins folder on the software CD. That has an object model diagram, a short tutorial/doc, and several .NET samples. For exporting results I would have a look at the ExportToArcLogisticsNavigator sample. Feel free to ask any questions about using the API here and we'll help. Jeff
... View more
08-09-2011
01:02 PM
|
0
|
0
|
137
|
POST
|
Hello Chandu, Being new to ArcLogistics, I suggest learning how to use the application first. Run through a few tutorials, make some routes of your own, etc. What you see in the API directly reflects everything you see in the UI. If all you need to do is make one route that visits multiple addresses, ArcLogistics is not going to be the best tool for this. The API does not make that task easy. Sort of like trimming your roses with a chain saw. I would start by making a new project that has your locations(s), vehicle(s), and route(s). Perhaps add a routing folder so you don't need to do that bit in code. Now have a look at a plugin sample like ExternalAddData which shows geocoding a new order and adding it. Once your code can do that, call IALRoutingFolder.BuildRoutes() to route the orders. Open the project in ArcLogistics to check that you indeed have route(s). From here, other samples like the ExportToNavigator are a good start at looking through the results. IALRoutingFolder.ExportToNALayer() may also be a "convenient" way to consume the result. This is a Network Analyst (ArcGIS) layer and there is much doc and examples about these. Jeff
... View more
08-03-2011
09:09 AM
|
0
|
0
|
274
|
POST
|
Hello, Perhaps have a look at the ExportToArcLogisticsNavigator sample for some code related to iterating routes and stops. CheckTripRequests also does something similar. Creating a routing web service violates the single user desktop license. Sorry if that is a surprise. For this sort of thing you should have a look at ArcGIS Server and the Network Analyst extension. ArcLogistics uses the same underlying technology. FYI in ArcGIS 10.1 there are new functions specifically designed for server that make fleet routing easier and faster. Perhaps you can sign up for the 10.1 beta. 10.1 also includes web services to do routing which you may want to use directly instead of hosting your own. Jeff
... View more
07-28-2011
02:17 PM
|
0
|
0
|
274
|
POST
|
Hello Pedro, The most common reason for this error is a mismatch between the desktop and mobile street data sets. Are they the same release? Jeff
... View more
07-20-2011
03:00 PM
|
0
|
0
|
216
|
POST
|
Hello Matt, You probably have version 9.3 or 10 presuming you acquired it within the last 10 years. An ArcLogistics project includes the myProject.xml file, myProject.mxd file, and the myProject.gdb folder (where "myProject" is the name of your project). These are by default in the "C:\Documents and Settings\All Users\Application Data\ESRI\ArcLogistics\Projects" folder by default (Windows XP), but can also be created anywhere. On Vista/7 they are in the ProgramData area. Copy the above files/folders for your project(s). Anywhere on the new computer will work; use the default location to avoid needing to browse to open them. Use a text editor (i.e. notepad) to edit project.xml and repair the paths in there to reflect the street data location on the new computer. Open the project in ArcLogistics. It should open without errors, but expect the map to be blank and not show any data. If it does not open, try making a new project on the new computer first (browse to the mxd location, etc.). Doing this will invoke the data licensing behind the scenes. After doing this try opening the copied project again. Now in ArcLogistics, make a New Project. In the New Project window, pick the project you want to copy as a Template and check the Copy options as needed. The Vehicles, Locations and Specialties will always be copied. After selecting the Template, be sure to pick the Map Template (mxd) again from the MXD folder in the street data location again. After doing this you should have a new project with the data copied, referencing street data on the local computer, and a map showing street data. Feel free to call Support Services as well if you want somebody to walk you through this. Jeff
... View more
06-13-2011
08:52 AM
|
0
|
0
|
202
|
Online Status |
Offline
|
Date Last Visited |
09-09-2022
08:23 AM
|