map-matching | The map matching functionality | Map library

 by   graphhopper Java Version: 0.11.0 License: Apache-2.0

kandi X-RAY | map-matching Summary

kandi X-RAY | map-matching Summary

map-matching is a Java library typically used in Geo, Map applications. map-matching has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has high support. You can download it from GitHub, Maven.

The map matching algorithm mainly follows the approach described in. This algorithm works as follows. For each input GPS position, a number of map matching candidates within a certain radius around the GPS position is computed. The Viterbi algorithm as provided by the hmm-lib is then used to compute the most likely sequence of map matching candidates. Thereby, the distances between GPS positions and map matching candidates as well as the routing distances between consecutive map matching candidates are taken into account. The GraphHopper routing engine is used to find candidates and to compute routing distances. Before GraphHopper 0.8, this faster but more heuristic approach was used.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              map-matching has a highly active ecosystem.
              It has 755 star(s) with 265 fork(s). There are 62 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 23 open issues and 109 have been closed. On average issues are closed in 32 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of map-matching is 0.11.0

            kandi-Quality Quality

              map-matching has 0 bugs and 0 code smells.

            kandi-Security Security

              map-matching has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              map-matching code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              map-matching is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              map-matching releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              map-matching saves you 1503 person hours of effort in developing the same functionality from scratch.
              It has 3351 lines of code, 158 functions and 43 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed map-matching and discovered the below as its top functions. This is intended to give you an instant insight into map-matching implemented functionality, and help decide if they suit your requirements.
            • Performs a GET operation on a geometry
            • Converts the given match result into a tree
            • Main entry point
            • Entry point for the graphHopper
            • Print the message history
            • Run the gpx file
            • Initialize the bootstrap commands
            • Configures the subparser configuration
            • Compares two sequence states
            • Compares two Transition objects
            • Compares two Observation objects
            Get all kandi verified functions for this library.

            map-matching Key Features

            No Key Features are available at this moment for map-matching.

            map-matching Examples and Code Snippets

            No Code Snippets are available at this moment for map-matching.

            Community Discussions

            QUESTION

            How can I start a java application with parameters using a pm2 config file?
            Asked 2020-Dec-04 at 00:15

            I'm trying to start graphhopper using pm2... graphhopper is a java application and the way I initiate it on the terminal is by going to its folder and entering the following command:

            ...

            ANSWER

            Answered 2020-Jul-29 at 01:11

            As stated in the comments, this issue can be solved by creating a bash script and running it with pm2 instead of running directly the java application... The bash script used was the file graphhopper.sh as the following:

            Source https://stackoverflow.com/questions/63122472

            QUESTION

            Mapbox - Get an accurate road route to display on the map
            Asked 2020-Sep-14 at 06:11

            When we use the directions api over long distances we noticed the lines aren't exactly on the roads, like in this image:

            it's from: https://docs.mapbox.com/playground/directions/

            coordinates: -86.945145,40.090054;-88.26635,40.136585

            I didn't find any way to make the directions API return a more precise path but I saw the matching API so I thought I could use the route I got from the directions API and match it to the roads. The problem is when I use it I encounter the error:

            "All coordinates are too far away from each other"

            Even when I try to split the route to pairs of two coordinates it still says that. There's no mention of such a limit in https://docs.mapbox.com/api/navigation/#map-matching. The coordinates above return that error.

            That's the coordinates I got from directions API so I have no choice but to use them but they're incompatible with matching API, so what can I do to get an accurate directions path that sits exactly on the roads?

            I thought about adding midpoints between every pair of coordinates but that won't work in cases where those midpoints would be far off any road.

            ...

            ANSWER

            Answered 2020-Sep-14 at 06:11

            There are two ways to get more precise geometries from the Directions API:

            • geometries: "polyline6" (get geometries with 6 decimal places of precision)
            • overview: "full" (include full geometry in the overview, not just in the route legs)

            I think using those will solve your problem.

            Source https://stackoverflow.com/questions/63873302

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install map-matching

            You can download it from GitHub, Maven.
            You can use map-matching like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the map-matching component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/graphhopper/map-matching.git

          • CLI

            gh repo clone graphhopper/map-matching

          • sshUrl

            git@github.com:graphhopper/map-matching.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link