@@ -91,7 +91,8 @@ AERODROME_STATUS AIRCRAFT_ACCESS_IND AIRPORT_NAME
9191```
9292
9393# ## CLI
94- Commands available via the bcdata command line interface are documented with the `-- help ` option:
94+
95+ Commands available via the bcdata command line interface are documented with the -- help option
9596
9697```
9798
@@ -104,7 +105,7 @@ Options:
104105 -- help Show this message and exit .
105106
106107Commands:
107- bc2pg Download a DataBC WFS layer to postgres
108+ bc2pg Load a DataBC WFS layer to a postgres db
108109 cat Write DataBC features to stdout as GeoJSON feature objects.
109110 dem Dump BC DEM to TIFF
110111 dump Write DataBC features to stdout as GeoJSON feature collection.
@@ -119,7 +120,7 @@ $ bcdata bc2pg --help
119120
120121Usage: bcdata bc2pg [OPTIONS ] DATASET
121122
122- Download a DataBC WFS layer to postgres
123+ Load a DataBC WFS layer to a postgres db
123124
124125 $ bcdata bc2pg whse_imagery_and_base_maps.gsr_airports_svw
125126
@@ -158,16 +159,18 @@ Usage: bcdata cat [OPTIONS] DATASET
158159
159160Options:
160161 -- query TEXT A valid CQL or ECQL query
162+ - c, -- count INTEGER Number of features to request and dump
161163 -- bounds TEXT Bounds: " left bottom right top" or " [left,
162164 bottom, right, top]" . Coordinates are BC
163165 Albers (default) or -- bounds_crs
166+ -- bounds- crs, -- bounds_crs TEXT
167+ CRS of provided bounds
164168 -- indent INTEGER Indentation level for JSON output
165169 -- compact / -- not - compact Use compact separators (' ,' , ' :' ).
166170 -- dst- crs, -- dst_crs TEXT Destination CRS
167171 - s, -- sortby TEXT Name of sort field
168- -- bounds- crs, -- bounds_crs TEXT
169- CRS of provided bounds
170172 - l, -- lowercase Write column/ properties names as lowercase
173+ - m, -- promote- to- multi Promote features to multipart
171174 - v, -- verbose Increase verbosity.
172175 - q, -- quiet Decrease verbosity.
173176 -- help Show this message and exit .
@@ -187,9 +190,8 @@ Options:
187190 -- bounds TEXT Bounds: " left bottom right top" or " [left,
188191 bottom, right, top]" . Coordinates are BC
189192 Albers (default) or -- bounds_crs [required]
190- -- dst- crs, -- dst_crs TEXT Destination CRS
191- -- bounds- crs, -- bounds_crs TEXT
192- CRS of provided bounds
193+ -- dst- crs TEXT CRS of output file
194+ -- bounds- crs TEXT CRS of provided bounds
193195 - r, -- resolution INTEGER
194196 - a, -- align Align provided bounds to provincial standard
195197 - i, -- interpolation [nearest| bilinear| bicubic]
@@ -211,20 +213,20 @@ Usage: bcdata dump [OPTIONS] DATASET
211213 $ bcdata dump bc- airports -- query " AIRPORT_NAME='Victoria Harbour (Shoal Point) Heliport'"
212214 $ bcdata dump bc- airports -- bounds xmin ymin xmax ymax
213215
214- It can also be combined to read bounds of a feature dataset using Fiona:
216+ It can also be combined to read bounds of a feature dataset using Fiona:
215217 $ bcdata dump bc- airports -- bounds $ (fio info aoi.shp -- bounds)
216218
217219Options:
218220 -- query TEXT A valid CQL or ECQL query
219- - o, -- out_file TEXT Output file
220221 - c, -- count INTEGER Number of features to request and dump
221222 -- bounds TEXT Bounds: " left bottom right top" or " [left,
222223 bottom, right, top]" . Coordinates are BC
223224 Albers (default) or -- bounds_crs
224225 -- bounds- crs, -- bounds_crs TEXT
225226 CRS of provided bounds
226- - nc , -- no - clean Do not do any data standardization
227+ - s , -- sortby TEXT Name of sort field
227228 - l, -- lowercase Write column/ properties names as lowercase
229+ - m, -- promote- to- multi Promote features to multipart
228230 - v, -- verbose Increase verbosity.
229231 - q, -- quiet Decrease verbosity.
230232 -- help Show this message and exit .
@@ -261,6 +263,7 @@ Usage: bcdata list [OPTIONS]
261263 List DataBC layers available via WFS
262264
263265Options:
266+ - r, -- refresh Refresh the cached list
264267 -- help Show this message and exit .
265268```
266269
0 commit comments