Description:
CLI tool for dump WFS data to PostGIS table
Usage:
wfsdump <wfs> <wfsLayer> [options]
Arguments:
<wfs> WFS service
<wfsLayer> WFS layer
Options:
--connection <connection> Connection string [default:
Host=localhost;Username=postgres;Password=postgres;Database=postgres]
--output <output> output table [default: public.wfs_dump]
--columns <columns> output columns geometry,attributes (csv) [default: geom,attributes]
--jobs <jobs> Number of parallel jobs [default: 2]
--bbox <bbox> bbox (xmin ymin xmax ymax - EPSG:4326 - space separated) [default: -179 -85 179 85]
--z <z> Tile Z [default: 14]
--version Show version information
-?, -h, --help Show help and usage information
Create output table sample:
CREATE TABLE public.wfs_dump (
geom GEOMETRY,
attributes jsonb
);
./wfsdump https://ahocevar.com/geoserver/wfs ne:ne_10m_admin_0_countries --z 1 --jobs 1
Other WFS services are not tested (yet)
25-03-13: Release 0.2, adding error handling
25-03-12: Initial version 0.1