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