concept subset in category postgis

appears as: subset, subsets, subset
PostGIS in Action, Third Edition

This is an excerpt from Manning's book PostGIS in Action, Third Edition.

In the first example, you transform the data from National Atlas projection to WGS 84 Lon/Lat ❶. In the second example, you keep the data in the original PostGIS SRID (National Atlas projection), but only output a subset of the data using a -where switch ❷. In the third example, you export two tables ❸. ogr2ogr creates a set of four files (.tab, .map, .dat, .id) for each table. It also creates a containing folder called tab_files. If the containing folder already exists, you must include the -dsco overwrite=YES switch, or ogr2ogr will balk.

PostGIS 3.0 includes five statistics functions: ST_Histogram, ST_Count, ST_ValueCount, ST_SummaryStats, and ST_Quantile. All these functions return record sets. In addition there are several statistical aggregate functions ST_CountAgg, ST_SummaryStatsAgg They can return statistics on a subset of the data or return exact or approximate stats for one or more bands in a whole raster table.