[postgis-users] extra function?
Bborie Park
bkpark at ucdavis.edu
Wed Feb 22 10:41:14 PST 2012
Hey Steve,
_st_summarystats is an underlying function that isn't meant for use by
end-users. ST_SummaryStats is what you should be using.
The example query you provided shouldn't have any issues and shouldn't
be creating any of those messages. In your situation, you don't even
need the true::boolean.
-bborie
On 02/22/2012 10:34 AM, Stephen Crawford wrote:
> Should I have both _st_summarystats and st_summarystats in my database?
> I get messages like "function not unique" and "could not choose best
> candidate function" when doing this:
>
> SELECT rid, observation_date, ST_SummaryStats(rast::raster,
> true::boolean) FROM spring_ms WHERE observation_date = '2012-02-20';
>
> I expected to get 187 records (one for each tile).
>
> Thanks,
> Steve
>
--
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark at ucdavis.edu
More information about the postgis-users
mailing list