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 _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users