Geometries have been imported as:
time ./eco_input.sh > eco_input.log 2>&1
ogr2ogr and shp2pgsql scripts have been tested (eco_input_time.txt
and eco_input_compare.sql
): ogr2ogr import creating less invalid geometries in the output.
Original geometries have been joined to DOPA standardised attributes (meow_atts.csv, ppow_atts.csv, teow_atts.csv; imported in postgres) running meow_geoms.sql
,ppow_geoms.sql
and teow_geoms.sql
scripts.
Flattening sequence has been applied:
SQL script to:
is 01_populate_input_tables.sql
SQL script to aggregate the different sources in the final DOPA ecoregions attributes is aggregations.sql
.