feat: implement spatial boundary checks for Bari municipal area in GeoJSON handling
This commit is contained in:
@@ -79,6 +79,10 @@ void sendService(Json::Value body,
|
||||
{
|
||||
status = drogon::k422UnprocessableEntity;
|
||||
}
|
||||
else if (error == "coordinates_outside_allowed_boundary")
|
||||
{
|
||||
status = drogon::k422UnprocessableEntity;
|
||||
}
|
||||
callback(visione::http::json(std::move(body), status));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user