<div>I have a PostGIS dataset with just over 2 million rows. Each row has a PostGIS geometry point value and several attributes.</div><div><br></div><div>I'd like to do some analysis on certain subsets of the data, but I can't figure this out. All I can find is how to import the data anew from Postgres, after I've used Postgres to filter or query the data.</div>

<div><br></div><div>Is there a way of querying data once you have it in GRASS GIS? Alternately, is it possible to leave the attribute data back in Postgres, and then do queries or filters based on this data?</div><div><br>

</div><div>For example, suppose that my 2+ million rows had a boolean column <b>X</b>. How would I run GRASS analysis on the entire dataset, then immediately do the same analysis on only the data where this column is set to <b>false</b>?</div>

<div><br></div><div>Aren</div>