POST
|
I want to create a turn feature class with turn penalties and turn restrictions. I created a Feature Class with the geometries and all necessary colums. I assumed, that the Edge1FCID (and Edge2FCID...) refers to the SourceID of the corresponding Feature Class which can be queried by d = arcpy.Describe("VDRM_ND") for es in d.EdgeSources: ... print es.sourceid, es.name Links 1 EdgeFeature VDRM_ND_Junctions 3 SystemJunction But using this Value 1 for the Edge1FCID and Edge2FCID results in an error when building the network. So i created a new test-Turn Feature Class (with the CreateTurnFeatureClass or manually in ArcCatalog), then start editing and added manually an arbitraty turn by drawing a line in that test turn feature class. Here i found, that in the attribute table of that turn feature class the Values for Edge1FCID and Edge2FCID took the value 870. Why 870??? Then i calculated in my 'normal' turn feature class Edge1FCID = 870 and Edge2FCID = 870 and tried to build the network dataset again. With the value 870 everything worked fine. So - is there any other way to determine the Edge1FCID , which can be queried using arcpy? Thanks in advance for any help, Max
... View more
06-12-2011
06:24 AM
|
0
|
1
|
353
|
POST
|
There seems to be a bug (or maybe a undefined feature???) in Network Analyst for ArcGIS 10 (Windows 7 on a 64-bit machine): I want to define One-Way-Streets by setting the the To-From-Direction to "restricted", if the "oneway" field == -1 and "traversable" if "oneway" == 0. The From-To-Direction i want to set constantly to "Traversable" for all links. When defining the network like this (see first screenshot in the attached file), the "oneway" field is ignored, so all links in the network are "traversable" in both directions. If i define One-Way-Streets by setting the the From-To-Direction with Fields -> oneway and the To-From-Direction to Constant -> Traversable, then it works fine. However the oneway street are then opened in the wrong direction ("along" is restricted and "against" traversable). So my workaround now is to change the direction of all links and then use the second option, but thats not really satisfying solution. So i guess that the parameter for the "To-From-Direction" is in some cases overridden by a constant defined for the "From-To-Direction". Could you please fix that bug, if its not feature, which then should be documented? Best regared Max Bohnet
... View more
12-15-2010
12:15 PM
|
0
|
3
|
1599
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|