Hello,

I'm not sure your query can give you the expected results. To count points from 
a within polys of b you should try something like
Select b.gid, count(*) from a, b
Where st_within(a.the_geom, b.the_geom)
Group by b.gid

Hugues

Ps: Nico i'm home :)

Raffaele Morelli <[email protected]> a écrit :

_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

Reply via email to