|
POST
|
First, are you sure the Streetmap Premium network dataset is set as the active network dataset when you create your new OD Matrix layer? Check the Network Analyst toolbar to see which network is selected. Maybe you inadvertently created the OD layer referencing your tutorial dataset, and then you added a point in some faraway location, which is what caused it to fail to locate. If that isn't the problem, then maybe there was a copy error when you copied the network from the DVDs. The Streetmap Premium data should be ready to go without any further steps. If re-copying doesn't fix the problem, then you should talk to Esri Support (Esri Support Home) because it doesn't sound like the kind of problem that would be easy to diagnose and fix on GeoNet.
... View more
08-26-2016
02:28 PM
|
1
|
1
|
1156
|
|
POST
|
Hello, bap. Add/load locations needs a feature class or layer. It can't ingest the xy coordinates directly from a CSV file. You can turn your CSV into a feature class or layer as follows: 1) In ArcMap, go to File -> Add Data -> Add XY Data 2) Use the Make XY Event Layer tool I didn't quite follow the rest of your question, but if you want a unique route between each pair of points, you can use the RouteName field in the Route's Stops sublayer to define which stops belong to the same route. So, if you have 10 pairs of points, and you want 10 routes, one for each pair, just give each pair a unique RouteName. You can do this automatically using Field Mapping in the Add Locations tool (or Load Locations dialog - it's the same thing) if you have a field in the input data that uniquely identifies each pair of points.
... View more
08-16-2016
11:25 AM
|
0
|
0
|
890
|
|
POST
|
When you add/load your origins and destinations, you can use field mapping to transfer data from your original input points into the Origins and Destinations sublayers of the OD layer. You could transfer your FID values into the Name field, or you could use the Add Field To Analysis Layer tool to add a new field (call it "Orig_FID" or something) and then map your FID into that new field.
... View more
07-31-2016
02:06 PM
|
0
|
0
|
1463
|
|
POST
|
Why won't the method described on the other thread work? Just create multiple points for each park corresponding to each road intersection with the park and use those as the facilities.
... View more
07-20-2016
04:25 PM
|
0
|
0
|
2369
|
|
POST
|
Yes, put the stops and the snapped stops in the same feature class temporarily so you can run Points to Line. Use the unique ID of the stops for the Line Field parameter (like if you have a stop id value or something). This makes it so an individual line will be drawn between the stop's original position and its snapped position.
... View more
07-20-2016
10:02 AM
|
1
|
2
|
2369
|
|
POST
|
Hello, Jennifer. For Problem 2: You should be able to set up the field mapping the way you want if you feed your model a default input feature class. So, go ahead and give it some origins and destinations as input, set up the field mapping the way you want it, but then leave the input origins and destinations as model parameters. This way, you'll still be able to choose a different feature class as input. That said, if the input has a field called Name, it will automatically map to the Name property in the Origins and Destinations anyway, so you don't need to set up anything special. If you're trying to map a different field, then you do need to set up field mapping. I'm not actually not sure if the tool will error out if the input doesn't have the appropriate fields. You might need to use python instead of Model Builder if you want validation that complex. For Problem 3: "Add to Display" only works when you run the model from the Model Builder canvas. It's mostly a debugging tool. If you want your output to be added to the map when you run the model as a tool, right-click the output and make it a parameter, just as you did for input parameters. It becomes a derived output and will be added to the map. I know, it's a little strange.
... View more
07-18-2016
11:15 AM
|
0
|
1
|
1290
|
|
POST
|
That's correct. GetNAClassNames() just returns the string names of the sublayers. In your case, you need the layer object, which is what ListLayers gives you. If you wanted your script to be usable in localized versions of ArcGIS where the layer names might be called something in a different language, then you would want to use GetNAClassNames() to find the sublayer name in that language and pass that value into your code rather than hard-wiring "orders". But if you're the only one running this script, then hard-wiring "orders" should be fine.
... View more
07-15-2016
08:45 AM
|
1
|
0
|
3899
|
|
POST
|
Your network dataset needs some source feature classes. For example, you need a feature class of streets. You need to put that feature class into the feature dataset where you want to create the network. So your first screenshot above is perfect. After you do that, copy your streets feature class into the feature dataset. Then, do what you're doing in your second screenshot.
... View more
07-13-2016
01:18 PM
|
1
|
0
|
1591
|
|
POST
|
Hello, Christopher. I'm not sure how much experience you have in creating network datasets, so please feel free to ask if you need any clarification on any of the following. Multimodal networks tend to be pretty complicated. But before I continue, I'll just mention that there is a set of tools you can download to take care of a lot of this automatically if you have GTFS public transit data: http://www.arcgis.com/home/item.html?id=0fa52a75d9ba4abcad6b88bb6285fae1 To answer your question, if you want the bus stops to be incorporated as part of your network, you need to do a couple of things: 1) You need to make sure the geometries are connected. You can use the Snap geoprocessing tool to snap the transit stops to the street features. But if you need to maintain the transit stops in their original locations (for instance, because they are connecting the transit lines), then it would be best to create a copy of the stops first and snap the copy. You can then use the Points to Line geoprocessing tool to generate a connector line between the original stop location and the new stop location. The Points to Line tool can make use of the stop's ID to generate an individual line between each pair of stops with the same ID (the original and the snapped version). 2) In order for your stops and connector lines to actually be connected in the network dataset, you need to add vertices to the street features at the locations of connection. You can do this automatically by running the Integrate tool with 0 xy tolerance. Make a back-up copy of your data first because Integrate can do some scary and non-reversible things. 3) In addition to the above, you need to include the stops, snapped stops, and connector lines into your network dataset as network data sources. Use a connectivity policy of Override for your snapped stops if you have End Point connectivity for your streets. This ensures that the connector lines connect to the streets at the vertices you created and don't have to snap to end points.
... View more
07-13-2016
01:16 PM
|
1
|
4
|
2369
|
|
POST
|
Hello Jonathan. You need to create the feature dataset inside the file geodatabase (kind of like creating a subfolder inside a folder). Then, move all the feature classes you want to use with your network inside the feature dataset. You should then be able to create your network inside the feature dataset.
... View more
07-13-2016
08:24 AM
|
1
|
2
|
1591
|
|
POST
|
Hello, Carel. I'm not sure if this is exactly what you're asking for, but the Create Network Dataset From Template tool might be what you need: Create Network Dataset From Template—ArcGIS Pro | ArcGIS for Desktop
... View more
07-01-2016
12:36 PM
|
1
|
0
|
1340
|
|
POST
|
You would enter the roads in the input features box. It will create a vertex anywhere that the road features intersect themselves. Make a backup copy of your data first...
... View more
06-21-2016
08:13 AM
|
1
|
0
|
1916
|
|
POST
|
Hello, Robert. First, here is the link to the 10.3 version of the tutorial you were following (it seems like you were using the old 10.0 version): Exercise 1: Creating a network dataset—Help | ArcGIS for Desktop The information is mostly the same, but there are a few changes. Regarding elevation fields, unless your data is already 3D, you probably don't want to use actual Z values for connectivity. Instead, you will use Z-levels to model bridges, overpasses, and tunnels. Please read this doc page to get a better handle on what network connectivity is and how it works: Understanding connectivity—Help | ArcGIS for Desktop Basically, there are a couple of ways to control whether or not network edges actually connect to one another. There is a whole section on that page explaining Z-levels.
... View more
06-20-2016
11:22 AM
|
1
|
0
|
1836
|
|
POST
|
Hello, William. You're on the right track, but your syntax isn't quite right. You need to use listLayers more like this: layer_object.listLayers(polygons_layer_name)[0] Check out the code sample on this page for something closer to what you're trying to do: Make Service Area Analysis Layer—ArcGIS Pro | ArcGIS for Desktop
... View more
06-17-2016
08:35 AM
|
1
|
0
|
1494
|
|
POST
|
Well...your Service Area analysis did a pretty good job of identifying roads that weren't connected. If you're using Any Vertex connectivity, you can automatically add vertices at locations where roads cross using the Integrate tool with 0 XY tolerance. Make a backup copy of your data first... If you're using End Point connectivity, you'll have to split features at intersection points, which can be done. However, if you have fields in your data like address ranges or travel times, keep in mind that these could get messed up if you start splitting features. You'll need to make sure that your geodatabase domains are set up with the appropriate merge/split policies.
... View more
05-16-2016
08:58 AM
|
0
|
0
|
3275
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 06-12-2026 01:53 PM | |
| 1 | 04-21-2026 08:39 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|