postgres_add_areas_from_coordinates

Loads WFS areas into Postgres and joins all the names and codes to a dummy table by using lat lon or X,Y.

Use ENV for ogr2ogr if using this in a virtual env:
export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH
Example command line:
postgres_add_areas_from_coordinates config.ini dev

usage: postgres_add_areas_from_coordinates [-h]
                                           full_config_path db_config_name

Positional Arguments

full_config_path
 write the full config.ini path including the name. For example authentication/config.ini
db_config_name dev or docker

functions

datapunt_processing.transform.geospatial.postgres_add_areas_from_coordinates.executeScriptsFromFile(pg_str, filename)

WIP does not work yet