CartoDB / observatory-extension

BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

Fix hardcoded getcategory geom #137

Closed talos closed 8 years ago

talos commented 8 years ago

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

talos commented 8 years ago

@ohasselblad CR plz

talos commented 8 years ago

closing this because GH won't update it.