Can I get clazz of a segment in Java? For example,
RoutingResultSegment rrs = graph.lookupSegment(path[j])
How can I get
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
returns a user defined 32 Bit Integer which contains the configured road type by default. You can override this beavior if needed. In order to save memory it always returns 0. To activate it open the graph with e.g.
Graph graph = new Graph(graphFile, new Log(), Graph.SUPPORT_EDGEFLAGS);