Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add snapping endpoint #1524

Merged
merged 18 commits into from
Oct 6, 2023
Merged

Commits on Oct 6, 2023

  1. feat: add snapping endpoint

    This commit adds a new service and endpoints that returns given
    locations snapped to the nearest edge in the graph.
    Sascha Fendrich authored and TheGreatRefrigerator committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    5ca2c56 View commit details
    Browse the repository at this point in the history
  2. docs: add changelog entry for snapping service

    Sascha Fendrich authored and TheGreatRefrigerator committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    577ad23 View commit details
    Browse the repository at this point in the history
  3. refactor: extract EngineInfo class to common

    EngineInfo was a subclass of:
    - IsochronesResponseInfo
    - MatrixResponseInfo
    - RouteResponseInfo
    
    It is now a common class for all responses
    TheGreatRefrigerator committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    3589e46 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    57dd325 View commit details
    Browse the repository at this point in the history
  5. feat: extend JsonSnappingResponse with metadata object

    as in our other services, the snapping endpoint is now also returning
    the metadata object containing info about the service and request made.
    
    - add SnappingResponseInfo class
    - extend SnappingAPI class with endpointsProperties and systemMessageProperties
      needed for generic response metadata
    TheGreatRefrigerator committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    bedffee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d5a5d45 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8252cd5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d77eac9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e6a6a6c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2958559 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9b96e4e View commit details
    Browse the repository at this point in the history
  12. test(snapping): Add parametrized exception test

    Co-authored-by: Jochen Haeussler <jochen.haeussler@heigit.org>
    2 people authored and TheGreatRefrigerator committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    5d3bf40 View commit details
    Browse the repository at this point in the history
  13. test(snapping): refactor basicTest to testSnappingSuccess

    - use argument stream for parametrization
    - add multiple test cases
    MichaelsJP authored and TheGreatRefrigerator committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    cbf7f5e View commit details
    Browse the repository at this point in the history
  14. test(snapping): add endpoint and profile conditionally

    - add more tests with missing endpoint/profile
    jhaeu authored and TheGreatRefrigerator committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    7c24f36 View commit details
    Browse the repository at this point in the history
  15. feat(snapping): add GeoJSON endpoint

    - add schema classes for GeoJSON response
    - add endpoint to SnappingAPI
    - add GeoJSON to APIEnums
    TheGreatRefrigerator committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    965f931 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4280e4d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cf3b6b0 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    efb7f76 View commit details
    Browse the repository at this point in the history