Where is ProfileConfig?

I read this topic :https://discuss.graphhopper.com/t/how-to-use-graphhopper-routing-requests-with-profile-in-gh-1-0/5565. In this topic, we can new a profile by

new ProfileConfig(“my_foot”).setVehicle(“foot”).setWeighting(“fastest”).

But where is the class ProfileConfig?
I had import these jar, there was no ProfileConfig in these jar. What should I do?

    <dependency>
        <groupId>com.graphhopper</groupId>
        <artifactId>graphhopper-core</artifactId>
        <version>1.0</version>
    </dependency>
    <dependency>
        <groupId>com.graphhopper</groupId>
        <artifactId>graphhopper-reader-osm</artifactId>
        <version>1.0</version>
    </dependency>
    <dependency>
        <groupId>com.graphhopper</groupId>
        <artifactId>graphhopper-api</artifactId>
        <version>1.0</version>
    </dependency>

It got renamed to Profile before the 1.0 release (this is also noted in the comment in the topic you linked to)

1 Like

thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Powered by Discourse