|
POST
|
The custom evaluator probably needs to be registered on the machine hosting the SDE data. That's my best guess.
... View more
11-23-2015
09:22 AM
|
0
|
0
|
886
|
|
POST
|
Are you a developer interested in public transit analysis? We have some tools for public transit analysis in ArcGIS, and we've recently made them available on GitHub. Feel free to play with them and contribute! Esri/public-transit-tools · GitHub
... View more
11-03-2015
01:22 PM
|
0
|
0
|
2289
|
|
POST
|
You do not need to tag me in these posts. I receive automatic e-mail notification of all Network Analyst-related questions anyway.
... View more
10-26-2015
08:22 AM
|
0
|
1
|
2139
|
|
POST
|
Hello, Jan. Google Translate didn't do a great job, so I don't completely understand your question. However, it looks like maybe you need to switch the travel direction setting from Facility to Incident to Incident to Facility. Just a guess. If the only thing you care about is distance, you should not need any restrictions or barriers or anything else. You just need an accurate distance-based cost attribute. Additionally, your network dataset needs to be well connected (a frequent problem). Some resources: Network Analyst tutorials: About the ArcGIS Network Analyst extension tutorial—Help | ArcGIS for Desktop Understanding Connectivity: Understanding connectivity—Help | ArcGIS for Desktop
... View more
10-26-2015
08:21 AM
|
1
|
0
|
2139
|
|
POST
|
Sadly, no, we don't have an Esri product that does this. We might have a partner company that provides such a solution. I suppose it depends on what your goal is. Are you just trying to calculate this for yourself or some analysis project, or are you trying to build an app using Esri technology?
... View more
10-21-2015
10:41 AM
|
0
|
0
|
1500
|
|
POST
|
Hi Chris. Unfortunately, the Network Analyst Route solver simply isn't designed to solve this problem. The Route solver uses algorithms that are meant to optimize travel through the network: to find the fastest or shortest route from one place to another. Finding the best "scenic route" for running or cycling is a very different problem, and NA Route isn't really the right tool for that job.
... View more
10-21-2015
08:34 AM
|
1
|
2
|
1500
|
|
POST
|
This sounds suspiciously like a bug. The best thing for you to do would be to contact Esri Support. They can either help you with the issue or diagnose the bug and send it off to the right team for fixing.
... View more
10-19-2015
08:59 AM
|
1
|
1
|
2382
|
|
POST
|
Hello, Annie. Sorry to answer you in English, but I don't speak French. Google Translate worked well enough for me to understand your question, so hopefully it will work well enough for you to understand my answer. I am familiar with the problem you describe: the GTFS stops snap to a side street, so when you use the Network Analyst Route solver, the bus detours into side streets and makes u-turns. I have struggled with this problem in a tool I have created that is meant to generate a GTFS shapes.txt file by estimating the routes traveled by using the Route solver. It sounds like a very similar application to what you are trying to do. Unfortunately, I have not found a good way to solve this problem. The GTFS data contains only the latitude and longitude of the stops and does not contain any information indicating which street the stop should snap to or which street the buses use. You might be able to extract this information from the stop_name field in stops.txt if the stop names are consistent and are identical to the names used in the street features of your network dataset. You could then use a search query when you run the Add Locations tool, to match each stop with the correct street. However, I think it will be difficult to do this accurately because the stop names and the street names probably are not identical or consistent. Does your GTFS data already have a shapes.txt file? If so, you can use that to create a feature class in the map which might be a closer estimate than creating routes between the stops. You can use this tool to add shapes.txt to the map. Good luck!
... View more
10-14-2015
09:59 AM
|
2
|
0
|
1424
|
|
POST
|
Hello, Tas. I don't think that Hierarchy is really the right tool for the job you are trying to do. Hierarchy is meant to help very quickly solve long-distance routes on large networks, routes that would take a really long time to solve with an exact solution. The hope is that the route computed using Hierarchy is the same or very similar to the exact route computed with Hierarchy turned off, just much faster to compute. Thus, it is not surprising that you got the same solution when you toggled your Hierarchy value. Hierarchy is meant to decrease computation time, not to control which roads get used in your analysis. I think you might get closer to what you want by using restriction attributes based on road class (street, off-road cycle paths, and on-road cycle paths). You can create "soft restrictions" that have a value of "Preferred -[high/medium/low]" which serves to make the route prefer to use those road segments over others. So you could construct your restriction attribute so that off-street cycle paths are preferred a lot, and on-street cycle paths are preferred a little less (or whatever you think is appropriate) and regular streets are just normal. Solve the analysis with the restriction turned off for a normal analysis and then turned on to mimic people's preferred behavior. Here is some information about Restriction attributes: Understanding network attributes—Help | ArcGIS for Desktop Finally, instead of computing the route and then intersecting it with the underlying street features (which may be imperfect in the results returned), instead, use the Copy Traversed Source Features tool (Copy Traversed Source Features—ArcGIS Pro | ArcGIS for Desktop ). This returns a feature class of the network edges that were used in the solved route, which is exactly what you're looking for.
... View more
10-09-2015
09:13 AM
|
1
|
2
|
1739
|
|
POST
|
Okay, your field is called "Oneway", but what is the network's oneway restriction attribute called?
... View more
09-30-2015
10:41 AM
|
0
|
0
|
2267
|
|
POST
|
Hmmm... Does your network have a Oneway attribute, and what is it called? Is it called "Oneway", or does it have some other name?
... View more
09-30-2015
09:56 AM
|
0
|
2
|
2267
|
|
POST
|
It looks like the direction of digitization for that street has changed, but that does not mean that your Oneway attribute is now incorrect. The DissolveNetwork tool knows how to handle Oneway attributes and should update the feature's fields correctly even if it flips the direction of digitization. You can use the Network Identify tool (on the Network Analyst toolbar) to click on that street and get some information about your Oneway attribute to confirm that it is still one way in the correct direction after Dissolve.
... View more
09-30-2015
09:34 AM
|
0
|
4
|
2267
|
|
POST
|
Happy to try to help. I've never used the MakeQueryLayer tool before, so everything I said was just a guess. If that doesn't work for you, you're best bet is to contact Support and to get one of them working on it. I think I've about reached the limit of what I can advise on GeoNet.
... View more
09-24-2015
11:19 AM
|
2
|
0
|
1311
|
|
POST
|
This might still be a syntax problem. Technically, an arcpy geoprocessing tool call produces a "Result object". Sometimes you can pass that result object in as input for another tool, and the other tool is able to figure out what to do with it. However, a more correct thing to do would be to retrieve the tool's actual output and pass that output as input to another tool. Your code: inDestinationName = prov inSQLQueryProv = "Select * from PCPToRecipRatio.dbo." + prov print inSQLQueryProv inDestinationFeatures = arcpy.MakeQueryLayer_management(inDestinationProvidersFilePath,prov,inSQLQueryProv,"UniqueRecordID","POINT") arcpy.na.AddLocations(outNALayer,destinationsLayerName,inDestinationFeatures,"Name UniqueRecordID #", searchTolerance,"UniqueRecordID","Streets_Updated_LenMin SHAPE;Streets_Updated_LenMin_ND_ND_Junctions NONE","MATCH_TO_CLOSEST","CLEAR","NO_SNAP","#","INCLUDE") Suggestion: inDestinationFeatures = arcpy.MakeQueryLayer_management(blahblahblah).getOutput(0) Other suggestion: Instead of using the output layer object from MakeQueryLayer, try just passing the layer's string name. This also tends to work. arcpy.na.AddLocations(outNALayer,destinationsLayerName,prov,...)
... View more
09-24-2015
11:04 AM
|
0
|
2
|
1311
|
|
POST
|
Not sure what tool/syntax you're using for your layer query. Can you post another python code snippet?
... View more
09-24-2015
10:10 AM
|
0
|
4
|
1311
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 04-21-2026 08:39 AM | |
| 1 | 04-15-2026 02:24 PM | |
| 1 | 02-03-2026 11:41 AM | |
| 1 | 03-16-2026 08:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|