#Geospatial Location in Spring Boot with Redis GEO — Nearest Vehicles & Distance API

1 messages · Page 1 of 1 (latest)

main vapor
#

What you’ll learn:

  • Store coordinates with Redis GEO: GEOADD + geohash/hash metadata
  • Find nearest vehicles:
      •POST /api/vehicles/nearest/point (search by lon/lat)
      • POST /api/vehicles/nearest/member (search around a center vehicle)
  • Pagination & sorting: CustomPagingRequestCustomPage<T> (distance ASC/DESC)
  • Distance calculation: POST /api/vehicles/distance for km between two vehicles
  • Robust error handling: @RestControllerAdvice + custom exceptions (NOT_FOUND / CONFLICT / INTERNAL_ERROR) + localized validation via Accept-Language (EN/TR)

For more details, check out the #Github link below — this #article covers everything you need to know.

Link : https://github.com/Rapter1990/geospatial-location-with-redis

GitHub

Case Study - Geospatial Location with Redis in Spring Boot (Java 25, Spring Boot, Redis, JUnit, Docker, Kubernetes, Github Action (CI/CD), TestContainer) - GitHub - Rapter1990/geospatial-location...

turbid sinew
#

Hello, @main vapor