feat: implement geometry service with persistence layer and API documentation
All checks were successful
Build and Release / release (push) Successful in 1m33s

This commit is contained in:
2026-05-09 00:43:45 +07:00
parent b2ee16457d
commit 27c78db66d
7 changed files with 32 additions and 4 deletions

View File

@@ -61,6 +61,10 @@ func (s *geometryService) SearchGeometries(ctx context.Context, req *request.Sea
params.TimePoint = pgtype.Int4{Int32: *req.TimePoint, Valid: true}
}
if req.TimeRange != nil {
params.TimeRange = pgtype.Int4{Int32: *req.TimeRange, Valid: true}
}
if req.EntityID != nil {
entityId, err := convert.StringToUUID(*req.EntityID)
if err != nil {