New Feature: Curbside approach

How does this get set in Java?
Currently using

<dependency>
            <groupId>com.graphhopper</groupId>
            <artifactId>graphhopper</artifactId>
            <version>0.7.0</version>
            <type>jar</type>
</dependency>

D0 you have to set within

graphHopper = new GraphHopper().setGraphHopperLocation(RouteToMap.LocationGrapphopperFiles) // "gh-car"
                .setEncodingManager(new EncodingManager("car"))
                .setOSMFile(RouteToMap.LocationRoutingFile)
                .setElevation(true)
                .setElevationProvider(new CGIARProvider().setCacheDir(new File("C:/Users/")))
                .forDesktop();

Are you asking about using the Route Optimization API on graphhopper.com or using the curbside feature when routing with open source GraphHopper?

Within open source routing in personal projects.
Iā€™m not using web based but within my own Java project

For open source usage it was only added in (unreleased) GraphHopper 1.0, so you need to upgrade your dependency. See this Pull Request https://github.com/graphhopper/graphhopper/pull/1697

Powered by Discourse