v.in.postgis -d query="SELECT * FROM zones, data WHERE zones.zone_id=data.zone_id AND value > 100" output=zones
v.in.postgis -r -g query="SELECT value, centroid(geocolumn) AS locations FROM zones, data WHERE zones.zone_id=data.zone_id GROUP BY name" geometryfield=locations output=locations
Last changed : 2009/07/02