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

1 messages · Page 1 of 1 (latest)

viscid nebula
#

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...

candid zealot
#

Make a kml path so that you can watch all of them in google earth

shrewd copper
#

interesting project.
I was finding something like this. I was gonna learn redis stack. can you give any idea of in use case i can use concept?

viscid nebula
#

@shrewd copper @candid zealot Can you also give a star to repo if you don't mind?

#

@shrewd copper Firstly , what do you want to do ?

shrewd copper
#

Well first let me tell me about my background. I have 4 months of experience as backend engineer. Now currently experimenting with different things.

#

My tech lead told me to explore redis. I explored . But it was little bit theoretical. So I am looking for some way to implement for practice purpose

#

Some time ago somebody told me on reddit
Make things and break things. Now I am trying to this kind of stuff