Network Analyst: An Introduction

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
my name is Patrick Stevens I'm a product engineer on the network analyst team and this is my coworker max Zhang hi also product engineer in the network analyst team product engineer just means we don't do the core development pretty much everything else all the SDK and dock and help and writing tests and all the fun stuff UI designed but but not the core development but if you do want to talk to some developers down in the island in the expo center there's a network analyst section where we have some of the developers and all the product engineers and product owners and all the scrum titles that that are down there and so you can get a lot of help so I wanted to start with a quote from Anthony Foxx the former Secretary of Transportation I believe under Obama said that not every innovation in transportation is going to come from government or even large enterprise there's smart people out there with tools and skills to come up with great ideas and you guys are the smart people and you work for government and large enterprise and startups and other businesses and we're all capable of innovating and building our skills for managing and crafting the transportation work that we have to do that's what Network analyst does it models transportation flow along streets network analysts can be one of the tools that you use to gather your skills and do your work better and more easily and today we're going to cover how to make you a hero your work that's the idea we're going to go over the set of decisions that you need to make based on what software's available to you what data is available to you and what type of analysis you're trying to do for yourself or for your clients or for your business we'll take your transportation workflows and optimize them so you can have a better routes that are more accurate coverage estimations better resource allocation all the things that go into having an optimized fleet up to Mai's travel along streets generally and I want to note too that this presentation is very high-level Network analyst is a vast and can be a very complicated product when you dig deep down into it and we're going to graze over the top of it so hopefully we hit on some of your use cases and some of your needs and you can get an idea of what's available through network analyst and if we don't touch on something that that you wanted to hear about either come up to us afterwards or put it in the survey at the end and we'll try to address it next year so we can we can help more people one thing I want to say at the beginning too this is important is that I've mentioned transportation a couple times and flow along streets this could be bicycle or walking or cars or or whatever moves on streets but Network analyst doesn't do utility networks also called facility networks or geometric networks that is water flow sewage lines electricity rivers those type of networks are managed by the core geo database a different team that does a different kind of work so that's what you're looking for it's it's not the right place here and we can help you find those sessions if you're interested okay so we're gonna start with a quick demo on RTS online just to give you a taste of how network analyst can work here so I've already logged in as a user in ArcGIS online and opened up a map and what I'm going to do here is a bit of this tutorial so after you see this you can do this do similar work and find the same data and recreate this if it's if it's the type of use case you're looking for so imagine you're a supervisor for the Food Safety Division for San Diego County you have a team that inspects thousands of restaurants to assign those letter grades you see outside the restaurant doors a B and C based on the the way they take care of the food and the the safety that they provide and your inspectors are going to inspect some of those restaurants we have a set of four inspectors that are going out to do inspections today and we have a CSV with their addresses that was given to us and we have a list of the 36 restaurants that we're going to visit today again by name and by address this time a single line rather than the other one where it's broken up into bits and we want to find optimized routes for all 36 of these restaurants for our four inspectors that we're sending out so back on my map and I have my CSV is lined up so let's take the homes and drag and drop them onto the map and because the way we've set up the CSV ArcGIS online knows that you can geocode this data and we'll turn it will symbolize it by inspector so they each get a different colored dot and click done and we'll go back and take our restaurants and drag those onto the map too and again even though it's in a different format because the it's still an address ArcGIS online knows it can be geo coded and so all of those addresses are added onto the map as well so now we've got our four inspectors here here here and here and all 36 of those restaurants and once you've loaded data into the map there's a couple of options on how you can work with it and the one we care about today is performing analysis as this button right here you can also click here and get the same set of options so for our restaurants we'll click on perform analysis because we want to assign all these restaurants to all of our inspectors under use proximity is where most of the transportation workflow tools are and today we're going to look at plan routes we'll discuss each of these briefly but if you go back you can click on the little information button and it'll give you an idea of what you're doing we're taking a set of stops and assigning among different routes so we'll use the plan routes tool so we're gonna start step one from our restaurants these are the stops that we want to visit step two is choose your travel mode and we're going to talk about that quite a few times today travel modes are a mode of travel it's basically bundling up some of the settings that would apply to the different types of travel that you would do to find your routes we're going to be doing driving time but perhaps we would be doing emergency vehicle travel or tall trucks that should avoid low hanging bridges as we'll see throughout this presentation but these are just inspectors in their cars so driving time is fine and the routes are gonna start at their homes they don't need to come into the office before going out to do these inspections we can send them the routes and we'll have them leave let's say Friday at 10 a.m. because we want to make sure a manager is at the restaurant when they come in so the routes will start Friday at 10 a.m. and they're going to return back to the start when they're done so the leaves in their homes go back to their homes we're going to route for vehicles because we have four inspectors and we want to assign nine stops per vehicle because we're going to evenly divide it up among the vehicle sometimes the most efficient route for a fleet of vehicles doesn't include all the vehicles keeping a vehicle off the road can be cheaper in our case we want all four of our inspectors to go out and we think it's gonna take about 45 minutes at each stop that's how long these inspections take and their whole day has to be limited to eight hours so if there's any problem with getting to the routes within that amount of time then we should see from the results we get so I've done this a couple times somebody gives us a high number just to avoid any naming collisions I'm not worried about the current extent and there's a little button right here called show credits and when you click on that it will tell you how many credits this will cost because this is being done on ArcGIS online against the network routing services that we provide and in the case of plan routes each route that's generated cost one credit so this will generate your cost a total of four credits so I'll click run analysis and this can take a little bit of time because it's running against our JSON line so I'll try to fill the time by explaining plan routes a little bit and plan routes are similar to the single vehicle navigation that you used to with your navigation devices but instead of routing one vehicle at a time it's routing many vehicles at once in our case it's four and it'll determine which of these stops should be assigned to which vehicles so if you know the stops that are assigned to the vehicle then you don't need these things divide it up and you would just use the route solver to do that and so what would have taken maybe hours each day to divide up these routes maybe do a week's worth of routes or months worth of routes at a time you can do with just a few clicks whether we can do it in ArcGIS online or in pro or arcmap you could happen either way and being able to optimize these routes means that your drivers can get to more stops in less time your company will save money because there's less be a vehicle time on the road so less wear and tear unless over time and less work like that you can see it disappears for a second before it finishes okay so we got a warning it says that some of the stops were not assigned to any of the routes and check the violated constraints field in the output unassigned stop layers for more information so I've already done that and I know what it means and there's the unassigned stops where we could look at the table if we wanted to but it's symbolized in red here so one of the stops couldn't be visited in the time we allotted in that 8 hour time with 45 minutes per stop and I can tell by the number on this inspector which is that little 10 there if you can see it that this inspector because he leaves from his home and has to drive far enough to get to these sites there isn't enough time in the day to get back to it but as you see all of these routes were divided up amongst all these drivers and now these results can be sent to their navigation device to navigator or can be printed and sent to them or you can use it for a type of analysis where you're determining how your inspectors work has been done and that's the plan routes tool at a high level and we'll discuss fleet routing a little bit more as we go so today's presentation is going to cover types of analysis I just showed you a little bit of fleet routing so I took a set of vehicles and assigned stops to them and then we'll talk about what products as we has and how network analyst fits into each of these products and a little hint is it's it's in just about every single one of the products you just have to know where to look and then we'll talk about the street networks because it's Network analyst what we're analyzing is a network and the street network is what we're analyzing will explain how you can get data and why it's important to have high quality street data and some of the things that go into street data to make it work right for you and at the end we'll follow up with some questions and resources we're close to the end of the UC but there's there's still some time in a few more sessions in ways that you can get a little more help here from Network analysts and there's there's help elsewhere as well and we'll start with types of analysis and the network data set to begin with so as I said you analyze the network data set all this analysis analyzes the network data set so to understand the types of analysis you have to understand what data you're analyzing it's not just your stops it's the streets it could be rail lines and bus stations and overpasses and underpasses and everything that goes into modeling the real world in a computer model of streets and I mentioned travel mugs too this is an important concept I want to repeat a few times as we go and that's a bundle of settings that affect how you travel along the road are you doing emergency vehicle dispatching where one-way roads can be turned off and you can go the wrong way down a one-way road or pedestrians so you're travelling along sidewalks and freeways might be restricted or highway because you don't want to be on busy roads or are you modeling different types of trucks four-wheel drive they can handle rural travel or tall truck that can't go under overpasses you bundle all this up into travel mode so that you can switch between analysis modes very quickly so we'll start off I'll hand it off to max and he'll show you how to do the generate directions and our kiss online and how to use Pro to do some network analysis as well cool thanks Patrick I reckon hear me so for the first analysis I will be a truck driver operating a 14-play tow truck it's a trash truck I will start at the Malibu beach collecting some discarded jewelry's and cars and then I will dump them at the landfill site just northwest of a which is the Calabasas Nancy oh and I will show you how you can find a route foolish tow truck in post ArcGIS online ending a yes Pro and I will show you step-by-step so we can focus on the workflow and the user interface so for the following demos we can focus on more on the concept so let's start with the easiest one which is the map viewer so to use map your you first staying with your organizational account and then we click this Maps have to open the map viewer so map viewer is an online GS platform it allows you to for example at your own data into the map change your base map for example into imagery perform analysis as portray showed you in the first step and I will show you other analysis types as well you later demos so to find the punch point routing we use the direction in sparta and we can type in to the search box to search for money book beach and we can also click on the map to add Calabasas nan field so this returns us as a result from A to B and if we want to add more than two stops we can click this Add button so one thing particular for solving a route in Garcia scroll in access online it is customizable travel mode so here currently it is using the driving time travel mode which is solving for a regular vehicle that is optimized the time cost and if we want to optimize the distance calls for example give you a shortest path you can change to driving distance travel mode but here right now we are solving for 14 feet or trash truck so the truck travels slower than a regular vehicle and it also cannot go to some raw data regular vehicle can go so I've gone ahead and created this tow truck in time travel mode so I can just change to it by changing to this tow truck in travel mode it gives me a totally different result and let's take a look at why it doesn't take the regular vehicle route so I had done my research and figure out that's because there is this low clearance tunnel so I the regular vehicle route this tunnel owning allows for any vehicle ID under 13 feet tall and since our vehicle is 14 feet tall so by changing to this tow truck in time it will give us a result it doesn't go through each tunnel so it will take this detour to avoid a stoner because it doesn't allow us to travel through so let's give you a feeling that by changing to a different travel mode it gives you a different analysis result that's because the term will model is how your vehicle can travel through the network and let's take a closer look at what is the thermal energy as for all so here is actually a straw to perform analysis in your test probably go to the analysis tab and here we have network analysis drop down before doing that any network analysis the first thing you want to understand is what is your network data source so currently in Pro if you don't have you any of your local network data set and by default you are going to point to your active portal which is accessed online in my case and click this route it will make a rough layer so essentially it means the rough layer you are going to make is going to point to the routing service so it doesn't require you to have your own network data set and perform analysis on this trolley is going to consume a little bit of credit so for any network analysis is simple three steps make a layer at the locations and then solve so the second step is always allocations we can add location spec uniqueness import stops and then if your stops is in the type of content which I have the stops there then we can note directly into the drop down and if it's not you can browse to it as well and then click run based at locations tool we'll add my two stops in to my raft layer and then we want to understand our analysis settings of course the most important one is the travel mode so here you can see it gives you exactly the same travel modes that is on the map viewer that's because this raw layer is hitting against the routing service so whatever travel mode you configure in your organization it's going to show up here and let's take a look at what is the driving time travel mode back Nick this launcher so this launches the travel mode properly paid it gives you a little bit of description what is the tram mode is trying to do and the call section this is very important because this is what the sovereign trying to optimize so currently it's trying to optimize the travel time which is the time based cost impedance that takes traffic into consideration and also the restrictions and parameters all the checked restrictions and parameters are used by this travel mode and this models how your vehicle can travel through the network so for example here in the driving time travel mode we want to avoid carpool roads and then the third thing is the u-turns how your vehicle can do the u-turn currently says only do the u-turn at that end and end the intersections and let's take a look at what the tow truck in time gives us different settings so for the tow truck in time travel I mentioned that the truck travels slower than a regular vehicle so we give it a different impedance because it's gonna take more time travel through a route by taking a truck and then for the restrictions and parameters one thing I want to highlight here is this height restriction so let's take in a vehicle height parameter and currently we set our vehicle had to be 4 meters so essentially in this tells the server that for any route that has the height restriction and therefore meters we want to plug this route so for the tunnel it's 13 feet tall and it's under 4 meters so when the server is trying to find it about you it will avoid list tunnel and then the other settings will provide lecture sequences if you use fan best I'll preserve first or last something then it will reorder to give you the optimal result and time also affects your analysis result because times traffic changes based on time and then click this Run button that's a last step solve the route you can stay at the rampart and there's this little cloud over it this also indicates it's solving against the routing service so it's going to consume a little bit of credits so what's it's actually doing right now is following our you analysis settings and bothering all your data and send into the routing service and when the running service returns a result if you render inductors Pro app so here it gives you exactly the same result by taking this tow truck in time travel mode now I will show you if you have your own data and I want to perform analysis using your own data you can go to this network analysis drop down change your network data source and if you have your own data already in the table of content you will show up in this dialog and if you don't have it in the tip of content then you can browse to it click OK and then see the network analysis drop down your network data source now change to your local network data set and now if you create a new layer the raw layer is going to reference your local network ESS so whatever perform analysis you are going to do raaah layer is going to use your own network dataset so let's take a look at what is the network dataset let's turn on the network dataset so currently are in ArcGIS Pro it only renders wherever there is traffic and we have this time slider to help you to visualize the traffic on each of the route that changes with time and if you want to say all your routing streets you can drag and drop your routing streets feature class into the map so here are all your rotten streets some of the streets are all configured with traffic so it doesn't show in this map viewer so this is our route reference your local network data set a nice Rock tab we can say it gives you different travel modes that's because you are referencing a different network data set this network data set doesn't have the towtruck entire travel mode configured on it so so we cannot perform analysis using the towtruck in time travel mode but still we can perform analysis using a regular vehicle travel mode and the simple three steps the second step is always add your locations so let's try a different way to add our locations by go into a distension choose create and then select the layer you want to add it which is a stops layer and then we can click on the map to digitize our stops save your edits and clear this selection and let's go back to your route and connect this run button which will solve as a route so this returns you a route from Malibu beach to Calabasas nan field using a driving time traveled so for the first time where I went through how you can do this point-to-point analysis in both ArcGIS online and the artist Pro against local data and actually online brought in service so hopefully in this will give you a sense of what is the general workflow McClay your allocations and solve the RCS Pro that is the workflow and never hand over back to Patrick to show you another NASA steps thank you push the budget Thank You Becks okay so for a first analysis type you saw a point-to-point rowdy we're used to this in all of our navigation devices and we've seen it before you can find the quickest route the shortest route the most scenic route the route most appropriate to how your vehicle or a person travels along the road you can plan a day's worth of stops taking it into account the time you spend at each stop or the time window where you're supposed to visit the stop during the day and traffic as it might be at the time that you're leaving you want to you could also pick the most efficient sequence of stops you see the on the right side there's four stops maybe you don't care what order you visit these stops you just want it the shortest route possible so the route solver can reorder those stops just to give you the best route that you can do so basically the route solver in pro and that directions tool you saw an RTS online are for when you know all of the stops and all the routes they're going to be assigned to and you want to find the most efficient way to travel between all these stops and that's what you do oh yeah so I'm gonna mention the name differences between Pro and online and I asked when I was setting up this presentation why we call them different things and it's because it's a solver in Pro you're doing an analysis with the solver in online it's so it's a workflow it's the directions workflow it's connecting origins to destinations workflow so it bundles some more things into it and isn't just the solver alone so for point-to-point routing it's the route solver and it's the directions tool or the connect origins to destinations tool as well so the next type of analysis is that of coverage that is done with the service area solver this is where you might find what houses are within five minutes of the fire station what market areas our businesses cover where there might be gaps in coverage for healthcare or where to build libraries or to do fire accreditation for example maybe how we will set up territories for franchises or police or fire districts are once a service area is created you can use that polygon to help identify how much land how many people the demographics in that area to do whatever type of analysis you want to there's an important con except with service Aryan coverage that I want to make clear and that's how it differs from buffer if you do a one-mile buffer around this bus stop it assumes you can travel directly across this river which probably isn't the case if these are people on foot you do a service area instead and it will give you a different result and a more accurate result so if you're just using straight buffers but the type of analysis you're doing is travel along streets then I highly recommend the service area instead of the buffer so I've been told that the polygons that the service areas generate is a bit of an art and the lines that's the science when you create these areas this this example might be a 1 2 & 3 minute service area around to mobile health care locations what's being analyzed is travel along the streets so those are the lines that are covered the polygons are estimations of trying to cover these land cover these these streets so as you do your analysis just be aware that it's Street travel you're doing and polygons that are being approximated on top of them in ArcGIS pro and arcmap this is called the service area solver that's how you find it and that's how you'll see max demonstrated in a minute if you're working in ArcGIS online it's called create drive time areas so at least this one's pretty similar service areas and drive time areas even if you're doing walking time it's still called the drive time area so the next type of analysis and we'll demonstrate these two together coverage and site selection is why I'm going over them both before going to the demo is site selection this is the location allocation solver if you're working in pro the idea here and this this map that you see here might be where do we want to build new hospitals in the area depending on the demand that's available where we think the customers might be which are those little yellow dots and you see these straight line distances all pointing at the hospital the calculation isn't done with straight lines this network analysis done by traveling along streets so internally we found street distances between the demand points and these hospitals and picked the best locations out of the candidates to service the most demand in this area so location is tremendously important location allocation helps you pick locations along the network to do whatever you're doing this could be where to deploy resources mobile health care sites as I mentioned police or ambulances or where to build your stores or your new fire stations as we'll see in a second so another good example is 3d routing I always forget that one so in inside of a building you might want to know the best places to put all the AED devices the defibrillators you can calculate depending on where there's the heaviest population in the building the most appropriate places so that everybody can get to a defibrillator within a minute or so and you do that with location allocation and site selection in Pro is called location allocation as I've been saying and in ArcGIS online it's the choose best facilities tool and you'll get to see both of those demonstrated in just a second in fact right now I'll turn it over to max and he'll show you a combination of service area coverage and location allocation tools cool that's frederick switchers so one common use case of the service area solver is to examine the response time of the fire departments how long does it take to arrive at an incident after a fire department receives a call for help and that's what I'm going to demonstrate here so I have all the first stations in San Francisco loads into this table and that their addresses or I can just drag and drop them into the map viewer it will geo code for me I can just choose a layer and then I also only want to show their locations so later the 43 fire stations in San Francisco and our goal is to visualize the four minutes response time area within each of the fire station so to do this we can perform analysis from here or directly from our data which is perform analysis and they under use proximity who have this create travel time errors tool so we want to start from our fire stations and because fire service vehicle travels through the network differently than a regular vehicle so here I went ahead and created lists for service vehicle travel mode and we want to visualize the four minutes response time so we give it four minutes and we use the split because we want to visualize the four minute response time within each of the fire station and then you can connect this run analysis so to save us a little bit of time I went ahead and create this map so these are the four minutes response time of all the 43 fire stations in San Francisco so this gives you a basic idea what is covered what is not covered for example the north part and south west part is not covered and there is no good coverage so let's see if the city have a question if they have money I want to put two new fire stations what is the best place to put these two first stations to achieve the most coverage so to solve this problem we're first want to understand where is suitable to put the new fire stations so I foolish for this then I ran a suitable model to figure out these 91 candidates are the places that we can host the new fire stations I can just drag and drop them into the map and also we want to understand where is already meant so for the demand part I'm using the sensors flower group centroid with the population within each of the census block group I can just drag and drop into the map and give it a little bit of different symbology to visualize them so all the blue dots over here are the census block centroid and we want to find our best location for the new fire stations so to perform this analysis we go to analysis and their friend locations we have this choose best facilities tool and we want to achieve the maximum coverage so let's our problem tab and still we are using the first service vehicle travel mode and our demand is the census block centroid and the weight on each of the demand point is a population with in 2015 the required facilities are the existing ones which is in the fire station table and other candidates are the 91 candidates I generated from the suitability model and out of the 91 I want to choose the two best facilities to achieve the maximum coverage and I can just start to read X analysis but I have already created this map so from this legend we can say that the chosen ones I'll represent hit at the green square so it's this one and this one so essentially the solver is telling us out of the 91 facilities these are the two facilities that we teach to open to achieve the maximum coverage so let's take a look how we can solve the same problem in access for all so here we have one fire station and we want to visualize the four minutes response time within this one fire station and to do this we go to analysis tab and there network analysis Rob down and create a service area so simple three steps make a layer add locations and then solve the second node the second step is always add locations so this is our service area by clicking on the surface area there is a service area contextual tab we can click on it we have this in poor facilities which is also calling it's a locations tool so we can add our one first station into the service area facilities layer can express and for the service area we want to solve for fire service vehicle and want to visualize the four minutes response time so the cutoff will give you the four minutes and then for the result we want to generate post polygons and polylines four minutes response time and then the third step is solve the problem click run button so let's turn off the polygons for long as Patrick mentioned just the the lines are the science so of all the green eyes those are the places like the one Forest Service vehicle can travel through can travel from this one fire station along the street light work within four minutes those green eyes that the fire service vehicle can reach within four minutes and the polygons is just a polygon representative of the same information and for any City we have actually more than one fire station for example San Francisco has this 43 fire stations so we can load them all into one service area and we can solve them all so here gives us a full minute response time of all the third of all 43 fire stations so let's see the city was to save money by closing one of the fire stations which one should they choose because the most redundant one so to solve this problem we also lost our demand into this lab which is still the census block centroid and to solve this problem we can use the location allocation solver and their network analysis drop down choose location allocation so here it makes the location allocation layer so the second step is go to a location location to a dual area locations so first we want to add our facilities by click the import facilities our facilities are the fire stations and then we also want to add our team and our depend as a census block centroid and there is one important field over here which is the weight on each of the demand point so for the weight part we give it population in 2015 and click run so for the analysis we still want to solve for a fire service vehicle and the cutoff wiki v4 because that's our target response time so when the summary in trying to allocate each of the demand into their facility they will only search for the four minutes driving along that road network because that's our target response time and the funnel problem type which give it maximum coverage that's our that's our goal to get the maximum coverage we want to close one of the facilities but still get a maximum coverage essentially we are choosing 42 out of the 43 so click run so we can see if the facility is chosen from the result it will have a starring set so all the ways that has a starting site that's chosen but there is only in this one it's not choose from our result and the reason is because all the demand around is one facility is allocated to other facilities within a four minutes response time so we can safely close this fire station but we don't we don't like lower our coverage so that's how we solve the closed one facility problem so one thing a policymaker might be interested is what if I want to get a 100% coverage with the four minutes response time how many new fire stations do I need so to solve this problem we have these 91 fire stations put into the map and then in the location allocation layer we want to add our existing fire stations into the facilities layer as a facility type of required that's because this will tell the solver that when you generate the result these are the fire stations I want to require in the result so don't close any of them and then in we also load our candidate into the facility layer as a facility type of candidate that's what we want to choose from to open the new fire stations and cake rent and for the demand we still use the census box Android I have gone ahead analyst problem Oh what I forgot to mention is the problem type here is different we are trying to get a 100% coverage so we choose a target market share and give it a market share of 100% which is 100% coverage as a result shows that out of the ninety one way needs to open 32 which is a lot that's not gonna happen so what about we want to gather five minutes response time how is the result going to be different so we load the data as a as I previously showed you but here give me the cutoff five minutes that's our new target response time still the problem type is target market share of 100% we want to gather 100% coverage I solve this location location it tells me that out of the 91 and it's 28 it's still out so what about we only achieved a 95 percent coverage which is still a good amount of coverage and the server tells me that I can only open this four to achieve this goal of a five minute response time getting of 95 percent coverage so if the city have money they can open to first and they open to more afterwards and let's take a look at the service area afterwards so they see the service area around each of the facility within a five minute response time that's already existing one and after we add this new four fire stations this is our deal coverage so it covers most of the gaps in between but it doesn't cover them all because we only want to target the 95 percent coverage so this demo shows you how you can use the service area and location location to find the coverage and also locate the best facilities so I will hand over back to Patrick to show you two other analysis tabs Thank You max so if you came in a little bit late we optimized a fleet at the beginning running the plan routes tool and I if you come up afterwards and want to see that again I can show you but I won't do another demonstration of optimizing fleets but fleets could be inspected fleets repair service delivery paratransit it's when your primary goal is to best service a set of orders and minimize the overall operating cost of managing sets of vehicles and drivers a few examples we have a large furniture store might use several trucks to deliver furniture to homes grease recycling company might route trucks from a facility to the restaurants to pick it up and back to the processing facility health department or restaurant inspection like we showed at the beginning might get scheduled there daily or weekly visits for all their inspectors and there's also the concept of paratransit routing where you have pairs people are picked up at their homes and dropped off for appointments at hospitals and you want to minimize not only how much your vehicles on the road but how long these people are on the buses so the vehicle routing problem solver is what it's called in Pro and it can solve many many more specific problems than the route solver because of all the numerous logistical options that are available such as vehicle capacities and order quantities driver brakes lunch breaks or breaks along the routes pairing orders like I mentioned in paratransit cost per mile distance overtime cost everything you can think of that goes into logistics and managing a fleet is built into the vehicle routing problem solver and this tool is in the plan routes tool in ArcGIS online that's where you find it that's what I showed at the beginning so our last analysis type we'll talk about is connecting two sets of location locations and simply put this is used for finding all of the distances between all of those locations in two sets this could be emergency vehicle dispatching where one set of locations is the incident and the other set of locations is all the available fire stations this could be finding all the the three nearest urgent cares next to a set of patients so you know you can provide them with options or a web app where they could look up how to get to their nearest urgent care or maybe you want to find routes from every Depot or station to every address in an area that's possible - so from every fire station to every address in your city you can generate that as a table so you've pre calculated all the route costs for all of that this is called the closest facility solver as well as the origin destination cost matrix solver and pro the reason there's two of them is because one of them is optimized for scalability the OD solver doesn't generate the route shapes so you can't generate directions and you won't see the path you just get a large table of all the distances an example might be in the bottom corner here all the stores - all the warehouses and generate a matrix of all this distances where closest facility can give you directions and routes the route shapes for those if you're doing this in ArcGIS online it's done with the find nearest tool so you're finding the nearest locations from set of locations and I'll give you two demonstrations I'll show you both of those solvers closest facility in a browser and VOD cost matrix solver in pro so go to the browser we have a prototype of an emergency vehicle dispatching application here with police cars driving it very unsafe speeds through Rancho Cucamonga and fire trucks stationed at their station you pick your analysis type and you can click on the map and the three nearest fire trucks will be chosen for that you can dispatch police cars in a similar way and this generalized one we'll pick I think the nearest of any type so there we've got one police car two fire trucks so there's a very rudimentary dispatching application but gives you the idea of under the hood choosing the nearest of a couple of facilities from it from a given incident and there's many other parameters that can help figure lis needs like arrive times and time windows and service times that these stops and the time it would take to turn out of this sorry turn out of the station so if people need to leave the fire station and if you remember ArcGIS online provides this functionality as well with the find nearest tool and this thing is fun to play with and kind of hypnotizing too and if you want I can direct you to this link and send you the code for it as well afterwards so now let's look at the OD cost matrix solver and see how it's slightly different now we have a common use case and that is called mileage estimation and that's where imagine your company does fracking or mining of some kind and you contract with a third party company to haul away and process the waste products from the work sites now for our two sets of locations we have the work sites here as blue and black dots and the processing plants of potential third party companies and how far they would have to and where they're located near our work sites so we want to find the distance from every work site and every potential processing plant of the six companies that might be involved in bidding so we can set up bids for these companies and and we'll know just how far they have to travel so as max showed you if you want to do network analysis click on the analysis tab and click on the network analysis button I have my own never data set for North America already in the map so that's chosen as my network data source and I can choose the origin destination cost matrix solver and I'll click on that and it will make a layer there's really a three steps of the network analyst workflow that you'll see over and over again and that's making your layer adding your locations in solving so we get a contextual tab for the OD cost matrix solver where we can set some settings like a cut-off if we only want to find locations within a certain distance or a number of destinations like you saw with closest facility where we only found the three nearest items but for us we don't want to set cut-offs or distances we're finding all of them over here on the input data group I will click to import my origins because that's where these routes are going to start they're going to start from our work sites because that's where it's going the materials are going to be hauled away from I'll click run and it'll load our hundred work sites into our analysis layer so we can do analysis on them next we'll import destinations and the destinations are the processing plants one thing I forgot to mention is I wanted to map over the name of these processing plants so it shows up in the final resulting lines I click add locations and it loads the destinations and now I can click run and we will generate 600 routes across a very large area of Texas in just a couple of seconds and this is because it's working against its local data and because it's not tracking those route shapes even though it's doing travel along the network if we open up our lines table we can see all the distances from every one of our work sites to every one of our potential processing plants as well as the travel time ah that reminds me so I solved against driving time which I see now by my results as a mistake because we're not going to be just driving cars these are going to be trucks that are going to be hauling this away so I will go up and switch my travel mode to a trucking distance because that's what we care about and it will be in kilometers as it shows the units next to the travel mode I'll click rerun and it runs all 600 of these routes in just a couple of seconds and now we have our total kilometres so we can set up a bidding process knowing from each of these work sites how far they have to travel and how much has to be hauled so once we found all these distances we can either validate a bid that's already in or include those in our own bids go back to our slides ok so those were our analysis types if you remember we had point-to-point routing that's where you've know your stops and you know the routes you want to go on already we've got coverage which we did with service area where you want to know an area around a facility that you can get to in a certain amount of time we've got fleet optimization for optimizing your fleet of vehicles we had connecting and connecting sets of locations so two sets of locations done with the OD cost matrix solver or closest facility and site selection that's the other one picking the best place along a street network to put a new site or to remove sites if we have to and I will talk about some of the products as we offers and how network analyst fits into them so one way people at Network analysts is based on their licensing and data and credit availability and if you have a network analyst license as part of your your enterprise license agreement and you have your own street data you can do all the network analysis in all the products that ESRI offers so RTS enterprise which is server and portal for example Desktop Pro an arcmap geoprocessing to automate all these workflows everything you can do that you've seen us do in the browser or in pro you can do through geoprocessing as well as writing your own runtime apps and navigator and I'll talk about each of these as we go and with any of these you can build it with your own Street data and use your network analyst license but you can also use credits for these as well so using the routing services that ESRI offers that I'll talk about you can use those in all the products in a very similar way so each of these layers that you saw generate for your analysis can work against local data or against the routing services transparently it should be the same to you the reason why you would want to use the routing services is because we manage that part network data sets can be complicated and there's certain things that are very difficult to set up like historical traffic you might have good Street data for your city but you don't have a good estimate of how this the patterns of traffic work on a street on a Wednesday at 6 p.m. for example so that you can adjust travel times in that way and with the with ArcGIS online you're using our routing services our data and so we manage all of that for you the coverage is global so anywhere in the world pretty much we have analysis capabilities available through the routing services the darkest coverage is predictive traffic so it goes beyond just historical typical travel times and beyond live traffic which is what's happening now - the traffic vendors estimates of how traffic is going to change over the next 12 hours which can take into account holidays or if there's a traffic accident and you know when they think it'll clear up for example but using these things costs credits and so I'll tell you how much each of the types of analysis costs as far as credits go first being point-to-point routing so that's simple routes and optimized routes simple routes are you've given all the stops and you want the route in the order that you've given them there's inexpensive it's point zero four credits per route I believe we're obligated to charge a little bit based on the data vendors and so that's why there's just a little cost but you can do a lot of routing for very little credits and optimize routes is reordering the sequence of stops doing the traveling salesperson problem if you've heard of that and that's half a credit per route for Fleet routing it's one credit per route as you might remember from the beginning so this particular route looks like it has two vehicles so that would be two credits for that one service area is half a credit per area so there's two service areas here so that would be one credit if you're doing closest facility it's half a credit per route that's found in the case here it looks like we have six facilities in one incident so that would cost three credits and location allocation is point one credits per demand point so depending on how many demand points you have it doesn't matter how many facilities you have for each of those demand points because point 1 credits for the route and don't forget about arcmap I grew up with arcmap and so it is where I'm very comfortable as well as pro we're working on equivalency between arcmap and pro and it's it's almost all there if you want to work with the routing services pros where to be all the analysis types are managed in pro and our primary development focus is in pro so if you can convert there do it but if you're still working in desktop it's fine and there's still some things in desktop or in arcmap that haven't been brought over yet including what I listed here editing your network data set schemas so not just the features but the costs and the attributes are still managed through pro but we're almost there editing network data set turns so these are turn features I'll talk about those in a minute that you should do in arcmap and network data set layer symbology is really rudimentary right now in pro it'll show traffic that's what you get either your lines or your traffic where if you're using arcmap you can have dirty areas those are areas that are unbuilt but edited and your network data set and a few other things like that and publishing right now if you're publishing network services for your own portal or your own ArcGIS server do those through arcmap but we'll get to all of these it's happening in the next year or two hopefully and we'll have full equivalency between the two and you'll be able to switch over entirely depending on what your workflow is ArcGIS Enterprise is portal and server and some applications and a bunch of other things bundled in you can build your own routing services in ArcGIS server of any of those analysis types or any other sort of geo processing workflow that you want to publish that'll do some sort of routing or network analysis or you can forward on the routing to ArcGIS online so even though you have your own portal and you have your own ArcGIS server you can make it forward so that when a routing call is made against your servers they'll ask ArcGIS online and charge credits that way so you don't have to manage it if you want all of the runtime SDKs support route service area and closest facility those are the three types of solvers that are covered in runtime SDKs and they're all covered with using the online services and I think covered with using the using local data as well if they're not it'll be later this year and the Navigator this is a standalone application that does navigation so you can send routes to your workers in your field and be navigated or and have them navigate along the routes as you built them in your office and so that's done with navigator and then clearly users network analysis because it's routing okay so that was the products and now we'll talk about the network data sets now network data sets can get very complicated I'm gonna show you a overview of some of the primary functionality and if I don't get to something you need come and talk to me afterwards and all I'll be happy to discuss it with you we often asked get asked where people can get Street data and quite often you already have it how many of you have data in your organization that's managed by your organization of streets center lines or any sort of streets quite a few of you so you can take that data and build it into a network data set it needs to be set up as a network data set and not just be Street Center lines and I'll explain why as we as we go forward but you might not need Street data so for those of you that didn't raise your hand you can just use the routing services and we'll use our Street data to do your analysis or you can use free data and free being the operative word here you get what you pay for there is census data that you can download it's called Tiger data that's why there's a little tiger stepping on the United States up there and the attribution isn't very good and the coverage might be kind of spotty but if you want a nationwide network and don't want to pay whatever it costs to buy the premium data you can download this and set it up as a network data set similarly with OpenStreetMap there's tools you can find that'll help you turn OpenStreetMap data into a network data set and this like Tiger data your mileage may vary depending on where you live and how much effort other people have already put into setting up this data so that it can be turned into a network data set you can also buy data TomTom and here provide data that we bundled together as street map premium and there's there's a street map premium island next to where the network analyst table is down in the Expo Center so if you're interested in in in the data and finding out what it covers and how it works for your area then you can come down and talk to us and the main reason why your streets need to be an epic data set is because these streets are connected they're not just lines crossing each other on a map you have to be able to know if you can transition from one street to the other if you can drive across a particular intersection in this picture you see a complicated interchange of streets that if you looked at it from straight above all overlap but clearly don't all connect and the network data set is where all that connectivity is managed there was a session earlier today for creating network data sets that'll help you understand how that connectivity works and there's videos available online if you weren't able to make it to it now I've mentioned travel modes a bunch of times and the reason I mention it again here is because they're configured on the network data set you set up the type of travel you want to do and bundle all those settings together so you can easily switch between truck sizes or between as I did time or distance or cars and trucks or whatever your travel mode is set up to be for the type of analysis you want to do is the concept of restrictions now these usually depend on characteristics of the streets is this street a one-way street now that could be managed as a restriction is there a turn that you can't take and that could be managed as a restriction as well or is there something about your vehicle that makes it whether or not you can travel along a road are you driving a hazardous materials vehicle there's certain areas you can't go and so you want to have that included in how your routes are generated or if your vehicles too tall to get under a low-hanging tongue for example or the ones I've heard are the common ones are height weight length and width for vehicles can be managed and so it's important that you don't get your vehicle stuck somewhere I've mentioned traffic a couple of times this image shows a route generated every five minutes across a typical Monday I believe in Los Angeles and you can see throughout the day how drastically the most efficient route can change depending on traffic typical traffic it's how traffic would be across a regular Monday and that's managed by the data street map premium has historical traffic for example and I've mentioned turns a couple of times turns can affect how travel works if two streets are connected and physically you could get from one to another but you aren't legally allowed to you can build that into your network as a turn restriction maybe u-turns not allowed or maybe there's a gate that won't allow you access to a private community and you can manage that to terms but they're not just restrictions they can also add cost for example if you're traveling from point A to point B along this little tiny street network it's a simple route that might take five seconds to get to the intersection five seconds to get to point B for a total travel time of ten seconds but you know that this is a heavily traveled intersection so you can model a turn restriction to add a little bit more time to make sure you get a little bit more accurate estimation of making that turn in this case it would be twenty five seconds to add up those and barriers now these are barriers and restrictions they sound like the same thing they're a little bit different restrictions are about things that are inherent to the streets I said one ways that's probably not going to change very often whether it's a one-way or not but if the street was flooded this this Street probably isn't always flooded or these people wouldn't have tried to drive down it I would hope so you can build this into your analysis maybe there's some temporary road closures that have happened and you want to make sure that you avoid that area you build that in as a barrier per analysis basis you don't build that into the network data set it's into the into the analysis itself and again like with the turns that can be restrictions or costs barriers can can do that as well so you can either completely block travel or just slow it down based on a construction that might make in an area hard to travel through and I'll demonstrate that in a second as well another important concept is side of the road so this bus opens up on the right side of the vehicle and you want to make sure that this child with his gigantic backpack doesn't have to run across the street in order to get on the bus so make sure your vehicles arrive properly or perhaps you're delivering some heavy equipment or a food truck that opens on one side and you need to make sure that it arrives going the correct direction and departs going the correct direction as well I've mentioned three dimensions briefly never data sets work the same in 2d or in 3d as long as your elevation is set up and you have your connectivity set up you can model evacuation planning from a building or as I said where to put defibrillators or phones or fire extinguishers or find out how how far the emergency responders can get into your vehicle with their with the hose to deliver water for example another important concept for three-dimensional travel is slope so some vehicles have to slow down going up or down heavily incline roads or can't travel on them at all and you can build this into your network data set so depending on your type of travel and make sure that your vehicles get where they're supposed to go as efficiently as possible and I'll show you a fun little demo fun for me the yoga tinder in pro so we see here we run a party supply store and we're delivering equipment to the Community Development Center across Chinatown here in San Francisco from point one where our store location is to point to where they need some heavy pieces of equipment for an event they're having the next day I've already generated my route and so when I click on the route button I can click on run and generate a quick and easy route from point one to point two we're set up for walking time so this would be if we carried something from one to two it gives us the most efficient least cost walking time to travel from from one stop to the other but we know this is a heavy piece of equipment so we're going to have to take into account the rules of the road and the events that might be going along on the road for example traffic depending on what time of day there might be more heavily traveled areas than than others one-way streets that you see we had went against some one-way streets here which wouldn't matter when we're walking but if we switch to drive in will matter restricted turns there's some illegal turns that you can't make that we want to make sure our vehicles obey turn delays where we know we've modeled this intersection because it's where we leave from usually so then we know this is a terrible place to make a left-hand turn so we've added a 25 second delay to make sure we only take that turn if we need to and a height restriction there's a low bridge over here that's 12 foot 6 inches so if we're driving our big 13 foot truck we want to make sure we don't take that bridge and I've already set up a travel mode that includes all of those different settings and so I can quickly switch to that travel mode click run again and a new route will be generated zoom out to it that obeys the rules of the road that we put in place you can see it avoids this slow left-hand turn obeys all the one-way restrictions doesn't make any any illegal turns avoids the low hanging bridge and makes it to our Community Development Center on time so all of that was what's built into the network data set and we're able to handle it and manage it but there might be some construction happening along the roads luckily our route doesn't take this in this area where travel is slowed down but they hit a water main and it flooded this gigantic section of San Francisco that's a huge disaster but we figure it'll be cleaned up by the next day and they still need their equipment for their event the next next day so let's load these in as barriers so that we can handle how it'll affect our travel if I go back to my route layer there's a button right here for loading barriers I'm gonna start by loading our polygon barriers which will be the flood that you see so switch here to the flood and check out my barrier type we just set as a restriction because I can't travel I can't drive through that area at all I click run and it will load that flood polygon into our analysis now as a barrier let's do the same thing with the construction line and import it as a line barrier so there's the construction and this barrier type is not a restriction it's a scaled cost because it's just gonna slow travel down and I believe we've set it to be two or three times slower within the data a click run and it will load the construction site in as a barrier as well and now that this has been loaded into our analysis if I click run the analysis is handled zoom out to the bookmark here and you can see we've avoided this flood zone and avoided this construction as much as possible because of how slow travel would be along it and obeyed all of these rules of the road still that can be quite complicated and that's it so it's just to give you a little taste of what you can build into your network data set and how drastically it can affect your routes and your network data set matters for your needs to make sure that you have the what you need to take into account to address your clients or your type of travel ok and let's let's finish up with some support and resources and a couple questions that I might head off at the pass including that of high density routing we could ask this all the time does never count let's do our crowding is another term for this this could be meter reading we have to visit every single house in a in a 10 block area for example or snowplow routing there's another example where garbage pickup is another example and Network Analyst doesn't support this out of the box there's specialized types of solvers that will avoid backtracking so snowplow routing is a good example the shortest amount of travel might not necessarily be the best one for a snow plow because you actually don't want to right back across where you already plowed you want to plow newer areas so so it doesn't do that out of the box but there are ways to configure network analysts to do these kind of problems and give you a good approximation if we're the only software you have that can do it so come up and talk to us afterwards and we can help you with that alternate shortest paths this is called the K alternate path problem I believe and the idea here you might know from your own navigation devices where you say I want a route from Redlands to LAX give me three choices with the network analyst you get one choice we'll give you the least cost routing on your travel mode so there's ways to configure it to generate multiple choices but out of the box we're not you can't choose give me one two three or four possible routes and transit schedules is the other one so Network Analyst doesn't out-of-the-box work with bus times so you arrive at a stop get on a bus or wait for 10 minutes for the bus to arrive get on the bus take the bus lines exit and walk it's not supported by the solvers as is but we have custom evaluators they're called that can do this kind of work and we're very interested in if if this is one of your use cases please come up and tell me about it and so we can try to address this better in the future so these are links if you can get ahold of these slides but this stuff is really easy to Google too if you're new to network analyst do the tutorial please there's a tutorial for arcmap and one for pro and one for each of those tools you saw an RTI they're quick and they're easy and it'll give you a really good basis of understanding before you try to address what your exact workflow is there's a lot of documentation as with most of the software and there's a discussion forum on Geo net for network analysts and there you will get help from the network analyst community as well as members of our team that answer questions on there if you're going to create network datasets Google creating Network datasets and there's videos from previous users conferences on how to do that and that's that's a great place to get started if you're building a network data set and there's also time for a couple more sessions during the day I see later today there is creating custom navigation Maps if you're using the navigator app and I'm one of the two presenters for automating workflows where you can take your network analysts work and bundle it into model tools and script tools so that so that you can do your work with just the click of a button rather than one click of a button rather than working away through the inner user interface so now's your chance to go and show off at work you're going to use the ESRI product that you're most comfortable in or that your clients use because they all support network analysts of some kind and go innovate and use these tools and your skills to do something great with transportation take your work and make it stand out or help your co-workers do their job better you will save your organization and you'll be able to make your customers happier which is which is our goals so with that I will we'll take questions now and thank you very much for coming out and I hope the rest of you you see is really good thank you oh and fill out that survey we do take all of this into account we want to hear your feedback did we address your needs what can we do better next year so I really appreciate it does anybody have any questions that's the group yes ma'am hmm so the question is do the service area polygons take into account topology so elevation profiles you're asking or multiple service areas overlapping okay so with the service area so the question is then how do you take into account multiple overlapping service areas between all your facilities for the service area solver you can switch over max in the output geometry section there in the in the middle for your polygons there's there's quite a few different polygon types and it can be a little complicated how you set them up because the service areas can be complicated themselves but you can do some basic types which include overlapping that's if you know these facilities are separate then they'll just generate a polygon for all of them what's the second dissolve that is where they merge together for example if you just want you have ten facilities and you want to know everything that's covered by all ten it'll just give you one big polygon that's all dissolved together or split and that's where you want to know where they butt up against each other and split is used for territory generation for example like you want to set up separate areas that people are going to work in and so they're not gonna overlap and they're not gonna merge together it's just where they hit is where you're done and it can work that way thank you very much yes sir yeah [Music] so the question is if you don't build your own network data set and go to this little credit slide I get this right if you don't build your own network data set are you charged for doing for using our network data sets so if you don't build your network data set you can either purchase one and then you're not charged any credits for for doing analysis cuz as long as you have your own network data set even bought on disk then it's just your network analyst license you're using if you're using the routing services against ArcGIS online then you are charged for thank you then you are charged for each type of analysis in this way and so yeah and that's it so routes are pretty cheap and then it varies depending on the other types of analysis you do but it would be a per analysis basis so yeah depending on me so the credit usage is tricky with artists on line you can click show credits and get a good estimate of how it is but it's good to have these numbers in mind because you can accidentally use a lot of credits like service areas are point five per service area that means is per break so if you had 400 facilities and you make 20 per facility then that's 4,000 that's 8,000 and so that's 4,000 credits you burn in one analysis so depending on the type of analysis you do you want to be careful based on how we charge for these analyses what type of work you do and you can ask us to I can give you a card too and once you know the type of analysis you want to do send it on to us and I can tell you the best way to optimize your credit usage thank you yes sir yes so the question is will show credits tell you how many credits it's going to to cost before you do the analysis that's the case in RTS online there's a show credits button at the bottom and sometimes it's a high estimate too because if you don't in that case I was generating four routes but if it only needed three then it would only charge me three even though show credit said four so we try to give you the maximum amount that analysis could cost but for if you're working in pro or matt arcmap there isn't a show credits button so yes yes so if your analysis layer has been set up to point at the arcgis online routing services it will use credits and there isn't a show credits button we want to add one but it's not there yet there any further questions it's right now the service the question is if so for Network analyst if you're using it on desktop machines then there's licenses that are assigned to each of them but if you were to set up a server machine with your own routing services do you need licenses for everybody that uses the routing services is that correct my understanding is no once you've so the server machine would need the network analyst license but everybody that references the server is just making a rest request and it's just or a soap or whatever type of request it makes and it'll just return the results and they can do whatever they want so that's a way that we recommend that people do this kind of work set up your own routing services and then you can share it to whomever close so the question was how far along are we in incorporating GTFS and transit into the the tools online into the online tools it might be a little bit distant there's there's a link on that we don't do transit schedule things so we can we can help you set up a network data set to include transit schedules and it's not perfect transit solving like the arc routing it's a special kind of solver you want to limit the number of exchanges you do between buses for example and you might want to limit the walking time before getting on the buses and not just minimize the whole overall route so there's some special things that have to happen for a real perfect transit solver but we do have some custom evaluators that can take into account these bus schedules or or whatever sort of transit schedules you have and can give some really good approximations and if you bring up your business card afterwards I can I can put you in touch with my co-worker Melinda meringue who is passionate about transit and networking and she can she can help you work through this do we need a developer we need an algorithms developer too before we can get these other solvers in we're looking thank you any further questions that's it thank you very much
Info
Channel: Esri Events
Views: 27,759
Rating: 4.9187818 out of 5
Keywords: Esri, ArcGIS, GIS, Esri Events, Performing Analysis, ArcGIS Network Analyst, transportation related problems, model road networks, site selection analysis, ArcGIS Pro, ArcGIS Online, analytic capabilities, Patrick Stevens, Max Zeng, Esri UC, Esri UC 2017, Esri UC Tech Sessions, Esri UC 2017 Tech Sessions
Id: agS1Fzq04l4
Channel Id: undefined
Length: 77min 49sec (4669 seconds)
Published: Fri Aug 25 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.