This is built on top of #136, so shares commits with it. For a clear view of changes, merge #136 first.
In addition to switching to obs_meta for OBS_GetCategory, this has the pleasant side effect of actual support for OBS_GetCategory with a polygon instead of a point. Previously it returned a value, but an arbitrary one -- now it returns the predominant category in the provided polygon.
Resolves #135
This is built on top of #136, so shares commits with it. For a clear view of changes, merge #136 first.
In addition to switching to
obs_meta
forOBS_GetCategory
, this has the pleasant side effect of actual support forOBS_GetCategory
with a polygon instead of a point. Previously it returned a value, but an arbitrary one -- now it returns the predominant category in the provided polygon.