Looking for the same thing, but in Python? Look no further: https://github.com/scubbx/convert-bev-address-data-python
Austrian Bundesamt für Eich- und Vermessungswesen (BEV) has made the Austrian Address Register freely available:
However, the main file (ADRESSE.csv
) contains three coordinate systems (EPSG:31254 (Austria GK West), EPSG:31255 (Austria GK Central), EPSG:31256 (Austria GK East)) and is too big to be converted to a shapefile directly.
This tool (Windows only) strips all attributes and creates a CSV with EPSG:31287 (MGI / Austria Lambert) coordinates.
Binaries: https://github.com/BergWerkGIS/convert-bev-address-data/releases
If there's an error message like
could not initialize EPSG:31287
No such file or directory
set the environment variable PROJ_LIB
before calling convert-bev-address-data.exe
to the full directory path where the file espg
is located:
SET PROJ_LIB=C:\FULL\PATH\TO\EPSG\FILE\DIRECTORY
convert-bev-address-data -i <PATH-TO-BEV-DATA-DIRECTORY> [-o] [-e] [-d]
options:
-i, --input=VALUE diretory containing extracted CSVs
-o, --output=VALUE output file, optional (default: out.csv)
-e, --epsg=VALUE target epsg code, optional (default: 31287)
-d, --decimals=VALUE decimal places, optional (default: 6)
depending on the chosen output crs it makes
sense to limit the number of decimal places.
e.g. 6 decimal places don't make sense for crs
with [m] units.
But it makes sense to have 6 decimal places with
EPSG:4326.
-u, --usage show this message and exit
Visual Studio 2015 is needed to compile the source