[postgis-users] Dot Density idea
strk
strk at keybit.net
Fri May 27 10:55:04 PDT 2011
On Fri, May 27, 2011 at 10:53:58AM -0600, John Abraham wrote:
> create or replace view dot_cnt as
> select the_geom, polygon_id, (quantity_column/1000000)::integer as numpoints from original_data;
>
> select dot_density('dot_cnt',
> 'the_geom',
> 'polygon_id',
> 'numpoints');
>
> alter table dp rename to save_it_for_future_use;
>
> And here are the functions:
It'd be nice if you could make your function accessible on the postgis
wiki, so it's easier to find it.
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the postgis-users
mailing list