openego / data_processing

(geo)data processing, database setup, data validation
GNU Affero General Public License v3.0
7 stars 5 forks source link

New osm-tags for the heat, gas and transport sector #366

Open wheitkoetter opened 4 years ago

wheitkoetter commented 4 years ago

New branch created: feature/oedb-style-new-sectors

In this branch new osm tags for the heat, gas and transport sectors were added in the oedb.style file

The osm import was sucessfully tested on a local psql database using the adopted oedb.style file by executing:

osm2pgsql --create --slim --hstore-all --number-processes 2 --cache 400
0 -H $(pwd) -d osm -U oeuser -W -p osm_deu -S oedb.style germany-latest.osm.pbf

The size of the resulting DB is 80 GW.

Theoretically, the size of the DB and the runtime of the osm import could be reduced by using combinations of OSM Tags, for selecting required subsets of OSM Data more precisely. However, it was unclear how to implement combinations of osm tags in the oedb.style file.